Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Tech News
  • Contact
  • Toggle search form

How to Hide or Show User Accounts from Login Screen on Windows 10 and 11

Posted on 05/10/202311/08/2026 Matthew By Matthew No Comments on How to Hide or Show User Accounts from Login Screen on Windows 10 and 11
  1. Home
  2. Windows
  3. How to Hide or Show User Accounts from Login Screen on Windows 10 and 11
Hide or Show User Accounts from Login Screen on Windows 10 and 11
Hide or Show User Accounts from Login Screen on Windows 10 and 11

The Windows login screen is the gateway to your computer, and it often displays the last user who logged in by default. However, this can pose security risks and may not always be ideal for shared or public computers. In this comprehensive guide, we will explore various methods to customize the user display on the Windows login screen to suit your needs. Please see Display logon banners for Windows PCs via Windows Registry, How to make a screenshot of Windows 10 Screen / Login Screen, How to prevent the on-screen keyboard from starting automatically and from appearing at login, and Windows sign-in options and account protection on Windows 11.

Hiding the Last Username on Windows Logon Screen

Displaying the last logged-in username on the Windows login screen can be convenient but risky, as it can make it easier for unauthorized users to access your computer. To hide the last username, follow these steps:

Using Group Policy Editor (GPO):

Press Win + R, type gpedit.msc, and hit Enter to open the Group Policy Management Console.

Hide or Show User Accounts from Login Screen: Run utility for Group Policy
Run utility for Group Policy

Navigate to the following path:

Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options
Hide or Show User Accounts from Login Screen: Navigate to interactive logon don't display last signed-in
Navigate to interactive logon don’t display last signed-in

Enable the policy “Interactive logon: Don’t display last signed-in” (this policy is disabled by default).

Hide or Show User Accounts from Login Screen: Enable don't display last signed-in
Enable don’t display last signed-in

Using Registry Editor:

Press Windows key and type regedit, to open the Registry Editor in the Start menu.

Hide or Show User Accounts from Login Screen: Registry Editor
Open the Registry Editor

Navigate to the following registry path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Hide or Show User Accounts from Login Screen: Navigate to don't display last username
Navigate to don’t display last username

Create a new DWORD parameter named dontdisplaylastusername with a value of 1.

Hide or Show User Accounts from Login Screen: Enter 1 as the value data
Enter 1 as the value data

Hiding Username on Computer Lock Screen

To hide the username on the computer lock screen (triggered by Win+L or lock screen GPO), follow these steps:

Using Group Policy Editor (GPO):

Press Win + R, type gpedit.msc, and hit Enter to open the Group Policy Management Console.

Hide or Show User Accounts from Login Screen: Run utility for Group Policy
Run utility for Group Policy

Navigate to the following path:

Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options
Hide or Show User Accounts from Login Screen: Navigate to Interactive logon Display user information when the session is locked
Interactive logon: Display user information when the session is locked

Enable the policy “Interactive logon: Display user information when the session is locked” and set the value to “Do not display user information.”

Select do not display user information
Select do not display user information

Using Registry Editor:

In the Registry Editor, find the key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Don't display locked user ID
Don’t display locked user ID

Locate or create a DWORD parameter named DontDisplayLockedUserId and set its value to 3.

Enter 3 as the value data
Enter 3 as the value data

Now, both the computer login screen and lock screen will display blank username and password fields.

Showing All Users on Windows 10/11 Sign-in Screen

By default, Windows 10 and 11 display a list of enabled local users on the login screen. To ensure this list is visible, follow these steps:

Using Group Policy Editor (GPO):

Press Win + R, type gpedit.msc, and hit Enter to open the Group Policy Management Console.

Run utility for Group Policy
Run utility for Group Policy

Confirm that “Interactive Logon: Do not display last signed-in” is set to Disabled in Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options.

Navigate to the following path:

Computer Configuration -> Administrative Templates -> System -> Logon
Enumerate local users on domain-joined computers
Enumerate local users on domain-joined computers

Enable “Enumerate local users on domain-joined computers“

Enable Enumerate local users on domain-joined computers
Enable the option

Ensure “Do not enumerate connected users on domain-joined computer” is Disabled or Not Configured in the same GPO section.

Set the setting to not configured or Disabled
Set the setting to not configured or Disabled

Restart your computer to apply the new Group Policy settings. This should display the list of local users on the login screen.

Showing Logged In Domain Users on Windows Login Screen

If your computer is used by multiple domain users, you can display a list of users with active sessions on the welcome screen. To achieve this, follow these steps:

Using Group Policy Editor (GPO):

Press Win + R, type gpedit.msc, and hit Enter to open the Group Policy Management Console.

Run utility for Group Policy
Run utility for Group Policy

Ensure the following policies under Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options are set to Disabled:

  • Interactive logon: Don’t display last signed-in
  • Interactive logon: Don’t display username at sign-in
Security options
Security options

Also, disable the policies in Computer Configuration -> Administrative Templates -> System -> Logon:

  • Block user from showing account details on sign-in
  • Do not enumerate connected users on domain-joined computer
Disable logon options
Disable logon options

