Use this when explaining or configuring User Account Control.
User Account Control
User Account Control limits the damage malware and mistakes can do by running users without admin rights until elevation is approved. Keep it enabled; turning it off also weakens other protections.
1. EnableLUA = 1?
2. ConsentPromptBehaviorAdmin / User values per baseline.
3. Secure desktop prompt enabled.
4. Policies via GPO: Security Options → User Account Control.
5. Test an elevation.
UAC policy → split token → prompts per policy
Context & applicabilityCommon mistakes · platform/version boundaries
- Disabling UAC entirely (
EnableLUA=0), which also breaks modern apps and removes a security boundary layer. - Users working daily as local administrators — use standard accounts and LAPS-managed admin accounts.
- Setting
ConsentPromptBehaviorAdmin=0(elevate without prompting). - Remote UAC token filtering disabled (
LocalAccountTokenFilterPolicy=1), enabling pass-the-hash with local accounts.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Keep UAC enabled.
- It limits what malware can change.
- Prompt behaviour is set by policy.
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
Settings that matter
| Setting | Recommended |
|---|---|
UAC enabled (EnableLUA) | 1 — disabling it breaks the security model and Store apps |
| Admin prompt behaviour | Prompt for consent on the secure desktop |
| Standard user prompt | Prompt for credentials (or automatically deny) |
| Elevate only signed and validated executables | Optional hardening |
UAC is not a security boundary against a determined attacker who already has admin rights; the real protection is giving users standard accounts.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
UAC registry settings under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System:
| Value | Meaning |
|---|---|
EnableLUA | 1 = UAC on (0 disables UAC and breaks modern apps) |
ConsentPromptBehaviorAdmin | 2 = secure desktop consent, 5 = default (consent for non-Windows binaries) |
PromptOnSecureDesktop | 1 = dimmed secure desktop |
LocalAccountTokenFilterPolicy | 1 = full admin token for local accounts over the network (weakens pass-the-hash protection) |
FilterAdministratorToken | 1 = RID-500 admin also filtered |
Windows 11 is adding Administrator Protection (a separate hidden admin account used for each elevation) as a stronger successor.
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 → User Account Control. 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%