Use this when updates or features fail because the component store is damaged.
Component Store
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.
1. Health: /CheckHealth.
2. Size: DISM /Online /Cleanup-Image /AnalyzeComponentStore.
3. Cleanup: /StartComponentCleanup (removes superseded).
4. Repair when corrupt.
5. Don't delete WinSxS manually.
component store holds all OS component versions → servicing source
Context & applicabilityCommon mistakes · platform/version boundaries
- Running
/ResetBasebefore testing updates. - Deleting component files manually.
- Ignoring
/AnalyzeComponentStorerecommendations (Component Store Cleanup Recommended: Yes).
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
Dism /Online /Cleanup-Image /AnalyzeComponentStore
Dism /Online /Get-Packages /Format:Table
Look for Component Store Cleanup Recommended : Yes and old superseded packages.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- The component store is the source for updates, features and sfc repairs.
- Hard links make WinSxS look bigger than it is.
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
ReferenceWhy it matters1 section · depth on demand
What the component store does
Holds every component version needed to install, update, repair and uninstall features. Windows Update, DISM and SFC repair system files from it. Clean superseded components: DISM /Online /Cleanup-Image /StartComponentCleanup (add /ResetBase to remove the ability to uninstall installed updates).
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
The component store (C:\Windows\WinSxS) holds all OS components and their versions; Windows installs, repairs and removes features from it. Corruption causes failed updates, features that cannot be added and SFC unable to repair files.
Dism /Online /Cleanup-Image /AnalyzeComponentStore
Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase # removes superseded versions; updates can no longer be uninstalled
The repair sequence: CheckHealth → ScanHealth → RestoreHealth → sfc /scannow.
ReferenceConfiguration & state1 section · depth on demand
Commands
Dism /Online /Cleanup-Image /AnalyzeComponentStore
Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase # no uninstall of current updates afterwards
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in DISM & System Repair → Component Store. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/what-is-dism · confidence 94%