How to Show or Hide Administrator Accounts in Windows 11 UAC Prompt
The User Account Control (UAC) prompt in Windows 11 is the security pop-up that asks for your permission before letting apps make changes to your PC. Windows 11 lets you show or hide the list of administrator accounts on this screen so you can control who sees administrative access.
Hiding these accounts prevents other people from seeing administrator names on your login screen, adding an extra layer of privacy and safety to your computer. You can change this setting using the Local Security Policy tool or the Registry Editor on Windows 11 Pro and Home editions.
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.
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)
Windows 11 Pro, Enterprise, and Education users can control whether administrator accounts appear on the User Account Control (UAC) prompt. Deciding if a list of admin accounts shows up or if typing the username manually is required happens right through this configuration.
- Open the Local Group Policy Editor %📂%ADMIN%%
Press Win+R to open the Run box. Typegpedit.mscand press Enter. - Navigate to the correct folder
In the window that opens, go to:Computer Configuration > Administrative Templates > Windows Components > Credential User Interface - Click on the Credential User Interface folder
You’ll see it listed on the left side. - Find and open the setting
On the right, find and double-clickEnumerate administrator accounts on elevation. - 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.
- Save your changes
Click OK to save. - Restart your computer
Your PC needs to restart for the changes to work.

Method 2Using Registry Editor (All 🪟 Windows 11 Editions)
Windows 11 Home users and others can show or hide administrator accounts on the User Account Control (UAC) prompt by using the Registry Editor. Making specific changes to the Windows Registry achieves the desired outcome for the UAC prompt here.
Proceed carefully through the Windows Registry (a hierarchical database storing critical system and application settings), because mistakes here can cause system instability. Following each step precisely matters a lot. Backing up the registry beforehand provides a helpful safety net.
- Open the Registry Editor %%ADMIN%%
Press Windows key + R. Typeregeditand press Enter. - Navigate to the correct location
Go to this path:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CredUI - Create the folder if needed
If the CredUI folder doesn't exist, you need to create it. Right-click onPolicies. ChooseNew > Key. Name itCredUI. - Create a new value
Right-click on the right side of the CredUI folder. ChooseNew > DWORD (32-bit) Value. - Name the new value
Name itEnumerateAdministrators. - Set the value
Double-click the newEnumerateAdministratorsvalue. Set Base to Decimal. Then enter one of these numbers:0to hide administrator accounts in the UAC prompt.1to show administrator accounts in the UAC prompt.
- Save and close
Click OK and close the Registry Editor. - Restart your computer
Your PC needs to restart to see the changes.


What Happens When You Change This Setting?
Changing this UAC setting makes the prompt display either a list of admin accounts or a blank field. Hiding accounts means entering the full admin username and password manually whenever the UAC prompt appears.
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
Managing whether the Windows 11 User Account Control (UAC) prompt displays administrator accounts or asks for manual username entry remains entirely possible. Utilizing the Local Group Policy Editor for Windows 11 Pro and higher, or the Registry Editor for all editions including Home, accomplishes these changes.
- 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.
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.
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?
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.
No comments yet — be the first to share your thoughts!