Skip to content

DISM and component servicing error

0x800F0831 CBS_E_STORE_CORRUPTION

The component store is corrupted: a manifest a cumulative update builds on is missing, often because an earlier update did not install fully.

Where you will see it

  • Windows Update cumulative updates

Likely causes, most common first

  • A previous update that failed part way.
  • Cleanup tools that removed files from WinSxS.

How to fix it, in this order

Start with the first fix and check the result before moving on; each one says how to tell that it worked.

1. Repair the Windows component store and system files (easy)

  1. Right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin), and say Yes to the prompt.
  2. Run: DISM /Online /Cleanup-Image /RestoreHealth (it can sit at 20% or 62% for several minutes; let it finish).
  3. Then run: sfc /scannow
  4. Restart and try the update or install again.

It worked if: DISM ends with "The restore operation completed successfully" and sfc reports no integrity violations, or that it repaired them.

2. Repair Windows while keeping your files and apps (moderate)

  1. Windows 11: open Settings, System, Recovery, and press Reinstall now next to "Fix problems using Windows Update".
  2. Or download the Media Creation Tool or Installation Assistant from microsoft.com/software-download and choose to keep personal files and apps.
  3. Back up anything important first, then let it run; it takes about an hour.

It worked if: Windows restarts on the same or a newer build and the update installs.

What Microsoft's documentation says

Microsoft's own wording for this code, quoted from the page named under each quote. The plain-English explanation and the fixes above are ours.

“Corruption in the Windows Component Store.”
Listed as CBS_E_STORE_CORRUPTION in Common Windows Update errors on Microsoft Learn. Read 22 November 2026.

Microsoft’s fix: run DISM /Online /Cleanup-Image /RestoreHealth and then sfc /scannow from an elevated prompt, and restart.

The same code, written other ways

Search a log or a forum for any of these; they are all this code.

How the code is put together

Read from the bits as Microsoft's [MS-ERREF] Windows Error Codes specification lays them out.

Codes that often come with it

More than one code in your log?

Paste the whole CBS, DISM or Windows Update log into the decoder. It lists every code in it, in order, with the line it was on. Decoded in your browser; nothing is sent.

Open the error code decoder →