Home » Cool Tricks, Hacking Oprating Systems

Lock Your Computer With Shortcut

12 January 2011 No Comment

To create a shortcut on your desktop to lock your computer:

>Right-click the desktop.
>Point to New, and then click Shortcut.
>The Create Shortcut Wizard opens. In the text box, type the following:
rundll32.exe user32.dll,LockWorkStation

>Click Next.
Enter a name for the shortcut. You can call it “Lock Workstation” or choose any name you like.
Click Finish.

You can also change the shortcut’s icon
To change the icon:
>Right click the shortcut and then select Properties.
>Click the Shortcut tab, and then click the Change Icon button.
In the Look for icons in this file text box, type:
Shell32.dll.
Click OK.
Select one of the icons from the list and then click OK

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

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

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.