Windows 11 Release Guard

Local Windows Detection

Use this when documenting or changing installed-state detection. The evaluator must derive installed Windows state from build evidence before display labels.

Windows 11 Release Guard local detection model showing build evidence as authoritative and labels as diagnostic


Signal Map

SignalRole
RtlGetVersionHighest-trust running OS build signal.
DISM image versionStrong image/build consistency signal.
ntoskrnl.exe file versionKernel build consistency signal.
Registry build / UBRRaw diagnostic and build contributor.
WMI/CIM build fieldsOptional local build contributor.
DISM current editionPrimary edition context where available.
Registry EditionIDEdition fallback / diagnostic value.
GetProductInfoSecondary edition/SKU signal.
ProductName, WMI Caption, DisplayVersionDisplay and diagnostic labels only.

Why Display Labels Are Not Decisive

Windows machines can expose stale marketing strings while build signals identify the real branch. For example, raw local labels may still show Windows 10 Pro on a Windows 11 build family. The guard preserves the raw values for admins and flags conflicts instead of letting labels override build evidence.

Build And Policy Win

SituationResult
DisplayVersion=25H2 but build family maps to 24H2 in policy.Policy build-family map wins.
DisplayVersion=24H2 but build family maps to 25H2 in policy.Policy build-family map wins.
Unknown syntactic release label.Report unrecognized unless policy knows it.
Windows 10 client.OUT_OF_SCOPE unless major-upgrade recommendation is explicitly enabled.
Windows Server.OUT_OF_SCOPE unless server evaluation is explicitly enabled.

WUA Role

WUA evidenceUse
Available feature update titlesExplain whether target is offered.
Update historyIdentify previews, out-of-band updates, KBs, result codes.
Setup / servicing event correlationExplain likely blockers or prior failures.
Defender/.NET/driver noiseCount/classify separately from relevant OS updates.

WUA is read-only, optional, bounded, and explanatory.

Verify

pytest -q tests/test_local_state.py tests/test_evaluator.py tests/test_edge_cases.py
pytest -q tests/test_wua_probe.py tests/test_wua_diagnostics.py

Home | CLI and RMM Usage | Troubleshooting