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
Windows Tools/Tips
- When Your PC Slows Down, It Might Be Time for an Update
- Use DirectX Diagnostic Tool (dxdiag) to View System Information
- Enabling the Debug Console for WSL2 (Windows Subsystem for Linux)
- Hot Weather Causes Intel CPU Throttle and NVidia GPU Crashes on Windows 11 (Blue Screen)
- Two Windows Tips: Turn Off Delivery Optimization and Tweak Privacy Settings
- How to Enable the "God Mode" of Control Panel on Windows?
- Boost System Performance By: Switching to Best Performance Power Mode at Power & Battery on Windows OS
- Laptop Battery Power Drained But Failed to Sleep on Microsoft Windows Surface Studio Pro
- How to Fix a Slow/Incorrect Clock on Windows?
- The Ubuntu Sub System (New Bash Shell) in Windows 10
- How to Lock out (WorkStation) on Windows?
- How to Use Windows 10 - Storage Space to Combine Multiple Physical Harddrives?
- From Windows 1.0 to Windows 10
–EOF (The Ultimate Computing & Technology Blog) —
Last Post: Milestone - The 1000 Posts
Next Post: Microsoft Interview Question - Compute the Area of the Triangle