How to Fix Windows Update Component Store Corrupted (CBS/WinSxS) on Windows
Windows Update failing with component store errors, DISM showing corruption, or WinSxS folder extremely large? Fix CBS and component store issues on Windows 10 and 11.
📖
Main Troubleshooting Guide
How to Fix Windows Update Errors →Complete symptoms, causes, and step-by-step solutions
Symptoms
You might be experiencing this problem if you notice:
- •DISM reports: "The component store has been corrupted"
- •Windows Update fails with error 0x800F081F or 0x80073712
- •sfc /scannow says: "found corrupt files but was unable to fix some of them"
- •WinSxS folder consuming 15GB+ of disk space
- •Windows Update keeps failing on the same KB update
- •"Error 14098 — The component store has been corrupted" during DISM
- •Optional features fail to install with component store errors
Common Causes
- ⚠Component store (WinSxS) metadata corrupted by failed update
- ⚠Hard shutdown during update installation damaging CBS database
- ⚠Disk errors corrupting component store files
- ⚠Incomplete cleanup of superseded update components
- ⚠Third-party system optimizer incorrectly deleting WinSxS files
- ⚠Multiple failed update attempts leaving orphaned components
- ⚠Corruption in the component-based servicing (CBS) log
Solutions
Solution 1: Repair Component Store with DISM
- 1Open Command Prompt as Administrator
- 2Step 1 — Check health: DISM /Online /Cleanup-Image /CheckHealth
- 3Step 2 — Scan health: DISM /Online /Cleanup-Image /ScanHealth (takes 10-15 minutes)
- 4Step 3 — Repair: DISM /Online /Cleanup-Image /RestoreHealth
- 5RestoreHealth downloads repair files from Windows Update
- 6If no internet: use a Windows ISO as source:
- 7DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim
- 8After DISM completes: run sfc /scannow → restart
Solution 2: Clean Up Component Store
- 1The WinSxS folder grows over time with superseded components:
- 2Open CMD as Admin: DISM /Online /Cleanup-Image /StartComponentCleanup
- 3For more aggressive cleanup: DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase
- 4WARNING: /ResetBase removes the ability to uninstall current updates
- 5Also run: DISM /Online /Cleanup-Image /AnalyzeComponentStore
- 6This shows how much space can be recovered
- 7Disk Cleanup → Clean up system files → Windows Update Cleanup also helps
Solution 3: Reset Windows Update + Component Store
- 1If DISM itself fails, manually reset update components:
- 2Open CMD as Admin and run these commands:
- 3net stop wuauserv && net stop cryptSvc && net stop bits && net stop msiserver
- 4ren C:\Windows\SoftwareDistribution SoftwareDistribution.bak
- 5ren C:\Windows\System32\catroot2 catroot2.bak
- 6net start wuauserv && net start cryptSvc && net start bits && net start msiserver
- 7Then re-run: DISM /Online /Cleanup-Image /RestoreHealth
- 8Followed by: sfc /scannow
Solution 4: In-Place Upgrade Repair (Nuclear Option)
- 1If component store corruption can't be repaired by DISM:
- 2Download the Windows ISO from microsoft.com (Media Creation Tool)
- 3Mount the ISO → run setup.exe
- 4Choose "Keep personal files and apps"
- 5This performs an in-place upgrade that replaces all system files
- 6Your apps, files, and settings are preserved
- 7This is the most thorough repair — it rebuilds the entire component store
- 8Takes 1-2 hours but fixes virtually all system corruption
FIXES THIS IN 5 MINUTES
Fix Windows Update Component Store Corrupted (CBS/WinSxS) Automatically
RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.
Download Now - Free TrialNo credit card required • Works on Windows 10 & 11