CheckHealth
Cheat sheet · https://pcornel.dk/topic.php?topic=3187
Answer
DISM /Online /Cleanup-Image /CheckHealth quickly reports whether the component store has been flagged as corrupt, without scanning. Run ScanHealth for a full check.
Remember
- CheckHealth only reads the corruption flag; it does not scan.
- It finishes in seconds.
- If it reports corruption, run ScanHealth or RestoreHealth.
First checks
DISM /Online /Cleanup-Image /CheckHealth— quick corruption flag checkDISM /Online /Cleanup-Image /ScanHealth— full scanDISM /Online /Cleanup-Image /RestoreHealth— repair from Windows Update or /Sourcesfc /scannow— verify/repair system filesGet-Content C:\Windows\Logs\CBS\CBS.log -Tail 50— servicing log
Verify in this order
reads corruption flag only (fast)
Where it usually breaks
First mismatch in source/package/image/device identity → servicing/setup configuration → installation/activation → reboot/boot/runtime → system/component health → user/workload validation; 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=3187