Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When one locks the PC using Windows-L it activates a screen which shows account name and the text 'Locked'. There is also a "Switch User" button which open user selection screen.

What I would like to, is show directly the user selection screen when one locks the PC. This was easy to do with XP but how can it be achieved on Seven?

share|improve this question

migrated from Jan 29 '10 at 18:55

This question came from our site for system and network administrators.

Which version of window's 7? Is it joined to a domain? My W7-Enterprise on a domain has a "Switch User" button when I lock the screen. – Zypher Jan 29 '10 at 18:42
W7 Ultimate. It's not on a domain. As I wrote, there is a button, but I want Windows to show the switch screen without clicking any buttons. – tputkonen Jan 29 '10 at 18:58
up vote 2 down vote accepted

The Win+L is a system assigned hotkey and there's no option to disable it. This means there's no way for an application to detect it, unless you use a low-level global keyboard hook (WH_KEYBOARD_LL).

More information at this SO post here:

The workaround would be to create a shortcut on your desktop that points to the User Selection page and assign a different hotkey to it:

  1. Create a new shortcut on your desktop
  2. Paste the following path in the Location box: C:\Windows\System32\tsdiscon.exe
  3. After creating the shortcut, right-click the new shortcut and select Properties
  4. In the Shortcut key box, enter a keyboard shortcut
  5. Click OK
  6. Test the results
share|improve this answer
Thanks! I really hate it that they changed the behavior. I'll have to copy the shortcut now to all users. – tputkonen Jan 30 '10 at 7:22
You can copy a shortcut into C:\Users\Public\Desktop, this will automatically put it on every user's desktop – geotavros May 16 '11 at 9:34

My queries on this issue (I'm running Windows 7 Ultimate) resulted in a general consensus of "it's how Windows uses that shortcut, it can't be changed".

It's been a few weeks since I was searching, so maybe something new has turned up, but so far as I know you can't change that behavior.

I'll wait for people to prove me wrong now....

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.