Quickly Lock Your Desktop

Return to Techie Tips Home Page


You can create a shortcut on your taskbar that immediately locks your computer. When you click this shortcut, you achieve the same the result as you would if you were to press CTRL+ALT+DEL, and then click Lock Computer.

To create a shortcut on the taskbar:

1. Right-click the desktop, point to New, and then click Shortcut.
2. Type %windir%\system32\rundll32.exe user32.dll,lockworkstation in the Type the location of the item box, and then click Next.
3. Type lock computer in the Type a name for this shortcut box, and then click Finish.
4. Drag the new shortcut to the Quick Launch bar that is located next to the Start button.
NOTE: If the Quick Launch bar is not displayed, right-click an empty area on the taskbar, point to Toolbars, and then click Quick Launch.
5. If you right-click an empty area on the taskbar and you do not see the Toolbars option, click Lock the Taskbar.