This one’s useful for laptops or whenever you want some privacy: Assuming you’ve set up a password for your Windows login username, press the Windows key+L. Immediately, the Lock Dialog will appear. To use your computer again, you must press Ctrl+Alt+Del, enter your password, and press Enter.

29 thoughts on “Windows key+L: Lock desktop”

  1. The Ctrl+Alt+Delete is only required if the WIn XP computer is on a domain. Not sure how this works with Win2k3, or when Vista is on a domain.

  2. If you have XP Home set up with multiple users, this will take you to the “switch user” screen.

  3. On my workstation Windows (key) +L doesn’t work. Can anybody help me with this?

  4. What does it do instead? What version of Windows are you running? And do you have a username and password you have to enter when you log on?

  5. I have windows 2000 server installed. The Window (key) + l combination doesn’t do anything.

    i do have a username and password to enter when i log in.

  6. Ok, try this:

    1. Press Ctrl+Alt+Delete

    2. Select the “Lock Computer” button (by pressing either Enter, since it’s default, or K, since that letter is underlined)

    Do you see the appropriate “Computer Locked” dialog when you do that?

  7. The “Ctrl+alt+del” does work on my machine. The computer is also locked properly on “Ctrl+Alt+Del” combination.

    I wanted a shortcut for this. As it is said here the ” Windows(key) +l” combination. this doesnot work on my machine.

    Is there anything on the comp wherein we can enable or disable these shortcuts? If there is any please do let me know.

    [external_link offset=1]

    Thanks a lot for all your help.

  8. Bashi, sorry to hear Windows+L isn’t working for you. I’ve never heard of this issue before, and there isn’t normally a way to disable these keystrokes, so I don’t know why it’s not working.

    Short of contacting Microsoft for help, my only suggestion is to use Ctrl+Alt+Delete, Enter in the meantime.

  9. anyways thanks a lot for ur help.

  10. Hi,

    There is a way how to enable/disable shortcuts functionality via windows registry. You need to go to


    If this key does not exist, create it.(There will be already key explorer in key Policies, so create key System)

    Then you need to add a value type DWORD, with value

    0 – enable Win+L shortcut

    1 – disable Win+L shortcut

    Should work for both XP and Vista.

    However, it may not work on some PCs… not sure why, though…

  11. Hm, might interest you that the value’s name is


    So it will look like this

    DisableLockWorkstation REG_DWORD 0x0000000x(x)

    where x is either 1 or 0.

  12. Yep, one more thing… if this value exists, it may be reason why Win+L does not work… try deleting it then…

  13. I think Windows+L is a wonderfully useful keyboard shortcut. (Clearly, I lock my workstation often.)

    This shortcut is new in Windows XP; it wasn’t available on Windows 2000. So back on 2000, one annoying alternative for Windows+L would be to press Ctrl+Alt+Del, then press Enter (because Lock is usually the default button selected) or K (the mnemonic).

  14. Hi guys,

    My dear computer doesn’t want to lock itself on Win+L. The registry key doesn’t help. WinXP Professional 2nd SP. It also was with my Home Edition. Help pls.

  15. Does anything happen when you hit Windows Key + L? Do you have multiple users switched on?

  16. Hi, i have a laptop with win xp sp2… my win+L key responds slowly… means when i press this keys the screen which shows “your computer is in use and has been locked” comes after some times till that time nothing appears.. can u help me with this???

  17. I love this feature, but when I unlock, all keys respond as if I were holding down the windows key. I have to hit the windows key again or the keyboard misbehaves. I can’t seem to find any references to this, even though this has happened on an HP and a Lenovo laptop running vista and Windows 7.

  18. Had this problem, turned out to be some quarantined items in Avira. Used the Avira option to delete the quarantined items and full windows+L functionality returned.

    [external_link offset=2]

    Keeping it simple is usually the easiest way to fix a problem, I can’t believe people were recommending the changes above so boldly — There are few reasons to change the windows registry, especially if you’re a “normal” user.

    Hope this helps someone. Cheers.

  19. I had this same issue, XP professional the Win+L just didn’t work at all. Checked the registry for the above entries, doesn’t have any of those. Noticed that my machine was strangely unlocked when I got to work on Monday morning. Tried the Win+L several times nothing. Then did a Ctrl+Alt+Del, and the machine came back immediately saying the computer was locked (no enter required) – showing the login name and the password prompt. Unlocked the machine, tried the Ctrl+Alt+Del again, this time it was behaving normally. I had to press Ctrl+Alt+Del to get the login prompts. And hey presto, the Win+L is working again like magic, still don’t have a clue what the problem was…..

  20. Win+L stops working for me sometimes after I RDP into my machine.

    Press ESC, CTRL, ALT in some crazy random order over and over; seems to restore my ability to Win+L.

  21. Using this feature turned my entire display black and the only thing I could see was the mouse pointer. There could be an issue with using this while running Sysinternals multiple desktop software.

  22. go to regidtry editor/Hkeyy_local/mashine/software/microsoft/windowsNT/winlogon and select 0 for DisableLockWorkstation

  23. my keyboard stop working

  24. run> task manager> processes

    end process name “winlogon.exe”

    it will fix the issue

  25. what will I do after i press win. + L….becuase I don’t know abot this T^T

  26. My windows key + l was not locking the computer for a few weeks. I followed advice above and deleted 2 quarantined items in my McAfee anti virus and instantly it works again.

    Thank you for your help!

  27. Thanks a lot

  28. Wonderful tip for laptop users. Thanks man

  29. I m working a compny .N I want to change my lock screen password. I m loged in with microsoft password .When i changed password .It had been unlock with both of password .Old password n new password…

    My data corrupt many time untill i use win +L key ..

    After that only new password has valid …