Create Desktop or Taskbar Shortcut to Lock Computer

If CTRL-ALT-DELETE seems like too much of a hassle to lock your Windows Computer, try these options instead:

Use Windows key + L on keyboard to lock your machine.


You can create a shortcut on your desktop or taskbar to lock without using keyboard and just with click of a mouse by following these steps:

  1. Right click an empty spot on the desktop, select New -> Shortcut.
  2. In the Create Shortcut dialog box, type the following in “Type the location of the item” text box:
    • rundll32 user32.dll,LockWorkStation
  3. Click Next and then provide some name for your shortcut, it can be anything like “LockThisNow”.
  4. Hit finish

Now you can drag this new Shortcut anywhere you want even on your task bar for easy access.

Also try this fun Windows commands to create shortcuts for daily tasks –

30 Windows Run commands for frequently used control panels

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top