how to lock a Windows desktop from VRDP

If you use the VRDP (Remote Desktop or whatever you call it) protocol to access a Windows XP’s Desktop you will notice that you don’t have the “lock screen” function available.

A quick and dirty trick is to create a batch file that run the following command:

rundll32 user32.dll,LockWorkStation
GD Star Rating