Skip to content

Hide your email address on the sign-in screen — via Microsoft Learn

Group Policylow riskNeeds adminProEnterpriseEducationWindows 11Windows 10 2004 and later

With a Microsoft account, the sign-in screen can show your email address to anyone who looks at the PC. This policy stops account details being shown there and stops users turning that option back on.

Restart the computer

Group Policy

Open gpedit.msc (Pro, Enterprise and Education only) and go to:

Computer Configuration > Administrative Templates > System > Logon > Block user from showing account details on sign-in

Registry equivalent

Double-click a .reg file and confirm to merge it. Right-click → Edit first if you want to read it, which is always a good idea with any .reg file from the internet.

Apply

Windows Registry Editor Version 5.00

; Oddbyte.Me: Hide your email address on the sign-in screen

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"BlockUserFromShowingAccountDetailsOnSignin"=dword:00000001

Undo

Windows Registry Editor Version 5.00

; Oddbyte.Me: undo Hide your email address on the sign-in screen

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System]
"BlockUserFromShowingAccountDetailsOnSignin"=-

Same thing from a command prompt

Run in an administrator Command Prompt or Terminal.

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "BlockUserFromShowingAccountDetailsOnSignin" /t REG_DWORD /d 1 /f

Undo:

reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "BlockUserFromShowingAccountDetailsOnSignin" /f
Microsoft's security baseline checks for this value set to 1. Without the policy, each user can choose whether account details show (Settings → Accounts → Sign-in options).

Sources

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.

sign-in screenemailprivacylogonaccount details

More in Sign-in, Boot & Shutdown