Pcornel
Windows · DISM & System Repair

Component Store

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

Back to the Topic

Answer

The component store (WinSxS) holds all Windows components and their versions, used for installing updates, features and repairs. sfc and DISM use it as the source for good copies of system files.

Remember

  • The component store is the source for updates, features and sfc repairs.
  • Hard links make WinSxS look bigger than it is.

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

component store holds all OS component versions → servicing source

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

Confirmation

Confirm action

Continue?