This method of creating a shortcut to lock your desktop not only works in Windows 7, but also in Windows Vista and Windows XP
I’m sure most of you lock your desktop regularly, every I leave the room I’ve just gotten into the habit of locking my PC. It’s quick and easy to do and it takes less than a second then to unlock it again. However in many workplaces you are actually required to lock down your PC anytime you walk away from your PC to prevent any prying eyes from seeing what they shouldn’t.
So let’s get to it, how do we make a shortcut to lock the desktop apart from using (Win + L) ?
- Right Click on a blank area of your desktop and select New
- Go ahead and make a new Shortcut
- Now in the field that appears you need to type in this rundll32.exe user32.dll,LockWorkStation
- Then hit Next
- You will then need to enter the name for your shortcut, so for this example we’ll call it “Lockdown”
- Hit Finish and you’re done
Now you can leave the shortcut on your desktop, or what I did was drag it into my taskbar so all I have to do is click it once and it instantly locks my desktop. You can even change the icon for it to a lock or something if you wish.