Oct 26, 2007
Jason

How to lock computer in Remote Desktop Connection?

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

8 Comments

  • Thanks for blogging. It was very helpful.

  • thank you- very helpful!

  • CTRL+ALT+END works with RDP on WIN 2K3 and 2K8.

    • It worked …………… :) cheers great.
      Thanks u rock .

  • Ok, then how do you unlock it?
    I need to do this because i recently changed a pswd at work and didnt reboot that machine. Now i am home and i cant lock the work machine. ctrl alt delete only works on my home machine.

    • u can unlock by clicking on left top corner of RDP window, then choose send Ctrl + Alt + Del

  • It works, right. Thank you.
    But there is another problem: even you do lock your remote computer, when you complete your session, your remote computer became un-locked (thouth it was locked during session).
    This is true for remote computer under Win XP. Remote computer under Win 7 will stay locked during remote session and will remain locked after it completed.
    Anybody have solution (how to leave remote XP computer locked after completing remote access session)?
    Thanks.

    • u can configure GPO to lock it after idle 1 min

Leave a comment