sodcalculator

10 Tech How-To

DISM Error Component Store Corrupted Windows 10

Guide 10-56411 · Updated · Step by step

If you see a DISM error saying the component store is corrupted in Windows 10, the fix is to run the DISM /Online /Cleanup-Image /RestoreHealth command with a valid Windows 10 installation source, then run sfc /scannow. This article explains why the error happens, how to repair the component store using built-in tools, and what to do when the standard commands fail.

What Is the Component Store and Why Does It Matter?

The component store (located at C:\Windows\WinSxS) is a hidden database of all Windows system files, updates, and drivers. Windows uses it to service the operating system—installing updates, adding features, and repairing corrupted files. When the component store itself becomes damaged, tools like System File Checker (SFC) and DISM cannot function properly because they rely on the store to source healthy files.

Common symptoms of a corrupted component store include:

  • Windows Update fails with errors like 0x800f081f or 0x80073712
  • sfc /scannow reports that it “found corrupt files but was unable to fix some of them”
  • DISM returns “Error: 0x800f0954” or “The component store has been corrupted”
  • New features or language packs cannot be installed

How DISM Repairs the Component Store

DISM (Deployment Imaging Service and Management Tool) is a command-line utility that can repair the Windows image. The command DISM /Online /Cleanup-Image /RestoreHealth scans the component store and replaces corrupted files. By default, it uses Windows Update as the source for healthy files. If Windows Update is unavailable or the store is too damaged, you must provide an alternative source—typically a Windows 10 ISO or installation USB.

When you run DISM, it performs a check, then a scan, and finally a restore. The process can take 15–30 minutes or longer. It does not delete your personal files or installed programs.

Step-by-Step: Repair the Component Store

Follow these steps in order. Run all commands as Administrator (right-click Start > “Windows PowerShell (Admin)” or “Command Prompt (Admin)”).

  1. Check for disk errors – Run chkdsk /f /r in an elevated prompt, then restart. Disk corruption can cause component store damage.
  2. Run DISM with Windows Update – Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. Wait for the process to finish (it may appear stuck at 20%—that is normal).
  3. If DISM fails – Use a Windows 10 ISO as a source. Mount the ISO (double-click it) and note the drive letter (e.g., E:). Then run:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\sources\install.wim /LimitAccess
    If you have an install.esd instead of install.wim, you need to extract the WIM first (see below).
  4. Run SFC – After DISM completes successfully, run sfc /scannow. This repairs system files using the now-healthy component store.
  5. Restart – Reboot and check Windows Update again.

What to Do When DISM Still Fails

If DISM returns an error even with a source, try these alternatives:

  • Use a different install.wim – The Windows 10 ISO must match your installed version (e.g., 22H2). Using an older version can cause mismatches.
  • Extract install.wim from install.esd – Some ISOs contain install.esd. Open an elevated command prompt and run:
    dism /Get-WimInfo /WimFile:E:\sources\install.esd
    Find the index number for your edition (usually 1 for Home/Pro). Then export it to a WIM:
    dism /Export-Image /SourceImageFile:E:\sources\install.esd /SourceIndex:1 /DestinationImageFile:C:\install.wim /Compress:max
    Then use that WIM as the source.
  • Run DISM in offline mode – Boot from a Windows 10 installation USB, press Shift+F10 to open Command Prompt, and run DISM against the offline Windows partition (e.g., DISM /Image:D:\ /Cleanup-Image /RestoreHealth /Source:E:\sources\install.wim).
  • Reset Windows – If all else fails, use “Reset this PC” (Settings > Update & Security > Recovery) to reinstall Windows while keeping your files. This replaces the component store entirely.

Common Mistakes and Misconceptions

Many users confuse SFC and DISM. SFC checks system files, but it cannot repair the component store itself. DISM must be run first if the store is corrupted. Another common mistake is running DISM without an internet connection—if Windows Update is blocked, the command will fail. Also, do not use a Windows 10 ISO that is older than your current build; the servicing stack may reject it.

Some guides suggest deleting the WinSxS folder to “clean up” space. Do not do that—it will break Windows. The folder is protected; use the built-in Disk Cleanup tool instead.

How to Prevent Future Corruption

Component store corruption often follows a failed Windows update, a sudden power loss, or malware. To reduce risk:

  • Always shut down properly, not by holding the power button.
  • Keep Windows Update enabled and install updates regularly.
  • Run sfc /scannow periodically if you suspect system issues.
  • Use a reliable antivirus and avoid suspicious downloads.

Frequently Asked Questions

Why does DISM say “the component store has been corrupted” even after running it?

This error means DISM itself could not repair the store, often because the source files are also corrupted or the store is too damaged. Try using a matching Windows 10 ISO as the source, or perform an in-place upgrade repair by running setup.exe from the ISO.

Can I fix the component store without a Windows installation media?

Yes, if Windows Update is working. Run DISM /Online /Cleanup-Image /RestoreHealth without a source; it will use Windows Update. If that fails, you need an ISO or USB—there is no other reliable source.

What is the difference between SFC and DISM?

SFC (System File Checker) scans and repairs protected system files using the component store. DISM repairs the component store itself. Run DISM first, then SFC, because SFC depends on a healthy store.

Will repairing the component store delete my files?

No. DISM and SFC only replace corrupted Windows system files. Your personal documents, photos, and installed programs are untouched.

How long does DISM take?

Typically 15–30 minutes, but it can take over an hour on slow systems. It may appear stuck at 20% for a long time—do not interrupt it. If it fails, you will see an error code.

What if DISM works but SFC still finds errors?

Run SFC again after a restart. If errors persist, the corruption may be in the registry or a driver. Try the “DISM /Online /Cleanup-Image /StartComponentCleanup” command to reset the store, then run SFC again.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →