PRIMARY CATEGORY → WINDOWS MOVEMENT

Theory

UAC Configuration
Summary

Enumeration

UAC SLIDER LEVELNAMEEnableLUAConsentPromptBehaviorAdminPromptOnSecureDesktop
Level 4Always notify me121
Level 3 ( Default )Notify me only when apps try to make changes to my computer151
Level 2Notify me only when apps try to make changes to my computer, w/o dimming my desktop150
Level 1Never notify me100
UAC Status ( Enabled or not )

EnableLUA

  • Enabled1

  • Disabled0

CMD

reg query 'HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System' /v 'EnableLUA'

PS & CMD

(Get-ItemProperty -Path 'HKLM:Software\Microsoft\Windows\CurrentVersion\Policies\System').EnableLUA
UAC Level

ConsentPromptBehaviorAdmin

NAMEVALUE
Elevate w/o prompting0
Prompt for credentials on the secure desktop1
Prompt for consent on the secure desktop2
Prompt for credentials3
Prompt for consent4
Prompt for consent for Non-Windows binaries ( Default )5
Prompt for credentials for Non-Windows binaries6

CMD

reg query 'HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System' /v 'ConsentPromptBehaviorAdmin'

PS & CMD

(Get-ItemProperty -Path 'HKLM:Software\Microsoft\Windows\CurrentVersion\Policies\System').ConsentPromptBehaviorAdmin
Windows Version

PS

[environment]::OSVersion.Version

UAC Bypass