You can quickly lock the console without having to use CTRL+ALT+DEL or a screensaver.
To do this, create a shortcut with the following command line:
rundll32.exe user32.dll,LockWorkStation
Then, simply double-click the shortcut to lock the console.
Note: LockWorkStation is case-sensitive.!
Alternatively you can create a shortcut on the Quick Launch bar to quickly execute this
command by performing the following steps:
- Start Windows Explorer.
- Navigate to \%userprofile%\application data\microsoft\internet explorer\quick launch
(e.g., C:\documents and settings\bob\application data\microsoft\internet explorer\quick launch).
- Right-click in the right-hand pane and select New, Shortcut.
- Enter "rundll32.exe user32.dll,LockWorkStation" without the quotes, and click Next.
- Name the shortcut "Lock Workstation" and click Finish.
In order to Suspend the computer in a similar way, create a
shortcut with the following command line:
rundll32.exe PowrProf.dll,SetSuspendState
Works with Windows 2000 and higher.
|