Windows Update Error 0x80073712 ("Files Needed Are Missing")? Repair the Component Store Right
A cumulative or security update fails with 0x80073712 — “Some files needed to install the update are missing” (ERROR_SXS_COMPONENT_STORE_CORRUPT). It means the component store (WinSxS) is damaged, so the updater can’t assemble the package.
Why the usual one-liner falls short: the standard advice is DISM /Online /Cleanup-Image /RestoreHealth then sfc /scannow. That’s correct — if the PC can reach Windows Update to pull replacement files. When the store itself is corrupt or the machine is offline/WSUS-managed, RestoreHealth errors out, and people loop on it. The reliable fix is giving DISM a clean repair source.
Fix 1: Standard repair (try once)
Admin Command Prompt:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Reboot, retry the update. Still 0x80073712? Don’t repeat — give it a source.
Fix 2: Repair from a matching Windows image
- Download the Windows ISO that matches your build (same version, e.g. 23H2/24H2) and mount it (say it becomes
D:). - Repair against it, blocking Windows Update so it uses your source:
(UseDISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:D:\sources\install.esd:1 /LimitAccessinstall.wiminstead ofinstall.esdif your ISO has a.wim; adjust the:1index for your edition.) - Reboot, run
sfc /scannow, then retry the update.
Fix 3: Reset Windows Update components
If the store repairs but the update still won’t apply, clear the download cache. Admin Command Prompt:
net stop wuauserv
net stop bits
ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
ren %systemroot%\System32\catroot2 catroot2.old
net start wuauserv
net start bits
Reboot and retry.
Fix 4: Match the corruption to a KB (advanced)
If DISM /Online /Cleanup-Image /RestoreHealth reports specific corrupt files in CBS.log, note your current build (UBR), find the matching KB on the Microsoft Update Catalog, and run DISM against that extracted payload — the targeted approach for stubborn store corruption.
FAQ
Will an in-place upgrade fix it? Yes — running setup.exe from the matching ISO (“Keep apps and files”) rebuilds the component store and is the dependable last resort if DISM /Source won’t.
0x80073712 vs 0x800f0831? Same family (store corruption). 0x800f0831 names a missing package; for that path see 0x800f0831 fix.
Sources: Microsoft Learn — Fix Windows Update errors (component store / DISM)