How to hide Administrator account in UAC prompt on Windows 10

Do you want to hide the Administrator account in UAC prompt on your System? Well, this is pretty easy. User Account Control (UAC) is basically a part of the Windows Security System that appears when users try to install a new app. The sole function of this is to restrict applications from making unwanted changes on the PC.

In general, the UAC prompt displays administrative accounts using which you can elevate a program. However, if you do want to prevent guest users from installing new apps, you can hide the administrator account on this dialog. Once disabled, local users can use a UAC prompt with a valid username and password. Windows 10 Pro, Education, and Enterprise users can use group policy editor whereas Home users need to use Registry Editor to change the default settings. Let’s explore this in detail-

Hide Administrator Account on Windows 10

Here, we describe two different methods to hide the administrator account in the UAC prompt on your device. They are:

1] Using Group Policy Editor

This setting is applicable only for Windows Pro and Enterprise users. Here are the steps to follow-

  • At first, press Win+ R hotkey together to open the Run dialog.
  • Here type gpedit.msc at void then press Enter to start Group Policy Editor.
  • On the new window, navigate to the following path-

Computer Configuration\Administrative Templates\Windows Components\Credential User Interface

  • Double-click on the policy button i.e. Enumerate administrator accounts on elevation.

Hide administrator account

  • Now set it as disabled on the top left corner (see the snapshot above).
  • At last, hit apply followed by the OK button.

Reboot your PC so that changes made to GPE are saved and comes into effect from the next login.

Note: Windows 10 Home users may not perform the above activity on their System as this section is not available. They can hide administrator account in the UAC prompt using registry tweaks (see the workaround below).

2] Using Registry Editor

Follow these steps to hide the administrator account on the UAC prompt using registry tweaks.

  • Make a right-click on the Start button and select the Run option from the list.
  • Now, type Regedit in the blank box followed by OK, this will open Registry Editor.
  • Here, on the new window copy/paste or type the following path in the address bar (See Snapshot).

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Policies\CredUI

  • In case, there is no such key under the Policies section, create one and name this one CredUI.

Hide Administrator account in UAC

  • Succeeding after create a new 32-bit DWORD entry and set its value to EnumerateAdministrators. If an entry is already present there, modify its value.
  • Make sure to put “0” in the Value data to activate its feature. In general, value data remain empty, putting ‘1’ in this field can force disable it.

Note: Even if you are using a 64-bit Windows 10, you must create a 32-bit DWORD value.

At last, close all current windows then reboot your PC so that tweaks applied here come into effect.

Soni Aryan

Soni Aryan

Soni Kumari is a tech enthusiast known for her expertise in how-to type topics and Windows troubleshooting articles. She loves exploring how to do things or tweaks in Android, iPhone, and other operating systems.