Make your own Windows Lock shortcut

This one’s by request. A commenter who goes by the handle justforfun wants to know is there’s a way to create “a windows lock icon (something that replicates what the ’show desktop’ icon does for win+D, except for win+L.” Yes, indeed. I’ve written about the Lock keyboard shortcut before, but this option is useful if […]

This one’s by request. A commenter who goes by the handle justforfun wants to know is there’s a way to create “a windows lock icon (something that replicates what the ’show desktop’ icon does for win+D, except for win+L.”

Yes, indeed. I’ve written about the Lock keyboard shortcut before, but this option is useful if you’re mouse-centric or if your keyboard doesn’t have a Windows log key.

Create a new shortcut using the following command:

rundll32.exe user32.dll,LockWorkStation

Note that there’s a space after the initial executable and no space after the comma.

Give the shortcut a descriptive name and place it on the desktop or the Start menu. You’re now able to lock your computer with a single click.