How can I add an icon to Windows XP's or Windows 2000's Quick Launch bar to lock my workstation?

John Savill

March 21, 2002

1 Min Read
ITPro Today logo

A. In a previous FAQ, I explained how to lock a computer by typing the following command at a command prompt:

 rundll32.exe user32.dll,LockWorkStation 

You can create a shortcut on the Quick Launch bar to execute this command by performing the following steps:

  1. Start Windows Explorer.

  2. Navigate to %userprofile%application datamicrosoftinternet explorerquick launch (e.g., C:documents and settingsjohnapplication datamicrosoftinternet explorerquick launch).

  3. Right-click in the right-hand pane and select New, Shortcut.

  4. Enter "rundll32.exe user32.dll,LockWorkStation" without the quotes and click Next.

  5. Name the shortcut "Lock Workstation" and click Finish.

Click here to view image

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like