How to lock Windows XP computer

Locking is one of the basic security feature of any OS. Below are different ways to lock your Windows XP computer.


  1. Press Windows Key + L. You will reach welcome screen asking to enter password to unlock computer.
  2. Press CTRL + ALT + DELETE buttons and then click Lock Computer or click Switch User on the Shut Down menu.  Switch user will appear under shut down menu if Fast User Switching feature is enabled else you will get lock computer.
  3. Using command  rundll32.exe user32.dll, LockWorkStation. Very useful in case you don’t have windows key on your keyboard
    Create a new shortcut ( can be done by right clicking on desktop or In folder view click on Menu item    File -> New -> Shortcut
    A  wizard screen will come asking for location of item type – rundll32.exe user32.dll, LockWorkStation. Give name for your shortcut and finish.    Now you can logout by just double clicking this shortcut.