After applying these changes, the welcome screen will display a list of logged-on users, including those with active sessions.

Please note that Group Policy settings on domain computers may be managed by domain administrators, so ensure that local GPO settings are not overridden by domain GPOs using tools like rsop.msc or gpresult.

Hiding Specific User Accounts from the Sign-in Screen

If you want to hide specific user accounts from the Windows login screen, you can do so through the registry. Follow these steps:

Using Registry Editor:

Open the Registry Editor (regedit), and navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

Right-click on the Winlogon key and select New > Key name the SpecialAccounts. Right-click the SpecialAccount key and create a New > Key named UserList.

Create user list key
Create user list key

Create a new DWORD32 parameter for each user you want to hide. Set the username as the parameter name and its value as 0.

Enter 0 as the value data to hide specific accounts
Enter 0 as the value data to hide specific accounts

To show a hidden user on the login screen again, either delete the registry parameter or change its value to 1.

Conclusion on how to Hide or Show User Accounts from Login Screen

Customizing the Windows login screen can enhance security and user experience based on your specific requirements. Follow these steps carefully to tailor the login screen to your needs while maintaining the desired level of security.

FAQs Relating Hiding or Showing Windows User Accounts from the Login Screen

How can I hide the last username displayed on the Windows login screen to enhance security?

You can hide the last logged-in username on the Windows login screen by using either the Group Policy Editor (GPO) or the Registry Editor. To achieve this through GPO, open the Group Policy Management Console (gpmc.msc), navigate to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options, and enable the policy “Interactive logon: Do not display last user name.” Alternatively, using the Registry Editor, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System, and create a new DWORD parameter named dontdisplaylastusername with a value of 1.

Can I display a list of all enabled local users on the Windows login screen?

Yes, by default, modern versions of Windows display a list of all enabled local users on the login screen. However, to ensure this list is visible, you may need to confirm certain Group Policy settings. Open the Group Policy Management Console (gpmc.msc), ensure that “Interactive Logon: Do not display last signed-in” is set to Disabled under Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options. Also, enable “Enumerate local users on domain-joined computers” in Computer Configuration -> Administrative Templates -> System -> Logon.

How can I hide specific user accounts from the Windows login screen?

To hide specific user accounts from the Windows login screen, you can make changes in the Registry Editor. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList, and create a new DWORD parameter for each user you want to hide. Set the username as the parameter name and its value as 0. This will hide those specific user accounts. To reverse this and show a hidden user on the login screen again, either delete the registry parameter or change its value back to 1.

I hope you found this article useful on how to Hide or Show User Accounts from Login Screen on Windows. Please let me know in the comment section if you have any questions.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:login, Microsoft Windows, User Account, Windows 10, Windows 11, Windows Server 2016

Post navigation

Previous Post: Fix Mendeley Cite Error has occurred: ECITE40001 (ac1x80sr)
Next Post: Clear Saved Email Address: Stop Microsoft Edge from remembering your email ID

Related Posts

  • xcdbfg
    Folder Access Denied, you require permission from SYSTEM: Unable to delete old Windows folder Windows
  • xxxxxx 1
    Have the taskbar appear on one or both displays in Windows Windows
  • Block ZIPRAR Attachments in Outlook 2016 – 2007
    How to Block ZIP/RAR Attachments in Outlook Windows
  • MDt
    Failure 5456: Unable to determine destination disk, partition, and/or drive, see BDD Log Windows
  • Explorer Error
    How to fix an attempt was made to reference a Token that does not exist Network | Monitoring
  • Fix Secure Boot certificate expiration
    Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows

More Related Articles

xcdbfg Folder Access Denied, you require permission from SYSTEM: Unable to delete old Windows folder Windows
xxxxxx 1 Have the taskbar appear on one or both displays in Windows Windows
Block ZIPRAR Attachments in Outlook 2016 – 2007 How to Block ZIP/RAR Attachments in Outlook Windows
MDt Failure 5456: Unable to determine destination disk, partition, and/or drive, see BDD Log Windows
Explorer Error How to fix an attempt was made to reference a Token that does not exist Network | Monitoring
Fix Secure Boot certificate expiration Enable Secure Boot: Fix Secure Boot certificates expiration [Part 1] Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • image 129
    How to deploy Ansible AWX on centos 8 Linux
  • How to Enable Time Limit to Disconnect Remote Desktop After Inactivity
    How to Enable Time Limit to Disconnect Remote Desktop After Inactivity Windows
  • BANNER
    How to Install and Set Lively Wallpaper on Windows 11 Windows
  • retrieve SSL
    How to Retrieve an SSL Thumbprint in Windows using MMC Windows
  • Copilot Microsoft
    How to Disable Copilot in Windows and Microsoft Edge Windows
  • Hub Transport 1
    Hub Transport Server: Resolving ‘Failed to Reach Running Status’ Network | Monitoring
  • linkyourandriodtoyourpc
    Microsoft Phone Link: Connect Android to Windows 11 Windows
  • screenshot 2020 02 13 at 22.47.41
    Active Directory Flexible Single-Master Operations Roles [FSMO] Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,762 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.