Wednesday 16 November 2011

How to Create a 1-Click Lock Button for Your Windows Desktop?

To lock your Windows desktop is quite time consuming, first you have to tap on the start button, then click the arrow beside the shutdown button, then look for the Lock button, click it and lock your desktop. This might not seem like a big deal for most of us, but when you are very busy and still want to prevent others from peeping into your desktop, there's an express way for you.


First, create shortcut on your desktop. To do that, right click on your desktop, click on "New", and look for "Shortcut".



A wizard will appear, asking you to type in the location of the shortcut, you just have to copy and paste the following lines: %windir%\system32\rundll32.exe user32.dll, LockWorkStation
Remember, this code is case sensitive, so it's more advisable to just copy and paste the whole code then re-typing it again. After you've cut and paste the code, just click "Next", it will ask you to give a name to your shortcut. For me, I just name it as "Lock".

Now, you can decorate your icon before giving it a test (if you wish). Right click on the shortcut that you just created. Click on "Properties". At the "Shortcut" tab, click "Change Icon". Search for the custom icon that you downloaded (You can download really cool icon in "ico" format from websites like Deviantart and lifehacker. Just save the icon and in any of your preferable location.) After applying the icon, you are finally done!


If you don't like your desktop full with icons, you can also right click on your shortcut and select "Pin to Taskbar". You can then delete the shortcut icon on your desktop. Your personalized "Instant Lock" button is now ready to be launched at your taskbar!

No comments:

Post a Comment