Windows
Read Windows UAC policy registry state
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
Operational command for Read Windows UAC policy registry state. Focus fields: EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values.
Use when working the canonical Topic windows--uac-uac-troubleshooting and the matching failure boundary.
identify the owning local/GPO policy before changing registry values directly
Privilege Use an account/context authorized for this observation; do not broaden scope unnecessarily.State impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy valuesImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
This command directly exposes EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values for the selected object/context at execution time.
It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
identify the owning local/GPO policy before changing registry values directly
Command guidance
Execution context
Windows
Use when
Use when working the canonical Topic windows--uac-uac-troubleshooting and the matching failure boundary.
Important fields
EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values
Common problems
Common mistakes: wrong object, node, VRF/namespace, time window, or treating a management-plane status as workload proof.
Operational impact
Read-only observation; runtime cost still depends on platform and result size.
Runtime cautions
Capture the command, selected scope and timestamp so the result can be correlated with the original test.
Technical context
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.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Illustrative Known-good interpretationKnown-good · Windows
Illustrative state cue only; not captured output: UAC policy values match the intended baseline and effective management sourcehealthy
Read Windows UAC policy registry state — Known-good. Inspect EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values. Observed cue: UAC policy values match the intended baseline and effective management source. This supports only the state returned by Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: identify the owning local/GPO policy before changing registry values directly. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.identify the owning local/GPO policy before changing registry values directly
Illustrative Transitional interpretationTransitional · Windows
Illustrative state cue only; not captured output: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.transitional
Read Windows UAC policy registry state — Transitional. Inspect EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values. Observed cue: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.. This supports only the state returned by Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: identify the owning local/GPO policy before changing registry values directly. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.identify the owning local/GPO policy before changing registry values directly
Illustrative Broken interpretationBroken · Windows
Illustrative state cue only; not captured output: values differ from baseline or indicate UAC disabled/unexpected prompt behaviorbroken
Read Windows UAC policy registry state — Broken. Inspect EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values. Observed cue: values differ from baseline or indicate UAC disabled/unexpected prompt behavior. This supports only the state returned by Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: identify the owning local/GPO policy before changing registry values directly. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes EnableLUA, ConsentPromptBehaviorAdmin, PromptOnSecureDesktop and related policy values for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.identify the owning local/GPO policy before changing registry values directly