How Regedit Interacts with UAC for Standard Users

When a standard user attempts to open the Windows Registry Editor (Regedit), User Account Control (UAC) acts as a strict security barrier by demanding full administrative elevation before the application can start. This article explains the technical mechanics behind this interaction, detailing the UAC credential prompt, the shifting of user security contexts, and the behavior when elevation is approved or denied.

Regedit’s Embedded Privilege Requirement

Regedit is designed to modify critical operating system configurations, services, and hardware settings. To prevent unauthorized alterations, Microsoft embeds an application manifest within regedit.exe that explicitly sets the execution level to requireAdministrator.

Because of this manifest, Windows will never attempt to run Regedit under a standard, non-elevated user token.

The UAC Over-the-Shoulder Credential Prompt

When a user with a standard account executes Regedit (via the Start Menu, Run dialog, or command line), the following occurs:

  1. Detection: The Application Information (Appinfo) service identifies that regedit.exe requests administrative privileges.
  2. Evaluation: The system checks the calling user’s access token and determines it lacks administrative rights.
  3. The Prompt: Instead of a simple “Yes/No” consent prompt (which is shown to users already in the local Administrators group), UAC triggers an “Over-the-Shoulder” (OTS) credential prompt.
  4. Requirement: The prompt requires the username and password of an existing local or domain administrator account to proceed.

Outcomes of the UAC Interaction

1. If Elevation is Granted (Admin Credentials Provided)

If valid administrator credentials are submitted, Windows creates a new security token with full administrative privileges under the identity of that administrator.

2. If Elevation is Denied (Cancelled or Invalid Credentials)

If the standard user clicks “No”, closes the UAC dialog, or fails to provide valid credentials:

Viewing the Registry Without Administrative Elevation

While the graphical Regedit interface strictly requires UAC elevation, standard users can still read non-protected areas of the registry using command-line tools without triggering a UAC prompt: