Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » How to Hide or Show User Accounts from Login Screen on Windows 10 and 11
  • multcloud
    Best Way to Backup Dropbox to Box JIRA|Confluence|Apps
  • Enable autologon and autostart for user session
    Enable Autologon and Autostart for user session Windows
  • Fix invalid backup repostory and delete not needed repo via Veeam Backup Repository
    Fix missing path and delete a Veeam Backup Repository Backup
  • Nextcloud installation on macOS
    How to install Nextcloud on Mac JIRA|Confluence|Apps
  • article 1280x720.192a2586 1 2
    Fix error 0x800f0805, run DISM executable (Failure 5627) Windows Server
  • dev
    Disable Developer Tools in Microsoft Edge using Registry or Group Policy in Windows Windows
  • Task Scheduler Errors and Success Codes
    All Task Scheduler Errors and Success Codes Windows Server
  • http trace fiddler
    How to Disable HTTP TRACE Method for Apache, IIS, sunOne, and Lotus Domino Web Server

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

Posted on 05/10/202303/11/2023 Matthew By Matthew No Comments on 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.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to 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

  • Trellix BitLocker and fileVault Recovery
    Selfservice Recovery: Trellix BitLocker and fileVault Recovery Security | Vulnerability Scans and Assessment
  • Disable download in Microsoft Edge
    How to disable file download in Microsoft Edge Windows
  • screenshot 2020 02 07 at 21.59.33
    Prerequisites for setting up a Single and Multi App Kiosk Windows
  • How to fix Windows Update Fails with Error 0x80092004
    How to fix Windows Update Fails with Error 0x80092004 Windows
  • update set expire
    Windows 10 and Windows 11 updates will now expire for better performance Windows
  • original 1
    DISM “Failed to open image” CWimImageInfo Mount(hr:0x8007000d): Fix Error DISM WIM Provider Windows

More Related Articles

Trellix BitLocker and fileVault Recovery Selfservice Recovery: Trellix BitLocker and fileVault Recovery Security | Vulnerability Scans and Assessment
Disable download in Microsoft Edge How to disable file download in Microsoft Edge Windows
screenshot 2020 02 07 at 21.59.33 Prerequisites for setting up a Single and Multi App Kiosk Windows
How to fix Windows Update Fails with Error 0x80092004 How to fix Windows Update Fails with Error 0x80092004 Windows
update set expire Windows 10 and Windows 11 updates will now expire for better performance Windows
original 1 DISM “Failed to open image” CWimImageInfo Mount(hr:0x8007000d): Fix Error DISM WIM Provider 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

sysadmin top30a

  • multcloud
    Best Way to Backup Dropbox to Box JIRA|Confluence|Apps
  • Enable autologon and autostart for user session
    Enable Autologon and Autostart for user session Windows
  • Fix invalid backup repostory and delete not needed repo via Veeam Backup Repository
    Fix missing path and delete a Veeam Backup Repository Backup
  • Nextcloud installation on macOS
    How to install Nextcloud on Mac JIRA|Confluence|Apps
  • article 1280x720.192a2586 1 2
    Fix error 0x800f0805, run DISM executable (Failure 5627) Windows Server
  • dev
    Disable Developer Tools in Microsoft Edge using Registry or Group Policy in Windows Windows
  • Task Scheduler Errors and Success Codes
    All Task Scheduler Errors and Success Codes Windows Server
  • http trace fiddler
    How to Disable HTTP TRACE Method for Apache, IIS, sunOne, and Lotus Domino Web 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,839 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

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.