Friday, January 18, 2008

Quickly lock your XP or Vista computer

It's a good idea to lock your desktop if you're going to be away from the computer for a while and there are others around and you don't want them to use your account. You can do so by pressing the key combo Windows Key + L (with Fast User Switching disabled), but what if you're using a keyboard that doesn't have the Windows key? Then you can create a shortcut to put on your desktop or Quick Launch bar and simply click it to lock the desktop. This works in both XP and Vista:
  1. Right click an empty area of the desktop and select New | Shortcut.
  2. Enter the following location for the shortcut: %windir%\System32\rundll32.exe user32.dll, LockWorkStation
  3. Name the shortcut "Lock" or something similar.
Now when you click the shortcut, the desktop is locked and you must press CTRL+ALT+DEL and enter your username and password to unlock it.

No comments: