Pcornel
Windows · DISM & System Repair

Component Store Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3190

Back to the Topic

Answer

Troubleshoot the component store by running DISM ScanHealth and RestoreHealth, reading C:\Windows\Logs\DISM\dism.log and CBS.log, and providing a matching install.wim as /Source if Windows Update cannot be used.

Remember

  • The repair source must match the installed build exactly.
  • dism.log and CBS.log name the failing component.
  • WSUS-managed clients may not reach Windows Update for sources.

First checks

  • DISM /Online /Cleanup-Image /CheckHealth — quick corruption flag check
  • DISM /Online /Cleanup-Image /ScanHealth — full scan
  • DISM /Online /Cleanup-Image /RestoreHealth — repair from Windows Update or /Source
  • sfc /scannow — verify/repair system files
  • Get-Content C:\Windows\Logs\CBS\CBS.log -Tail 50 — servicing log

Verify in this order

failure → logs name the component → correct source → repair

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=3190

Confirmation

Confirm action

Continue?