For privacy and security reasons you may decide that you do not want to display your real name and your email address on your Windows 11/10 lock screen, where you enter your PIN or Password to sign in. You can remove your email address via Settings – but in this post we who you how to hide your real name and email address in Windows 11/10 Lock Screen, using Group Policy or Registry Editor.
Hide real name & email address on Windows 11/10 Lock Screen
Using Group Policy setting
Run gpedit.msc and navigate to the following setting:
Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options
Double-click on Interactive logon: Do not display last user name settings and select Enable.
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 Logon Screen.
Click Apply and exit.
Using Registry Editor
Run regedit and navigate to the following registry key:
In the right pane, double-click on dontdisplaylastusername and change its value from 0 to 1 as shown below.
You will also see a DontDisplayLockedUserId key there. The possible values for DontDisplayLockedUserID are:
- 1 : Show the locked user display name and the user ID
- 2 : Show the locked user display name only
- 3 : Do not display the locked user information
Select 2 or 3 depending on your preference, save the settings and exit the Registry Editor.
Windows 11/10 will now hide your name and email address on the Lock Screen.