Lock a computer through an RDP session

Not something I need to do a heck of a lot (in fact, this is probably the first time I’ve needed to in ten years), but good information to have on file for when I need it again:

rundll32 user32.dll,LockWorkStation

Courtesy of:
http://www.bridgetonova.com/2007/10/how-to-lock-computer-in-remote-desktop-connection.html

Leave a Reply

Your email address will not be published. Required fields are marked *