Windows 11 Release Guard

CLI And RMM Usage

Use this when integrating Windows 11 Release Guard into scripts, RMM tools, dashboards, or compliance checks.


Common Commands

NeedCommand
Human outputpython -m win11_release_guard --pretty
Compact JSONpython -m win11_release_guard --json --no-wua
Pretty JSONpython -m win11_release_guard --json-pretty --no-wua
UTF-8 console JSONpython -m win11_release_guard --json --unicode
Write output filepython -m win11_release_guard --json --output release-check.json
Include full bounded WUA historypython -m win11_release_guard --json --include-raw-wua-history --wua
Include raw local Panther/setup log tailspython -m win11_release_guard --json-pretty --include-raw-local-diagnostics
Diagnose configpython -m win11_release_guard --diagnose-config
Check source onlypython -m win11_release_guard --check-policy-source

Exit Codes

CodeStatus
0COMPLIANT or source check passed.
1FEATURE_UPDATE_REQUIRED, QUALITY_UPDATE_REQUIRED, or preview remediation when configured.
2UNKNOWN_LOCAL_RELEASE, CHECK_INCOMPLETE, or policy/source problem.
3ABOVE_BROAD_TARGET_OR_SPECIAL_RELEASE.
10CLI argument error.

RMM Defaults

SettingRecommendation
Source modeUse default public signed policy URL.
WUAKeep off for fast compliance checks; enable for diagnostics.
OutputUse JSON or JSON-pretty.
Production gateUse --strict-production.
CacheAccept as degraded evidence, not production green in strict mode.

JSON Fields To Watch

FieldMeaning
statusPrimary verdict.
candidate_statusLocal candidate verdict when strict source gating masks it.
local_scope_statusOut-of-scope candidate for Windows 10/Server in strict degraded paths.
source_statusRemote/cache/bundled/unavailable source state.
is_source_check_completeWhether source requirements were fully satisfied.
policy_signature_statusSignature trust state.
feed_age_daysAge of live policy feed where available.

Default JSON compacts bulky local Panther/setup log tails and emits omission markers such as content_omitted, content_chars, and content_bytes_utf8. Use --include-raw-local-diagnostics only when troubleshooting needs the raw bounded local log tails. Panther/setup logs are administrator troubleshooting evidence only; they never decide compliance or override the signed public policy verdict. Panther reads use fixed known paths, per-file tail reads, and a deliberately generous global collection guard to keep IO predictable without constraining normal trusted troubleshooting.

Verify

python -m win11_release_guard --json-pretty --no-wua
python -m win11_release_guard --diagnose-config
pytest -q tests/test_cli.py tests/test_output_encoding.py

Home | Configuration | Troubleshooting