Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

UAC Troubleshooting

Direct answer

Troubleshoot UAC issues by checking whether the app needs elevation, local account remote restrictions (LocalAccountTokenFilterPolicy), mapped drives missing in elevated sessions and UAC policy settings.

When to use this

Use this when UAC causes access problems.

First 30 seconds

1. Works only when run as administrator → needs elevation or the app writes to protected paths.

2. Mapped drives missing when elevated → EnableLinkedConnections or use UNC.

3. Remote admin denied → LocalAccountTokenFilterPolicy for local accounts (understand the risk).

4. Check policies with gpresult.

5. Fix the app or the permission, not UAC itself.

Operational verification

logon → filtered token → elevation → separate token/session differences

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows security · Windows · Windows / PowerShell
Key commandGet-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
Scope / prerequisiteUse this when UAC causes access problems.
Verify · 1Reference · 2
What next?3 suggested next steps
Catalog command links3
Evidence0
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'Verify
Read Windows UAC policy registry state

Operational command for Read Windows UAC policy registry state. Focus fields: EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values.

Use when: Use when working the canonical Topic windows--uac-uac-troubleshooting and the matching failure boundary.

Quick note: Known-good: UAC policy values match the intended baseline and effective management source. Suspicious: values differ from baseline or indicate UAC disabled/unexpected prompt behavior. Next discriminating check: identify the owning local/GPO policy before changing registry values directly.

Windows · configuration
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verify UAC with token elevation state and the original privileged operation Verify boundary

Capture the affected process user SID, integrity level and elevation type, then expect an administrative operation that requires elevation to run under the intended elevated token while the normal process remains filtered. Verify the relevant UAC policy values are effective after any policy refresh/restart requirement and repeat the exact original privileged action against the same resource. Confirm the resource ACL/privilege is satisfied independently. A High-integrity process shows elevation occurred, but it does not show the application is authorized to every target or that UAC should be disabled.

Step 2 Branch UAC failures at token filtering, elevation prompt, policy and resource authorization Narrow the fault

If an administrative task fails under UAC, first compare the process token/integrity level with an explicitly elevated process. If elevation is never offered or is blocked, inspect application manifest and effective UAC policy; if elevation succeeds but access is still denied, troubleshoot the target ACL/privilege rather than UAC. If only remote administration fails for a local administrator, inspect remote UAC token filtering separately. If behavior differs by machine, compare the same effective policy values instead of merely checking group membership. Disabling UAC is not a valid diagnostic substitute for identifying the denied boundary.

Step 3 Common mistakes Narrow the fault
  • Testing with a different account type than the users.
Key points
  • Mapped drives are not visible in elevated sessions by default.
  • Remote local admin accounts get filtered tokens.
  • Apps without a manifest may fail.
Key checks
  • whoami /groups | findstr Level — integrity level of the current token
  • Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System | Select EnableLUA,ConsentPromptBehaviorAdmin — UAC settings
  • Start-Process <app> -Verb RunAs — start elevated
ReferenceWhy it matters1 section · depth on demand

UAC behavior depends on split tokens, elevation policy, integrity level and application manifest

UAC Troubleshooting separates account group membership from the token actually used by a process. An administrator can log on with a filtered standard token and receive a separate elevated token only after consent/credential policy allows it. Integrity level, virtualization, application manifest requestedExecutionLevel, remote UAC restrictions and Admin Approval Mode can change behavior without changing NTFS ACLs. A command prompt opened as administrator is a different security context from the original process. Record process identity, elevation type/integrity level and effective UAC policy before disabling UAC or changing ACLs.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Symptom → cause

SymptomCauseCheck / fix
Admin tool says "access denied" although the user is an adminRunning with the filtered tokenRun elevated; whoami /groups shows Administrators deny only when not elevated
Mapped drives missing in an elevated promptDrives are mapped per token (linked connections)Map again in the elevated session, or EnableLinkedConnections (understand the trade-off)
Remote admin with a local account fails (C$, WMI, remote PowerShell)UAC remote restrictions filter local accounts over the networkUse domain accounts; LAPS-managed local admin only interactively
Application cannot write to Program Files / HKLMNot elevated; legacy app relied on virtualizationFix permissions narrowly or update the app
Installer prompts repeatedlyEach child process requests elevationRun the installer elevated from the start
Drag-and-drop into an elevated window failsUIPI blocks lower to higher integrityRun both at the same level
No UAC prompt; silent elevationPolicy lowered ("Elevate without prompting")Restore the recommended policy

Microsoft's UAC documentation explains the split token and integrity levels behind these symptoms.

Inspect the current token

C:\> whoami /groups | findstr /i "Mandatory Administrators"
C:\> whoami /priv

Medium Mandatory Level = not elevated; High Mandatory Level = elevated.

Policy settings to compare

Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System |
  Select EnableLUA, ConsentPromptBehaviorAdmin, ConsentPromptBehaviorUser, PromptOnSecureDesktop, FilterAdministratorToken, LocalAccountTokenFilterPolicy
ValueRecommended
EnableLUA1 (0 disables UAC entirely and breaks modern apps)
ConsentPromptBehaviorAdmin2 (consent on secure desktop) or 5 (default)
PromptOnSecureDesktop1
LocalAccountTokenFilterPolicyAbsent/0

Application compatibility

For legacy apps that need admin rights, prefer: fixing file/registry ACLs for the specific paths (Procmon shows them), an application manifest, or a scheduled task running elevated — rather than lowering UAC for everyone.

*The access-token and UAC policy queries are worked examples; no real user token or policy export is provided.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

UAC troubleshooting resolves applications that fail without elevation, unexpected prompts, and admin tasks that report access denied for administrators.

SymptomExplanationFix
Admin gets access deniedFiltered token until elevatedRun as administrator
Mapped drives missing in elevated appsDrives mapped in non-elevated sessionMap in both sessions or use UNC paths
Remote admin fails with local accountsLocalAccountTokenFilterPolicy filters remote tokensUse domain accounts; avoid disabling the filter
App writes to Program Files failsNeeds elevation or virtualisationFix app or install per-user
No prompt, silent failureUAC policy set to deny for standard usersUse proper deployment tools
whoami /groups | find "Mandatory Label"

Avoid disabling UAC; fix the application or provide elevation through managed tools.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows security current

Authoritative/upstream documentation reviewed for bounded claims in UAC → UAC Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows/win32/secauthz/access-control · confidence 94%
Confirmation

Confirm action

Continue?