Use this when UAC causes access problems.
UAC Troubleshooting
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.
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.
logon → filtered token → elevation → separate token/session differences
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'Primary Commands
Configuration and operational commands for this Topic.
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'VerifyOperational 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 · configurationwhoami /groupsReferenceInspect effective Windows group token. Focus fields: user SID, group SIDs, attributes and enabled/deny-only token membership.
Use when: Use when isolating security--active-directory-security-ad-security-troubleshooting at the matching failure boundary.
Quick note: No illustrative output is seeded. Add captured or source-backed output only through the provenance-aware workflow.
Windows · servicewhoami /privReferenceRead-only observation for privileges present and enabled in the current token.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · control planeVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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.
- Mapped drives are not visible in elevated sessions by default.
- Remote local admin accounts get filtered tokens.
- Apps without a manifest may fail.
whoami /groups | findstr Level— integrity level of the current tokenGet-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System | Select EnableLUA,ConsentPromptBehaviorAdmin— UAC settingsStart-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
| Symptom | Cause | Check / fix |
|---|---|---|
| Admin tool says "access denied" although the user is an admin | Running with the filtered token | Run elevated; whoami /groups shows Administrators deny only when not elevated |
| Mapped drives missing in an elevated prompt | Drives 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 network | Use domain accounts; LAPS-managed local admin only interactively |
| Application cannot write to Program Files / HKLM | Not elevated; legacy app relied on virtualization | Fix permissions narrowly or update the app |
| Installer prompts repeatedly | Each child process requests elevation | Run the installer elevated from the start |
| Drag-and-drop into an elevated window fails | UIPI blocks lower to higher integrity | Run both at the same level |
| No UAC prompt; silent elevation | Policy 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
| Value | Recommended |
|---|---|
| EnableLUA | 1 (0 disables UAC entirely and breaks modern apps) |
| ConsentPromptBehaviorAdmin | 2 (consent on secure desktop) or 5 (default) |
| PromptOnSecureDesktop | 1 |
| LocalAccountTokenFilterPolicy | Absent/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.*
Method
UAC troubleshooting resolves applications that fail without elevation, unexpected prompts, and admin tasks that report access denied for administrators.
| Symptom | Explanation | Fix |
|---|---|---|
| Admin gets access denied | Filtered token until elevated | Run as administrator |
| Mapped drives missing in elevated apps | Drives mapped in non-elevated session | Map in both sessions or use UNC paths |
| Remote admin fails with local accounts | LocalAccountTokenFilterPolicy filters remote tokens | Use domain accounts; avoid disabling the filter |
| App writes to Program Files fails | Needs elevation or virtualisation | Fix app or install per-user |
| No prompt, silent failure | UAC policy set to deny for standard users | Use proper deployment tools |
whoami /groups | find "Mandatory Label"
Avoid disabling UAC; fix the application or provide elevation through managed tools.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%