If you need to be away from your workstation for a while e.g. Lunchtime, meeting etc., you probably will need to lock out your station so that nobody else could touch your work.
Ctrl+All+Del and click Lock
Ctrl+All+Del is almost available from Win95. When you press Ctrl+Alt+Del, it will give you a list of shortcuts, and you can select ‘Lock’ or press L key. This method includes 3 keypresses and 1 mouse click.
Win + L
Win key can be found in the modern keyboard, with Win + L shortcut, you can lock your work station instantly. Two keypresses.
Create a shortcut
If you prefer a shortcut or your keyboard is old enough that doesn’t have the WIN key, you can create a short cut and type in the following command:
rundll32 userdll32.dll, LockWorkStation
And then you can drag it to your taskbar or desktop, this method requires a double/single click depending on your personal perferences settings.
The rundll32 is used to run a function exported (requires a fixed API signature) by a DLL given the following syntax.
rundll32 DLL, Function OptionalArguments
For example, the following gives your a system beep.
rundll32 User32.dll, MessageBeep -1
–EOF (The Ultimate Computing & Technology Blog) —
loading...
Last Post: Milestone - The 1000 Posts
Next Post: Microsoft Interview Question - Get the Area of the Triangle