Skip to content
Follow
Windows

How to Show or Hide Administrator Accounts in Windows 11 UAC Prompt

Richard
Written by
Richard
Feb 6, 2026 Updated Sep 15, 2026 4 min read
How to Show or Hide Administrator Accounts in Windows 11 UAC Prompt
How to Show or Hide Administrator Accounts in Windows 11 UAC Prompt

The User Account Control (UAC) prompt (a security screen that asks for your permission before apps make changes) lets you show or hide administrator accounts on Windows 11. Changing this setting controls who sees administrative usernames on your computer.

Advertisement

Hiding these accounts blocks other people from seeing administrator names when a password prompt appears, which adds extra privacy to your PC. You can change this setting on Windows 11 Pro and Home editions using the Local Security Policy tool or the Registry Editor (an advanced database for Windows settings ).

⚡ Quick Answer

To show or hide administrator accounts in the UAC prompt, use the Local Group Policy Editor or Registry Editor. In Group Policy, set “Enumerate administrator accounts on elevation” to Enabled to show or Disabled to hide. In the Registry, create or modify the “EnumerateAdministrators” DWORD value to 1 to show or 0 to hide.

Advertisement

What is UAC?

User Account Control (UAC) is a Windows security feature that prevents unwanted changes to a PC. When a user attempts an action requiring administrator permission, Windows displays a pop-up window asking for the administrator password. Protecting computer stability and security drives the purpose of this prompt.

Why Use This Feature?

Hiding administrator accounts adds an extra security layer in Windows 11. Requiring both the administrator username and password blocks casual access attempts. Showing administrator accounts speeds up password entry when the correct account is already known.

Method 1Using Local Group Policy Editor (🪟 Windows 11 Pro, Enterprise, or Education)

The Local Group Policy Editor lets Windows 11 Pro, Enterprise, and Education users choose if administrator accounts appear on the Windows 11 UAC prompt. To use this method, press the Win plus R, type gpedit.msc into the Run box, and press Enter to open the policy editor window.

  1. Open the Local Group Policy Editor %📂%ADMIN%%
    Press Win+R to open the Run box. Type gpedit.msc and press Enter.
  2. Navigate to the correct folder
    In the window that opens, go to: Computer Configuration > Administrative Templates > Windows Components > Credential User Interface
  3. Click on the Credential User Interface folder
    You’ll see it listed on the left side.
  4. Find and open the setting
    On the right, find and double-click Enumerate administrator accounts on elevation.
  5. Choose your option
    You’ll see three choices:
    • Enabled: Shows all administrator accounts in the UAC prompt.
    • Disabled: Hides the admin accounts. You must type the admin username and password.
    • Not Configured: Same as Disabled. Admin accounts are hidden.
  6. Save your changes
    Click OK to save.
  7. Restart your computer
    Your PC needs to restart for the changes to work.
Windows 11 showing administrator accounts in UAC prompt
Windows 11 showing administrator accounts in UAC prompt

Advertisement

Method 2Using Registry Editor (All 🪟 Windows 11 Editions)

The Registry Editor lets all Windows 11 editions, including Home, show or hide administrator accounts on the Windows 11 UAC prompt. You open the registry tool by typing regedit into the Run dialog box, but you must follow the correct folder path to avoid system errors.

Proceed carefully through the Windows Registry (a hierarchical database storing system settings). Mistakes here can cause system instability. Following each step precisely matters a lot. Backing up the registry beforehand provides a helpful safety net.

  1. Open the Registry Editor %%ADMIN%%
    Press Windows key + R. Type regedit and press Enter.
  2. Navigate to the correct location
    Go to this path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI
  3. Create the folder if needed
    If the CredUI folder doesn't exist, you need to create it. Right-click on Policies. Choose New > Key. Name it CredUI.
  4. Create a new value
    Right-click on the right side of the CredUI folder. Choose New > DWORD (32-bit) Value.
  5. Name the new value
    Name it EnumerateAdministrators.
  6. Set the value
    Double-click the new EnumerateAdministrators value. Set Base to Decimal. Then enter one of these numbers:
    • 0 to hide administrator accounts in the UAC prompt.
    • 1 to show administrator accounts in the UAC prompt.
  7. Save and close
    Click OK and close the Registry Editor.
  8. Restart your computer
    Your PC needs to restart to see the changes.
Windows 11 Registry Editor showing CredUI key
Windows 11 Registry Editor showing CredUI key

Setting DWORD value to show or hide administrator accounts
Setting DWORD value to show or hide administrator accounts

Advertisement

What Happens When You Change This Setting?

Changing your Windows 11 UAC prompt settings switches the security window between showing a list of clickable administrator accounts and requiring a manual username entry. If you hide the accounts, the prompt shows a blank login box instead, meaning you must type both your username and password by hand every time.

Setting the value to 0 (hide accounts) leaves a blank field the next time UAC asks for permission. Typing the full admin account name and password yourself becomes mandatory.

Summary

Controlling how administrator accounts appear on your Windows 11 UAC prompt is easy once you pick the right tool for your specific Windows version. You can use the Local Group Policy Editor on Pro and Enterprise editions, or the Registry Editor on Windows Home, to switch between a visual list of accounts and a manual login field.

  • Use the Local Group Policy Editor for Windows 11 Pro and above.
  • Use the Registry Editor for all Windows 11 editions, including Home.
  • Always restart your PC after making these changes for them to work.

User Account Control (UAC) is a security feature in Windows 11 that helps prevent unauthorized changes to a computer. Understanding UAC better or learning how to run applications with administrator rights comes down to consulting dedicated guides explaining these processes.

Advertisement

Change UAC Behavior for Standard Users in Windows 11

How to Run an App as Administrator in Windows 11

How to Open the Registry Editor in Windows 11

Leaving a comment below helps share tips or ask questions whenever needed.

Advertisement

How to enable UAC prompt?

Changing the UAC behavior involves opening the Control Panel System and Security Change User Account Control settings. Moving the slider to the desired level of notification and selecting OK saves the changes.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Advertisement

📚 Related Tutorials

How to Reset Group Policy Windows 11 to Default
Windows How to Reset Group Policy Windows 11 to Default
How to Enable UAC Administrator Display in Windows 11
Windows How to Enable UAC Administrator Display in Windows 11
How to Disable UAC in Windows 11 for Standard Users
Windows How to Disable UAC in Windows 11 for Standard Users
How to Change UAC Prompt Behavior in Windows 11
Windows How to Change UAC Prompt Behavior in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *