Add “Lock Workstation” Command to the Windows XP Start Menu
To lock a Windows 2000/XP/Vista workstation, most people use the popular WinKey + L keystroke. Whereas some (mouse users) prefer a shortcut which locks the workstation using the "rundll32.exe user32.dll,LockWorkStation" command. Using the registry hack in this article, you can add the Lock Workstation command to the Windows XP Start menu, just below the Run command.
This hack uses the slot which is reserved for PC manufacturers to add their link. Here is the registry location for Start menu OEM Link:
(REF: How To Remove OEM link from the Windows XP Start menu?)
Add "Lock Workstation" to Windows XP Start menu
Download add_lock_startmenu_xp.zip and save to Desktop. Unzip the file and double-click add-lock-startmenu-xp.reg to run it. Logoff and login back to your user account. You should see the Lock Workstation command in the Start menu, which runs the following command when clicked:

Note that Windows Vista includes the Lock button in Start menu by default.

Copyright © 2008 Ramesh Srinivasan. All rights reserved.
RELATED POSTS
- How to Automatically Login to Windows and Then Lock the Workstation
- Add Enhanced Shutdown Button to the Windows XP Start Menu
- Show Internet Explorer 8 Favorites Bar as Cascading Menu to Gain More Screen Space
- Virtual PC 2007 Security Options: Restrictions for Limited Users
- Prevent Internet Explorer Toolbar Layout From Being Reset
- Restore Missing Pin to Start Menu Context Menu Option in Windows XP
- Add Videos Folder to the Windows Vista Start Menu
- Remove Favorite Links Completely From Explorer and Common Dialog in Windows Vista
- Popup Menus Appear on the Wrong Side in Windows Vista - Tablet PC Settings
- Launching Programs as Administrator From the Vista Start Menu



Like this site? Make sure you
December 12th, 2008 at 12:07 pm
Thanks for this lovely info. I managed to add “Hibernate” command to the Windows XP Start Menu using this same logic with some twist.
Thank you.
October 9th, 2008 at 10:00 pm
[...] saw how to add the Lock Workstation command to the Start menu using the OEM link area in the Windows XP Start menu. Here is another [...]