How to lock computer in Remote Desktop Connection?
Oct 26th, 2007 by Jason
I really love the Windows Remote Desktop Connection. No matter what critics are saying, Microsoft usually deliver the best in the software business.
When I remote to the server, sometimes I want to leave for a while and I want that computer to be locked. I’ve tried Windows+L, but it’s not working anymore.
So I googled about it. Now I’ve got the solution. It is quite easy to do that. Simply create shortcut as follow.
- Right click on the Desktop
- Choose New –>> Shortcuts
- And then in the dialog box type the following
rundll32 user32.dll,LockWorkStation
After that give the shortcut whatever name you like. Next time, when you want to lock your computer, simply double click on that shortcut and it’s all set!!!
Reference : mydigitallife.info

Thanks for blogging. It was very helpful.
Thanks for the instructions, worked perfectly.
That was wonderful. It helped me a lot to work on my remote desktops. Thank you for sharing.
Ctrl->Alt->End also works
Try
Ctrl+Alt+End
Thank a lot. You are great for sharing knowledge with people.
Found this whilst searching for something else…
Could always click on Start -> Windows Security, then click on Lock Computer.
That only works in Windows Server version. Thanks for the tip though.
many thanks for the tip…
You can also assign your new shortcut a hotkey, so you can have a quick hotkey to it as well. I gave mine Ctrl+Alt+L.
Seriously cool. Thank you!
thanks for your help…you guys are realy helpful…….
Thanks. Great tip. It was exactly what I was looking for.
very cool man, wicked