Windows Update

Windows Update error 0x800f0831: what it means and how to fix it

Error 0x800f0831 (CBS_E_STORE_CORRUPTION) means the component store is missing a package an update depends on. Repair it with DISM or reinstall the update.

By EpiFive Editorial TeamSources checked How we check our guides

What the error means

0x800f0831 is CBS_E_STORE_CORRUPTION. Microsoft's troubleshooting article says it indicates that the Windows component store is corrupted, which prevents updates from installing correctly, and that it typically occurs when a required package is missing from the store or isn't fully applied to the registry. Microsoft's DISM article lists the code among its common corruption errors with the short description "CBS store is corrupted."

A second Microsoft article explains the most common case: a cumulative update that cannot install because it needs the manifest of a previous update package, and that manifest is missing. Windows Update itself only shows a general failure such as "Some updates were not installed" or "Updates failed", so the code is the useful part.

Common causes

  • An earlier update was never installed, so a package the new update depends on is absent.
  • An earlier update is installed, but some of its packages were not applied to the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages.
  • The device has no access to Microsoft Update, which Microsoft says makes the cumulative update case more likely, because DISM cannot download repair files.

How to fix it

Microsoft advises backing up the operating system disk before you start.

1. Confirm the error and find the missing package in CBS.log

Try the update once more so the log has fresh data, then open C:\Windows\Logs\CBS\CBS.log and search for 0x800f0831. Microsoft shows lines such as "Store corruption, manifest missing for package" followed by the package name. Note the KB number in that package name; you need it if the next step does not help.

2. Repair the component store with DISM and SFC

This is Method 1 in Microsoft's article. Open an elevated Command Prompt and run these commands in order, then restart and try the update again:

DISM /ONLINE /CLEANUP-IMAGE /SCANHEALTH
DISM /ONLINE /CLEANUP-IMAGE /CHECKHEALTH
DISM /ONLINE /CLEANUP-IMAGE /RESTOREHEALTH
Sfc /Scannow

If the PC cannot reach Windows Update, Microsoft's DISM article explains how to point /RestoreHealth at a working Windows installation of the same version with the /Source and /LimitAccess options.

3. Install the missing package from the Microsoft Update Catalog

If DISM does not clear it, go to the Microsoft Update Catalog, search for the KB number or package ID you found in CBS.log, download the version that matches your Windows version and architecture, and install it. Then run Windows Update again.

4. Remove and reinstall a partly installed update

On a physical PC or a non-Azure VM, Microsoft's other article expands the downloaded package and reinstalls it with DISM. Put the .msu file in C:\temp, then run:

cd \
cd temp
expand -F:* <PackageName>.msu C:\temp
Dism /online /remove-package /packagepath:C:\temp\<CabFileName>.cab
Dism /online /add-package /packagepath:C:\temp\<CabFileName>.cab

Use the .cab file that matches your operating system. Run the remove command only if the update is partly or completely installed, restart when asked, then restart again after the add command and retry the update.

If nothing works

For an Azure VM, Microsoft strongly suggests an in-place upgrade, which reinstalls the operating system while keeping the VM's configuration. For other devices, collect CBS.log and the Windows Update log and open a support case with Microsoft.

What we checked

Four Microsoft Learn pages were read on 2026-11-21: the dedicated 0x800F0831 troubleshooting article (causes, registry location and the remove and reinstall procedure), the cumulative update article originally published as KB 4477073 (the missing manifest cause and the DISM and Update Catalog methods), the DISM corruption article that lists the code as CBS_E_STORE_CORRUPTION, and the common Windows Update errors page with the same mitigation. The error was not reproduced for this page.

Last checked: 2026-11-21.

Official sources

Questions people ask

What does 0x800f0831 mean?

It is CBS_E_STORE_CORRUPTION. Microsoft says the Windows component store is corrupted, typically because a package the update needs is missing from the store or was not fully applied to the registry.

Why does 0x800f0831 happen more often on WSUS-managed PCs?

Microsoft says the cumulative update case is more likely when the device has no access to Microsoft Update, because DISM normally downloads the missing files from Windows Update to repair the store.

Will DISM always fix 0x800f0831?

Not always. If DISM and SFC do not help, Microsoft's next method is to find the missing package in CBS.log, download that update from the Microsoft Update Catalog and install it, or remove and reinstall a partly installed update with DISM.

  • 0x800f081f (Windows Update)

    Error 0x800f081f means Windows could not find the source files it needed during an update, a DISM repair or a .NET Framework 3.5 install. The documented fixes.

  • 0x80073712 (Windows Update)

    Error 0x80073712 means the Windows component store is damaged, so a file Windows Update needs is missing. Repair it with DISM and SFC, then update again.

  • 0x80070005 (Windows Update)

    Windows Update error 0x80070005 (E_ACCESSDENIED) means the update could not reach files, folders or registry keys it needs. Microsoft's fixes, in a safe order.

  • 0x8007000d (Windows Update)

    Error 0x8007000d means Windows Update downloaded invalid or corrupted data. Run the troubleshooter, clear the update cache, download again, repair with DISM.

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.