Windows Update error 0x80073712: how to fix it
Error 0x80073712 means Windows found the component store (WinSxS) damaged or missing a file the update needs. The fix that most often works is running DISM /RestoreHealth and then sfc /scannow from an elevated Command Prompt, restarting, and retrying the update.
On this page
What it means
The code 0x80073712 stands for ERROR_SXS_COMPONENT_STORE_CORRUPT. Windows keeps the files it uses for servicing in the component store, the C:\Windows\WinSxS folder. When an update needs something from there and finds it damaged, inconsistent or missing, the update stops. Windows Update usually words it as: "Some update files are missing or have problems. We'll try to download the update again later. Error code: (0x80073712)." The same code is written to C:\Windows\Logs\CBS\CBS.log.
Because the problem sits on your PC, retrying the update rarely helps by itself. The repair is to fix the component store first. The steps below go from the quickest and safest to the most invasive, so work through them in order and retry the update after each one.
Symptoms and causes
You are likely dealing with this problem if:
- The update downloads, then fails during installation or at the "Preparing" stage, and every retry fails the same way.
- Windows Update shows "Some update files are missing or have problems" with error code (0x80073712).
- Installing the same update by hand from the Microsoft Update Catalog fails with the same error.
- In some cases DISM or
sfcalso report errors.
The usual causes, most common first:
- Damaged or missing component store files
- An interrupted update, a power loss, or components removed from a customised Windows image can leave WinSxS inconsistent.
- Incomplete download or damaged update cache
- A partly downloaded update or a corrupted
SoftwareDistributionfolder can make Windows think files are missing. - DISM cannot get replacement files
- If Windows Update is broken, blocked, or pointed at a WSUS server that does not host the files, DISM has nowhere to fetch repairs from. A Group Policy repair source also decides where DISM looks.
- A bug in one specific update
- The optional March 2026 preview update KB5079391 failed to install with 0x80073712 on some Windows 11 24H2 and 25H2 PCs. Microsoft stopped offering it and replaced it with the out-of-band update KB5086672.
How to fix it
Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.
1.Check whether the failing update is the known problem one
If the update is the March 2026 preview KB5079391, repairing your PC will not help. Microsoft replaced it with KB5086672.
- Open Settings > Windows Update > Update history and note the KB number of the update that failed.
- If it is KB5079391 on Windows 11 24H2 or 25H2, install KB5086672 through Windows Update instead. It was released on 31 March 2026 as an out-of-band update (builds 26100.8117 and 26200.8117) and includes the preview's changes plus a fix for the install problem.
- If your failing update has a different KB number, continue with the next fix.
2.Repair the component store with DISM, then SFC
DISM checks and repairs the component store, and SFC then repairs protected system files. Microsoft documents both in its Repair a Windows Image page.
- Right-click Start, choose Terminal (Admin) or search for Command Prompt and select Run as administrator.
- Run the DISM checks one after another. The scan takes several minutes, and
/RestoreHealthcan take a while too, so give it time. If/CheckHealthreports the image as non-repairable, skip ahead to the in-place repair upgrade.Dism /Online /Cleanup-Image /ScanHealth Dism /Online /Cleanup-Image /CheckHealth Dism /Online /Cleanup-Image /RestoreHealth - Then run the System File Checker.
sfc /scannow - Restart the PC and run Windows Update again.
3.Give DISM a local repair source
Use this if /RestoreHealth fails because it cannot get replacement files from Windows Update. /LimitAccess stops DISM from using Windows Update, so it uses only the source you give it.
- Prepare a Windows image of the same version, edition and language as your installed Windows, mounted so its files are available in a folder. Microsoft's example uses
c:\test\mount\windows; replace that with your own path. - Run the repair with your source path.
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess - Run
sfc /scannow, restart, and retry the update. If you specify more than one/Source, DISM uses the first location where it finds the files. Without/Source, it uses the default repair source, which Group Policy can change (see Configure a Windows Repair Source).
4.Reset the Windows Update cache
Renaming SoftwareDistribution forces Windows to download the update files again, which helps if the cached download is damaged.
Before you start: This only renames the folder, so it is reversible, but Windows Update history may appear reset. Close other installers first.
- In an elevated Command Prompt, stop the services, rename the folder, and start the services again.
net stop wuauserv net stop bits ren C:\Windows\SoftwareDistribution SoftwareDistribution.old net start wuauserv net start bits - Open Settings > Windows Update and select Check for updates.
5.Install the update manually from the Microsoft Update Catalog
Worth trying after the repairs above. A Microsoft Q&A poster found it also failed while the component store was still damaged, so it is not a first step.
- Search for the KB number on the Microsoft Update Catalog website, download the package that matches your Windows version and architecture, and run it.
6.Last resort: in-place repair upgrade
It reinstalls Windows system files while keeping your files and apps, which can fix a store that DISM cannot repair. Microsoft's repair page says an image reported as non-repairable should be discarded; on a live PC this is the closest equivalent.
Before you start: Back up your important files before you start. Use only an ISO downloaded from Microsoft that matches your installed edition and language.
- Mount the matching Windows ISO and run
setup.exefrom it while signed in to Windows. - When asked what to keep, choose to keep personal files and apps, then follow the prompts.
- After the upgrade, check Windows Update again.
Check that it worked
- Open Settings > Windows Update and select Check for updates: the update installs without error 0x80073712.
- Update history lists the update as Successfully installed after the restart.
sfc /scannowfinishes without reporting unrepaired corruption.
If it still fails
- Look at
C:\Windows\Logs\CBS\CBS.logfor the lines around the 0x80073712 entry to see which component is damaged. - If the standard repairs fail, as reported in one Microsoft Q&A thread on Windows Server 2019 with no posted resolution, an in-place repair upgrade or a reinstall is the realistic next step.
- Ask in the Microsoft Q&A thread for this error) or contact Microsoft Support, and include the CBS log excerpt.
- Similar servicing errors have their own guides: 0x80073701 and 0x800f0831.
Questions
Is it safe to delete the WinSxS folder to fix this?
No. WinSxS is the component store Windows depends on, and deleting its contents makes the damage worse. Repair it with DISM instead.
Sources
- KB5086672 (Microsoft support)Official · Microsoft Support
- Repair a Windows ImageOfficial · Microsoft Learn
- Error code: (0x80073712) (Microsoft Q&A thread) · Microsoft Q&A (community)