Pcornel
Windows · UAC

Admin Approval Mode

Cheat sheet · https://pcornel.dk/topic.php?topic=3002

Back to the Topic

Answer

Admin Approval Mode gives administrator accounts two tokens: a filtered standard token for normal use and a full token used only after an elevation prompt is approved.

Remember

  • Admins get a filtered standard token at logon.
  • Elevation uses the full admin token.
  • The prompt switches between them.

First 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

Verify in this order

admin logon → two tokens → standard by default → elevation on approval

Where it usually breaks

First mismatch in identity/token/certificate → policy source → security provider/enforcement → target resource → audit/detection evidence; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3002

Confirmation

Confirm action

Continue?