Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


January 2004

Shortcut to Lock Windows XP Workstation

RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

If you need to step away from your workstation for a few minutes, you might want to lock it to prevent passersby from being able to access your data. To lock your Windows XP workstation, press the Windows key (i.e., the key with the Windows logo) + L. This trick doesn't work on Windows 2000, but it works on Windows Server 2003.

End of Article



Reader Comments
I have a IBM T20 Laptop that don't have the Windows key on it.

Angel February 20, 2004


You can create a shortcut in Windows 2000 that will allow the system to be locked. You need to create a shortcut that targets "rundll32 user32.dll,LockWorkStation" and assign a shortcut key combination to the shortcut (unfortunately you can't use Windows key combinations.)

Windows 2000 Lock hotkey February 24, 2004


This only works if you are connected to a domain. In Windows XP home and Windows XP Pro (not connected to a domain) pressing the Windows key + L will only do a "Fast User Switch" instead of locking the box.

Tory Gilbert March 01, 2004


Thanks for the tip Jeff.

I guess we all have the need to lock our workstations while not manning them (most companies have strict policies enforcing this) and being able to do so via some or the other shortcut always helps. For those operating on Windows versions prior to XP and 2003, here's what I normally do:

(1.) Windows 9.x & ME: Set your screen saver to "Blank Screen" and enable password protection - remember to "Change" your password so that it's not blank. Next make a new shortcut that points to "C:\Windows\System\Blank Screen.scr" Now you can assign a shortcut key combination to this shortcut, say for example "Ctrl+Alt+S" or simply place it somewhere (Quick Launch?) where it will be convenient for you to click it.

(2.) Windows 2000: Create a new shortcut with the following target "%windir%\system32\rundll32.exe user32.dll,LockWorkStation" Again you can assign a shortcut key combination to this shortcut, say for example "Ctrl+Alt+S" or simply place it somewhere (Quick Launch?) where it will be convenient for you to click it. This also works for Windows XP and 2003 in case you prefer to click the shortcut instead of using the KB shortcut.

Hope this helps :)

Regards


Wicus Kriel March 06, 2004


Actually... if you assign a password to the user account for Windows XP H/P... it will ask for the password when you try to log back in, REGUARDLESS if it is connected to a DC or not.

Dude July 01, 2004


As far as Windows XP/Home and locking the computer, if you have admin access ( assume you do if your not connected to a domain" Go into the user control panel applet and simply disable fast user switching. Heck, I disable the welcome screen. Anyway, that'll enable you to lock through WinKey + L

Jtegg13 August 10, 2004 (Article Rating: )


I have XP home and I went into my desktop properties and I believe advanced power settings for my laptop and made it so that I can put my computer on standby by pressing the power button or closing the lid, then when I reopen it or press the power button to bring it back up it prompts me for my password.

Anonymous User March 22, 2005 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

Escape From Yesterworld

Kevin points you to the funniest SQL Server website ever! ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Top 10 Email Security Challenges and Solutions

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing