Lock Computer - Create Shortcut

How to Create a "Lock Computer" Shortcut in Windows 7 and Windows 8

   Information
This tutorial will show you how to create a Lock Computer shortcut that can be used where you like in Windows 7 and Windows 8.

   Tip
By default, you can also press the Windows + L keys to lock the computer.





Here's How:

1. Right click anywhere on your desktop, and click/tap on New and Shortcut.

2. Type rundll32.exe user32.dll,LockWorkStation and click/tap on Next.
createshortcut.png
3. Type Lock Computer for the name, and click/tap on Finish.
NOTE: You can name this shortcut what you like though.
lockcomputer.png
4. You are done. Now next time you want to lock your computer, simply click this shortcut. That’s all. Enjoy!

   Tip
This is the icon I'm using right now if you would like to use it for your shortcut too. :)
lock.png


5. In Windows 7, you can now Pin to Taskbar or Pin to Start Menu, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.

6. In Windows 8, you can Pin to Taskbar on desktop, Pin to Start screen, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.










 
Last edited by a moderator:
I've been using Win-L for so long, it's second nature.
 

My Computer

Computer Manufacturer/Model Number
Personal Build
OS
Windows 7
CPU
Intel i7 920
Motherboard
Asus P6T
Memory
12GB Patriot 1333
Graphics Card(s)
Gigabyte GV-N250 1G
Sound Card
Realtek (on-board)
Monitor(s) Displays
2-Acer X193W
Screen Resolution
1680X1050
Hard Drives
Seagate 1TB
PSU
Antec 500W
Case
Raidmax Smilodon
Cooling
stock
Keyboard
Microsoft Natural Multimedia 1.0
Mouse
Logitech M-RM67A
Internet Speed
10Mb/1Mb
Other Info
Network: Belkin N+ Wireless, HTPC (wired), 2-laptops (wireless), i-Phone (wireless), Tivo (wired), Replay (wired-Powerline Adapter)
well after creating the shortcut you could pin it at your taskbar and then delete the shortcut... :)

that way you could lock your computer in one click :)
 

My Computer

OS
Windows 7 Home Premium SP1 64-bit
CPU
Intel™ Core™ i7 920 2.66 ghz
Motherboard
Asus P6T Deluxe V2
Memory
OCZ 6gb (triple 2gb) ddr3-1333 (Gold Edition)
Graphics Card(s)
Nvidia 9800 GT 1GB - x2 SLI
Sound Card
On board
Monitor(s) Displays
19" LCD Wide Screen / Built-in TV Tuner
Screen Resolution
1440x900
Hard Drives
250 GB Maxtor
+
1 TB Seagate
PSU
Corsair GX 800 (800watts)
Case
Thermaltake Level 10 GT
Cooling
Antec Kuhler 920
Mouse
CM Storm Sentinel Advanced
Internet Speed
1MBps
Back
Top