Quick way to lock your workstation

June 10, 2007

This works with XP, but I’m not sure it works with 2000 or 98/ME. I’m assuming it does. I think it works in Vista.


I know locking a workstation when you’re heading out to lunch doesn’t take that much time.

But I found even a quicker way than the traditional CTRL-ALT-DELETE, and then clicking the “Lock Workstation” button.

Simply create a new shortcut on your desktop. For location, copy and paste this line of code:

%windir%\system32\rundll32.exe user32.dll,LockWorkStation

When you want to lock your system, just double-click the icon. Your system will become automatically locked.

Now there’s some Saturday night hardcore command line action for ya!


One comment

  1. Pressing windowslogo+L is even easier. Works on WinXP and above.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: