To hide user accounts from the Windows login screen, enable Interactive logon: Don't display last signed-in in Local Security Policy; to show them again, set that policy back to Disabled.
This guide also covers listing local and connected domain users on a domain-joined PC, taking one account off the sign-in screen, hiding the email address under a tile, and fixing accounts that vanish from the login screen on Windows 11 and Windows 10.

How to hide user accounts from the Windows 11 login screen
This policy is part of Windows 11 and Windows 10 Pro, Enterprise and Education. It takes effect without a restart.
- Sign in with an administrator account.
- Press Windows + R, type
secpol.mscand press Enter. - Go to Security Settings > Local Policies > Security Options.
- Double-click Interactive logon: Don't display last signed-in.
- Select Enabled, then select OK.
- Press Windows + L to lock the PC; the sign-in screen now asks for a user name and password instead of showing account tiles.

Windows login screen settings for hiding and showing accounts
Each goal maps to a different setting. The Logon policies under Administrative Templates mostly matter on domain-joined PCs.
| What you want | Setting to change | Where |
|---|---|---|
| Hide every account tile, including the last user | Interactive logon: Don't display last signed-in = Enabled | Local Security Policy |
| List local accounts on a domain-joined PC | Enumerate local users on domain-joined computers = Enabled | Group Policy > System > Logon |
| Show domain users who are already signed in | Do not enumerate connected users on domain-joined computers = Disabled or Not configured | Group Policy > System > Logon |
| Take one account off the sign-in screen | Disable or remove that account | Command Prompt or Settings |
| Hide the email address under your tile | Show account details on the sign-in screen = Off | Settings > Accounts > Sign-in options |
| Remove the Switch user option | Hide entry points for Fast User Switching = Enabled | Group Policy > System > Logon |
Hide last signed-in username from Windows login screen
When Interactive logon: Don't display last signed-in is enabled, Windows shows neither the full name nor the sign-in tile of the last user, and the same applies after Switch user. Everyone must type an account name and password.
Before Windows 10 version 1703, the same policy was called Interactive logon: Do not display last user name.
- On a single PC, open
secpol.mscas an administrator. - On a domain, open Group Policy Management, then create or edit a GPO linked to the computers.
- Go to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options (in a GPO, under Policies).
- Open Interactive logon: Don't display last signed-in and select Enabled.
- Select OK. The change applies without a restart once the policy reaches the PC.
Local accounts then sign in with the plain user name and domain accounts with a qualified name such as DOMAIN\username.
Show all local users on the Windows sign-in screen
On a domain-joined PC, Logon UI does not list local accounts unless Enumerate local users on domain-joined computers is enabled. The policy exists on Windows 10 version 1803 and later.
On a home or workgroup PC, local account tiles disappear when Don't display last signed-in is enabled, so set it to Disabled first.
- Press Windows + R, type
gpedit.mscand press Enter. - Go to Computer Configuration > Administrative Templates > System > Logon.
- Double-click Enumerate local users on domain-joined computers.
- Select Enabled, then select OK.
- Open
secpol.mscand make sure Interactive logon: Don't display last signed-in is Disabled. - Open Command Prompt as administrator, run
gpupdate /force, then press Windows + L to check the sign-in screen.
To add another person first, create a local user account and it appears on the list after the change.
Show logged in domain users on Windows logon screen
Domain users who already have a session on the PC are listed by default. The policy Do not enumerate connected users on domain-joined computers turns that off when it is enabled, so set it to Disabled or Not configured to bring them back.
- Open Group Policy Management on a domain controller or a PC with the management tools, or
gpedit.mscon the PC itself. - Go to Computer Configuration > Policies > Administrative Templates > System > Logon (no Policies folder in the local editor).
- Double-click Do not enumerate connected users on domain-joined computers.
- Select Disabled, then select OK.
- Check that Hide entry points for Fast User Switching in the same folder is not Enabled, because it removes the Switch user interface from the sign-in screen.
- Run
gpupdate /forceon the PC and lock it with Windows + L.
The connected-users policy applies to Windows 10 version 2004 with KB5005101 and later, and to Windows 11.
Hide specific user accounts from the Windows sign-in screen
Windows has no documented setting that hides one enabled account while it stays usable from the sign-in screen. The supported ways to take a single account off the screen are to disable it or to remove it.
A disabled account keeps its files and settings and can be turned back on at any time.
- Right-click Start and select Terminal (Admin) or Command Prompt (Admin).
- Run
net userto list the exact account names on the PC. - Run
net user "Account Name" /active:noto disable that account. - Press Windows + L and confirm that the account's tile no longer appears.
- To remove the account and its data instead, open Settings > Accounts > Other users, open the account and select Remove next to Account and data.
Before removing anything, view all user accounts on the PC so you do not remove the wrong one, and keep at least one other administrator account enabled.
Hide email address on Windows 11 login screen
Since Windows 10 version 1607, the sign-in screen hides details such as the email address by default and shows only the display name. A per-user toggle and two policies control this.
- Open Settings > Accounts > Sign-in options, or run
ms-settings:signinoptions. - Under Additional settings, turn off Show account details on the sign-in screen.
- To stop users turning it back on, enable Block user from showing account details on sign-in under Computer Configuration > Administrative Templates > System > Logon.
- To show only the display name when the PC is locked, set Interactive logon: Display user information when the session is locked to User display name only in Security Options.
The Do not display user information choice in that lock policy is not supported from Windows 10 version 1607, so use Don't display last signed-in to hide names completely.

Windows sign-in screen account policies and their defaults
| Policy | Location | What it does | Default |
|---|---|---|---|
| Interactive logon: Don't display last signed-in | Security Settings > Local Policies > Security Options | Hides the last user's name and tile | Disabled |
| Interactive logon: Don't display username at sign-in | Security Settings > Local Policies > Security Options | Hides the user name after credentials are entered, before the desktop appears | Enabled |
| Interactive logon: Display user information when the session is locked | Security Settings > Local Policies > Security Options | Chooses display name, domain and user names on the lock screen | User display name, domain and user names |
| Enumerate local users on domain-joined computers | Administrative Templates > System > Logon | Lists local accounts on a domain PC | Not configured (not listed) |
| Do not enumerate connected users on domain-joined computers | Administrative Templates > System > Logon | Hides signed-in domain users | Not configured (listed) |
| Hide entry points for Fast User Switching | Administrative Templates > System > Logon | Removes Switch user from Logon UI, Start and Task Manager; value HideFastUserSwitching in HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System |
Disabled (visible) |
How to show user accounts on the login screen again
- Open
secpol.mscand set Interactive logon: Don't display last signed-in to Disabled. - In
gpedit.msc, under System > Logon, set Do not enumerate connected users on domain-joined computers and Hide entry points for Fast User Switching to Not configured. - Re-enable a hidden account with
net user "Account Name" /active:yesfrom an administrator Command Prompt. - Run
gpupdate /forceand press Windows + L to see the account tiles again.
If a domain GPO sets these policies, the local change is overwritten at the next refresh, so change the GPO instead.
How to see which accounts appear on the Windows sign-in screen
- Press Windows + L to lock the PC.
- Select Switch user if it is shown; the account tiles appear in the lower-left corner.
- If you only see a box for a user name and password, Don't display last signed-in is enabled.
- If an account you expect is missing, open Settings > Accounts > Other users to check that it still exists on the PC.

User accounts not showing on Windows 11 login screen
Only an Other user tile or a blank user name box appears
Interactive logon: Don't display last signed-in is enabled locally or by a GPO.
- Open
secpol.mscand set the policy to Disabled. - On a work PC, ask IT, because a domain GPO overrides the local setting.
- Lock the PC with Windows + L to check.
Local accounts are missing on a domain-joined PC
Logon UI does not list local users on domain PCs unless Enumerate local users on domain-joined computers is enabled.
- Enable the policy under Administrative Templates > System > Logon.
- Run
gpupdate /force. - Lock the PC with Windows + L and check that the local account tiles now appear.
One account disappeared from the sign-in screen
The account is disabled or was removed.
- Sign in with another administrator account and run
net userto see whether the account still exists. - If it exists, run
net user "Account Name" /active:yes. - If it was removed, add the user account again from Settings > Accounts > Other users; its old files stay under C:\Users only if the profile was not deleted.
Reset password does not appear on the sign-in screen
Microsoft Entra self-service password reset on Windows does not work when DontDisplayLastUserName or HideFastUserSwitching is set to 1, or when lock screen notifications are off.
- Set Interactive logon: Don't display last signed-in to Disabled.
- Set Hide entry points for Fast User Switching to Not configured.
- Lock the PC and check for the Reset password link.
Windows login screen user accounts FAQ
How do I stop Windows from showing the last user on the login screen?
Enable Interactive logon: Don't display last signed-in under Security Settings > Local Policies > Security Options in secpol.msc. Windows then hides the last user's name and tile, and everyone types a user name and password to sign in.
Why does my Windows 11 login screen show only one user?
On a domain-joined PC, local accounts are not listed unless Enumerate local users on domain-joined computers is enabled. On any PC, a disabled account or the Don't display last signed-in policy also removes tiles from the sign-in screen.
Can I hide one user account but still sign in with it?
Windows has no documented setting for that. Disabling the account with net user /active:no removes it from the sign-in screen but also blocks sign-in until you run net user /active:yes. Don't display last signed-in hides every tile while keeping all accounts usable.
How do I hide my email address on the Windows sign-in screen?
Open Settings > Accounts > Sign-in options and turn off Show account details on the sign-in screen under Additional settings. Administrators can enforce this with the Block user from showing account details on sign-in policy.
Does Windows 11 Home have Local Security Policy?
The Interactive logon and Logon policies in this guide apply to Pro, Enterprise and Education editions. On Home, you can still take an account off the sign-in screen by disabling it with net user or removing it in Settings.
Do I need to restart after changing Don't display last signed-in?
No. Microsoft states that changes to this policy take effect without a restart when they are saved locally or distributed through Group Policy. Lock the PC with Windows + L to see the result.
Does hiding the last signed-in user affect password reset?
Yes. Microsoft Entra self-service password reset on Windows does not work when DontDisplayLastUserName is set to 1. If your organization uses the Reset password link on the sign-in screen, leave Don't display last signed-in disabled.





