Windows Tips and Tricks

Friday, September 23, 2005

Double click to Lock your Desktop

If it feels a pain to do CTRL+ALT+DEL every time you want to lock your desktop, then you can do the following to avoid using the above mentioned combination.

1. Right click an empty spot on the desktop, point to New and click Shortcut.
2. In the "Create Shortcut" dialog box, type the following into the "Type the location of the item text box": "rundll32 user32.dll,LockWorkStation" (remove quotes while typing).
3. Click Next.
4. In "Type a name for this shortcut", type "Lock the Desktop" and Click Finish.

Now the desktop will lock when you click your new "Lock the Desktop" iconin the desktop.

Note:This is applicable only for Win 2000 and Win XP users.

Another simple way of locking your desktop is to press "Windows + L". Most newer keyboards have the "Windows" button (a button with the Windows logo).

2 Comments:

  • This corrupts the stack due to a calling convention mismatch - you're lucky you don't crash but someday your luck will run out.
    http://blogs.msdn.com/oldnewthing/archive/2004/01/15/58973.aspx

    By Anonymous Anonymous, at 11:49 AM, September 23, 2005  

  • Thanks for your useful blog.
    Just would like to mention that the Win + L thing will work on WinXP only, not Win2000.

    By Anonymous Anonymous, at 5:28 AM, December 01, 2005  

Post a Comment

<< Home