Using Group Policy Editor

If you are using the Pro or Enterprise version of Windows 10, then you can use the Group Policy Editor to hide the user details on the Windows 10 login screen. To do that, press “Win + R,” type gpedit.msc and press the Enter button.

The above action will open the Windows Group Policy Editor. Here, navigate to the location “Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options.”

Once you are here, find the option “Interactive Logon: Display user information when the session is locked,” and double-click on it.

In the Settings window select the option “Do not display user information” from the drop-down menu, and click on the “OK” button to save the changes.

Find the option “Do not display last user name” and double-click on it. In the Settings window select the “Enabled” radio button, and save the changes by clicking on the “OK” button.

That’s it; just restart your system. You should no longer see the last used username or other details like the email address on the login screen or lock screen. One thing to keep in mind while using this is that it will also remove your account picture from the login screen.

Using Windows Registry Editor

If you are using the Home version of Windows 10, then you will not have access to the Group Policy Editor. In that case you can use the Windows Registry Editor. However, make sure that you have a good backup before proceeding to make any changes. To start, press “Win + R,” type regedit and press the Enter button to open Windows Registry Editor.

Once the registry editor has been opened, navigate to the follow key:

Find the value “dontdisplaylastusername” on the right pane and double-click on it. This action will open the Edit Value Data window. Change the value data from “0” to “1,” and click on the “OK” button to save the changes.

Right-click on the right pane, select “New” and then “DWORD (32-bit) Value.”

Once the new value has been created, right-click on it and select the option “Rename.” Enter the new name as “DontDisplayLockedUserID” and press the Enter button.

Double-click on the newly created value, enter the “Value Data” as “3” and click on the “OK” button to save the changes.

Just restart your system, and you will no longer see the user details on the login screen. If you want to revert back, simply change the value data of “dontdisplaylastusername” to “0” and delete the new key. Do comment below sharing your thoughts about using the above method to hide user details on the Windows 10 login screen.