Rixort

Lock work station shortcut

Create a shortcut to allow you to quickly lock your Windows 2000 computer, regardless of the security settings in effect. This tip will also lock your workstation in Windows XP Professional and a test at university confirms that it will work regardless of whether the option is enabled or not.

Assumed knowledge

In order to use this tip, I assume that you are familiar with creating shortcuts in Windows 2000/XP. I also assume that you know what 'locking your work station' actually does, and how to undo it.

N.B. On the set ups that I've worked with, it is possible to lock your work station using this shortcut even if your administrator has disabled this feature on the Windows Security screen (you can check this by holding down Ctrl-Alt-Del whilst logged on; if the Lock Computer button is greyed out then it is disabled).

Howto

This tip is extremely easy to implement, just create a shortcut to the following location:

%windir%\System32\rundll32.exe user32.dll,LockWorkStation

Note that the shortcut location must be entered exactly as above; especially the LockWorkStation part, which is case-sensitive. The %windir% part just points to your main Windows directory (usually C:\WINNT), but by using this method the shortcut should work on all configurations.

If this tip doesn't work on your machine, or causes strange side effects, please let me know so that I can alter the instructions accordingly.