Skip to main content
Microsoftintermediate

Fix Error 0x80073712 - ERROR_SXS_COMPONENT_STORE_CORRUPT

Fix Windows Update error 0x80073712 (ERROR_SXS_COMPONENT_STORE_CORRUPT) and the "Some update files are missing or have problems" message. DISM RestoreHealth, offline source repair with install.wim, and in-place repair upgrade.

7 min readUpdated August 2026

Windows Update fails and reports error 0x80073712, sometimes with the message "Some update files are missing or have problems. We'll try to download the update again later." The code is ERROR_SXS_COMPONENT_STORE_CORRUPT, and it means exactly what it says: the Windows component store is damaged.

Some update files are missing or have problems.
We'll try to download the update again later.
Error code: (0x80073712)

Retrying the update will not help. Windows builds every update from files in the component store (C:\Windows\WinSxS), and if that store is inconsistent, there is nothing to build from. You have to repair the store first.

Quick Fix: DISM Then SFC

Open Command Prompt or PowerShell as administrator and run these in order:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Reboot, then retry the update.

The order is not optional. DISM repairs the component store itself, pulling clean replacement files from Windows Update. SFC repairs protected system files by copying good versions out of the component store. Running SFC first just copies from a store you already know is broken.

DISM /RestoreHealth can take 15–30 minutes and often appears to hang at 20 percent or 62.3 percent. It is not stuck. Leave it alone.

Expected success output:

The restore operation completed successfully.
The operation completed successfully.

Why the Component Store Gets Corrupted

The component store is the servicing database for the whole operating system. It goes inconsistent for a few recognisable reasons:

  1. Interrupted updates — power loss, a forced reboot, or a battery dying mid-servicing leaves a package half-applied.
  2. Disk errors — bad sectors under C:\Windows\WinSxS silently damage payload files.
  3. Security software — third-party antivirus quarantining or locking files inside WinSxS.
  4. Manual "cleanup" — registry cleaners, WinSxS folder deletions, and disk-space tools that do not understand hard links.
  5. Failed feature-update rollback — an in-place upgrade that reverted partway.

Point 4 deserves emphasis. Never delete anything from C:\Windows\WinSxS directly. The folder looks enormous because it is full of hard links to files that exist elsewhere; its real disk consumption is far smaller than Explorer reports, and deleting from it is a reliable way to produce this exact error.


Advertisement

If DISM Fails: Repair from a Local Source

If DISM reports 0x800f081f — "The source files could not be found" — it could not reach a usable source. This happens when Windows Update is itself broken, when a proxy or firewall blocks it, or when the device is pointed at a WSUS server that does not host the payload.

Supply the files yourself:

  1. Run winver and note the version and build number (for example, 24H2, build 26100.xxxx).
  2. Download the matching Windows ISO from Microsoft and mount it by double-clicking. Note the drive letter it gets — assume E: below.
  3. Run:
DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\sources\install.wim:1 /LimitAccess

/LimitAccess tells DISM not to contact Windows Update at all, so it uses only your local source. The :1 at the end is the image index inside install.wim. If your ISO contains multiple editions, list them first and pick the index matching your edition:

DISM /Get-WimInfo /WimFile:E:\sources\install.wim

Some ISOs ship install.esd rather than install.wim. In that case substitute esd: for wim: in the source path.

Then run sfc /scannow and reboot.


If Local-Source Repair Also Fails: In-Place Repair Upgrade

When DISM cannot repair the store even from clean media, the supported fix is an in-place repair upgrade. This reinstalls Windows over itself, rebuilding the servicing stack and component store completely, while keeping your files, applications, and settings.

  1. Mount the same ISO matching your build.
  2. Run setup.exe from the root of the mounted drive — not from within Windows Setup in Settings.
  3. Choose Keep personal files and apps when prompted.
  4. Let it complete. Expect 30–90 minutes and several reboots.

Before you start: back up. An in-place upgrade is designed to be non-destructive and usually is, but any operation that rewrites the OS can fail on hardware that is already unhealthy. If the disk is producing errors, image it first.

Check the disk before doing this, because repairing on failing hardware just recreates the corruption:

chkdsk C: /scan

Verify the Repair

Confirm the store is genuinely healthy rather than assuming it:

DISM /Online /Cleanup-Image /ScanHealth

This scans without repairing and should report "No component store corruption detected." Then confirm the update actually installed:

Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5

For a deeper look at what failed and why, %windir%\Logs\CBS\CBS.log names the specific package. DISM's own log lives at %windir%\Logs\DISM\dism.log.

Prevention

  • Never interrupt Windows Update mid-install, and keep laptops on mains power during large updates.
  • Keep at least 20 GB free on the system volume — servicing needs working space.
  • Do not run registry cleaners or WinSxS "optimisers".
  • Run chkdsk C: /scan occasionally on older drives; the earliest symptom of a failing disk is often a servicing error like this one rather than an obvious read failure.
  • Install servicing stack updates promptly, since they contain the fixes for the servicing engine itself.

Frequently Asked Questions

Find answers to common questions

0x80073712 is ERROR_SXS_COMPONENT_STORE_CORRUPT. The Windows component store (WinSxS), which holds the files Windows uses to install and service updates, is damaged or has files missing. Windows cannot build the update from an inconsistent store, so the install fails before it really begins.

Run "DISM /Online /Cleanup-Image /RestoreHealth" from an elevated prompt, then "sfc /scannow", then reboot and retry the update. That order matters. DISM repairs the component store from Windows Update, and SFC then repairs system files using the repaired store as its source.

DISM normally pulls replacement files from Windows Update, so it fails this way when Windows Update itself is broken, blocked by a firewall or proxy, or pointed at a WSUS server that does not host the files. Supply a local source instead by mounting a Windows ISO matching your exact build and using the /Source and /LimitAccess switches.

One matching your installed edition, architecture, and version as closely as possible. Run "winver" to get your version and build, then download the matching ISO from Microsoft. A mismatched ISO either fails outright or repairs the store to the wrong build level, which creates new problems.

Almost never. If DISM cannot repair the store even with a local source, the supported next step is an in-place repair upgrade, which reinstalls Windows over itself while keeping your files, apps, and settings. A clean install is a last resort, not a first response.

Yes. The same corrupt component store prevents Store apps from installing or updating, and the Microsoft Store can fail to open at all with this code. Repairing the component store fixes both symptoms, because they share the same underlying servicing infrastructure.

Generally yes, but do not run it while chasing 0x80073712. StartComponentCleanup removes superseded components, and with the ResetBase switch it removes the ability to uninstall previously installed updates. Repair the store first, then consider cleanup as separate maintenance.

Open %windir%\Logs\CBS\CBS.log and search for the last occurrence of "error" or "corrupt". CBS.log names the specific package or payload file that failed, which is useful when you need to prove to a vendor or admin that a particular update package is at fault. DISM also writes to %windir%\Logs\DISM\dism.log.

It can. Third-party security products that lock or quarantine files inside WinSxS can leave the store inconsistent, and they can also block DISM from writing repairs. If repairs keep failing, temporarily disabling third-party protection and retrying is a reasonable diagnostic step.