Screen Lock

Hello, i am developing process with mini PC that user can access with remote with VNC apps.
did anyone know how to lock screen mini PC ?

Thank you

@AndhikaDwi -
1 - Create a batch file (.bat) file with commands to execute (rundll32.exe user32.dll,LockWorkStation)
2 - create a start process activity and pass the .bat file path as input

3 Likes

@AndhikaDwi

You can use below component to lock the screen. And also along with this you can Shutdown, Restart, Logoff or Sleep the system.

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.