Nifty Trick: Lock Workstation Shortcut
around lunchtime on Wednesday, the 12th of April 2006 by Anarchy
OK… I know this is nothing new, but I felt it needed posting. I’ve been getting tired of people coming up to me going… “Neat! Show me how you did that!”. So I’m going to tell you… if only so I don’t have to repeat myself yet again.
For those Windows users out there who (like myself) are too damn lazy to press [Ctrl]-[Alt]-[Del] + [Space Bar] to lock thier workstation up before walking away… you should know that there is an easier way. Just create yourself a clickable shortcut to lock it for you. Here’s how…
- Right-click on your desktop, and select New –> Shortcut
- In the “location of the item” field, browse to: C:\Windows\System32\rundll32.exe
- Click [Next].
- In the “name” field, enter “Lock Workstation”… or “Lock”… or “Hot, Sweaty Monkey Loving”… or whatever.
- Click [Finish].
- Right-click on the new Shortcut, and select Properties.
- Edit the “Target” field to read as follows (and please note that the “LockWorkStation” part is CASE-SENSITIVE)
* Target : C:\Windows\System32\rundll32.exe User32.dll,LockWorkStation - Click the [Change Icon] button.
- In the “Look for icons in this file” field, browse to: C:\Windows\System32\shell32.dll
- Choose an appropriate icon… like the “Lock” icon… or whatever.
Now when you’re about to walk away… just click your little shortcut. Happy now? Mmmm, K?
![[del.icio.us]](http://pirate-king.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://pirate-king.com/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://pirate-king.com/wp-content/plugins/bookmarkify/facebook.png)
![[MySpace]](http://pirate-king.com/wp-content/plugins/bookmarkify/myspace.png)
![[Sphere]](http://pirate-king.com/wp-content/plugins/bookmarkify/sphere.png)
![[StumbleUpon]](http://pirate-king.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://pirate-king.com/wp-content/plugins/bookmarkify/technorati.png)
![[Windows Live]](http://pirate-king.com/wp-content/plugins/bookmarkify/windowslive.png)
![[Email]](http://pirate-king.com/wp-content/plugins/bookmarkify/email.png)

April 13th, 2006 at 9:55 pm
What about “window key - L”?
It works in XP, I don’t have my 2k box up right now to test that one…
April 14th, 2006 at 9:06 am
Yes… it is true that [Windows Key + L] will lock your workstation. However, the point here was to make it “clickable”.
April 14th, 2006 at 11:54 am
For days when you’re too lazy to even touch that keyboard…