User Account Control
Cheat sheet · https://pcornel.dk/topic.php?topic=3000
Answer
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.
Remember
- Keep UAC enabled.
- It limits what malware can change.
- Prompt behaviour is set by policy.
First checks
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
Verify in this order
UAC policy → split token → prompts per policy
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=3000