How to Lock a Remote Desktop

by Daniel Hatter
locked laptop image by CraterValley Photo from <a href=''></a>

To some people, the apparent lack of the computer locking function during Remote Desktop Connection is a major flaw. This would be the case, if it were true. Though the standard "Windows key + L" does not work during a Remote Desktop Connection, you have the ability to save a shortcut to your desktop that will allow you to lock the computer.

Step 1

Right-click on your desktop, select "New," then "Shortcut."

Step 2

Type "rundll32 user32.dll,LockWorkStation" into the "Type the location of the item" text field, then click "Next."

Step 3

Type a name for your shortcut into the "Name" text field (e.g., "Lock Computer") and then click "Finish."

Double-click on your new shortcut to lock your computer. This will work even from a Remote Desktop Connection.


Photo Credits

  • locked laptop image by CraterValley Photo from

About the Author

Daniel Hatter began writing professionally in 2008. His writing focuses on topics in computers, Web design, software development and technology. He earned his Bachelor of Arts in media and game development and information technology at the University of Wisconsin-Whitewater.

More Articles