If you wish to enhance your PC’s security you may want to hide all user names from the login screen. In this case it will be necessary to enter both the user name and the password to log into the user account.
Default look of welcome screen
Normally when you boot your PC you can see either all user accounts…
…or the last used account with a password request:
So the logins (user names) are obviously known.
Hide logins of all users from logon screen
1. Launch the registry editor.
2. Find the key:
3. Find the DWORD-value named dontdisplaylastusername (or create DWORD-32 value if missing).
4. Set it to 1:
5. Log off or restart the PC.
The welcome screen should look like this in Windows 7:
and like this in Windows 8.1 or 10: