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 data\microsoft\internet explorer\quick launch (e.g., C:\documents and settings\john\application data\microsoft\internet explorer\quick 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