How to display the last user logged in Windows 7 PRO x64 logon

I want Windows to show the last user logged, so I only need to type my password, and I don't need to select my username. I thought it should be the default Windows behavior, but I've just installed a fresh copy of Windows 7 Pro x64 and I need to select my user account every time.

I've done some homework, I know about the:

Go to Start > Control Panel > Administrative Tools > Local Security Policy

Select Security Settings > Local Policies > Security Options

Look for "Interactive logon: Do not display last user name"

This security setting determines whether the name of the last user to log on to the computer is displayed in the Windows logon screen.

If this policy is enabled, the name of the last user to successfully log on is not displayed in the Log On to Windows dialog box.

If this policy is disabled, the name of the last user to log on is displayed.

Default: Disabled

It is already Disabled! So, What I'm missing here??


it can be done done directly on registry by saving the code in a .reg file and executing it

Windows Registry Editor Version 5.00
[hkey_local_machine\software\microsoft\windows\currentversion\policies\system]
"dontdisplaylastusername"=dword:0

Now that I've read your post again and read this TechNet again, you need to use Group Policy Editor to enable the Classic Logon.

  1. Click Start, type gpedit.msc, and then press Enter. This opens the Local Group Policy Editor with the top-level Local Group Policy object open for editing.
  2. In the editor, expand Local Computer Policy, Computer Configuration, Administrative Templates, System, Logon.
  3. Double-click Always Use Classic Logon.
  4. Select Enabled, and then click OK.

That should invoke the Logon screen rather than the Welcome Screen. It should remember the last user for you.


tl;dr:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\delete_me_to_restore_users_display_on_logon_screen"

Explanation:

so after some googling and messing around I found (thanks to @jonhoo) how it's "done"

Thing is, Windows fails to build user list for LogonUI display if any of keys in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList don't have at least values with names: Flags, ProfileImagePath and State. Then it falls back to showing only Last logged on user and "Other users" button for manual enter of username.

So, to cause this behavior, just add any subkey to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList without any values and you're good. Remove to restore.

I advise calling the new key some way it's clear why it's there and what it does.

And of course, if you have this problem and want to restore user list, check all ProfileList subkeys and and remove ones don't have these 3 values (usual warning: handle registry carefully and backup before doing this of course, aside from accidental errors there are ways to hide user accounts from logon screen even if list can be read, so if you only have one user for example, and it's hidden using SpecialAccounts, you won't be able to logon after restoring user list, because there won't be any users!).