When Windows 10 starts, it shows you a login screen and prompts you for a password. If you have more than one user account in your OS, you will be able to click the user image of the account you want and then enter the account password. Instead, you can make Windows 10 ask you to type the user name too and then the password at the log on screen. It is a good security and privacy measure. Here is how it can be done.
To make Windows 10 ask for the user name and password on the login screen, you need to do the following:
- Press Win + R shortcut keys together on the keyboard to open the Run dialog. Type the following in the Run box:
- Local Security Policy will be opened. There, go to the following location:
Local Policies\Security options
- Scroll down to the option called Interactive logon: Don't display last user name. Set it to Enabled as shown below:
- Click Apply and OK and sign out using your Start Menu.
After: Instead of the user account name indicated with a picture tile, the login screen will now show the text "Other user" and two text fields, where you can type your user name and the password, if it was set. Now, you will be able to login even into hidden accounts.
If your Windows 10 edition comes without the Local Security Policy tool (Home editions do not have it), then you can do the same change with a simple Registry tweak as follows:
- Open Registry Editor.
- Go to the following Registry key:
- Modify the 32-bit DWORD value named dontdisplaylastusername and set its value data to 1 as shown below:
- Restart your computer for the setting to take effect.
To undo this setting, set the "dontdisplaylastusername" value data back to 0 or switch the "Interactive logon: Don't display last user name" option back to "Disabled".
The same can be done using Winaero Tweaker. Go to Boot and Logon -> Hide Last User Name:
Use this option to avoid Registry editing.
Also, I prepared ready-to-use Registry files, which you can download here:
You just have to open the Registry files to apply the changes they have.