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 /ScannowIf 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>.cabUse 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.