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.

  • Share this article!

    • Digg this!
    • Bookmark on Reddit
    • Bookmark at Delicious
    • Stumble this!
    • Share this post at Facebook
    • Tweet this!
    • Share on Yahoo! Buzz
    • Add AddictiveTips to your Technorati favorites
    • Share on Friendfeed
This entry was posted in Windows and tagged , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Scott
    Posted January 13, 2009 at 10:14 pm | Permalink

    It’s called WindowsKey-L.

    • Posted January 13, 2009 at 10:27 pm | Permalink

      Oh yea we know what’s it called. But what about those who are newbies? If I write Windows Key-L those who are new to Vista will keep finding it all day long.

      Anyways thanks for taking your time to leave a comment. Fixed for you ;)

  2. Scott
    Posted January 14, 2009 at 4:29 am | Permalink

    Just pointing out that it’s way more work to create a shortcut and have to click it than to just tell people the built-in key combination of Windows-key + L does it already. And if those people can’t figure out where the windows key is on their keyboards, they surely cannot create a shortcut.

    • Posted January 14, 2009 at 1:31 pm | Permalink

      Agreed. ;)

      I have added this in the last line of the post!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


More in Windows (5 of 5 articles)