1. Home
  2. Windows

How To Create A Shortcut To Lock Your Computer In Windows 7/Vista

I have to lock my computer every time I need to go somewhere, since going to Start > Arrow >Lock takes a lot of time, I have made a desktop shortcut for it to make things easy. Here is how you can make one too.

Right-click anywhere on your desktop, select New > Shortcut. Here type,

rundll32.exe user32.dll,LockWorkStation

just like it’s shown in the screenshot below.

create shortcut

In the next step name this shortcut, for e.g, Lock Computer.

Lock Computer

Click Finish and you are done. Now next time you want to lock your computer, simply click this shortcut. That’s all. Enjoy!

Note: If you have a Windows keyboard you can press Windows Key + L to lock instantly. Thanks to Scott for pointing this out in the comments.

Leave a comment