Posted by: wikalp December 20, 2007
TO LOCK YOUR PC WITH A SINGLE CLICK
Login in to Rate this Post:     0       ?        
STEP -1.
---------

- Right click on your Desktop
- Select "NEW" in the options list and then "CREATE SHORT CUT"
- Writen down the following shell command

rundll32.exe user32.dll, LockWorkStation
- Click "Next"

make sure that there is comma after user32.dll and the first letter of the string LockWorkStation (L, W, S) is capital.

-Give name to the shortcut, I gave it as "Lock PC" you can select whatever you like.

Now you're read to Lock your Computer with only one hit. But you know the shortcut image is not that good. Why don't we get a sexy image instead. The procedure is pretty easy to change the icon.

Steps to change the ICON
-----------------------------
- Right click on your newly created shortcut
- Select "Properties" a new dialog will appear
- Look for "Other Symbol Button" and click it
- In the "Other Symbol" you will find a paper click like image. In the data search box just Type

- shell32.dll

lots of symbols will appear. Select one you want to assign to your shortcut. Keys symbol is more sexy. SelecT the symbol and click"Apply."

Your Shortcut to Lock PC with single click is ready.

Read Full Discussion Thread for this article