Fix error 0x800f0831
0x800f0831 is CBS_E_STORE_CORRUPTION: the CBS store is corrupted. Windows cannot install the new update because data it builds on, often a package from an earlier update, is damaged or missing. Run DISM /Online /Cleanup-Image /RestoreHealth and sfc /scannow, restart, and if it still fails, find the missing package in CBS.log and install that KB from the Microsoft Update Catalog.
Checked November 10, 2026 against the manufacturer's own pages.
The short version
What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.
Official files only, nothing bundled
Step by step
Run the store repair first
Right-click Start, open Terminal (Admin) and enter Dism.exe /Online /Cleanup-Image /Restorehealth. When it ends, run Sfc.exe /Scannow. Restart the device, as Microsoft's mitigation for this code says.
Retry the update from Settings
Open Settings, Windows Update and press Check for updates. If the same KB fails again with 0x800f0831, the store is missing something DISM could not rebuild, so move on to the log.
Find the missing package in CBS.log
Open C:\Windows\Logs\CBS\CBS.log in Notepad and search for 0x800f0831 or the word corruption. Lines naming a package or MUM file give a version number such as 10.0.22631.4317; the last part is the build revision.
Match the build revision to a KB number
Open Microsoft's release information page for your Windows version and find the update whose OS build ends in that revision. Its KB number is the package Windows is missing.
Install that KB from the Update Catalog
Search the KB number at catalog.update.microsoft.com, download the package for your system type (x64 or ARM64) and run the .msu file. Restart, then install the update that failed originally.
Faster option: let a PC tool do the clean-up
The steps above fix this error. Errors like this often come back on a PC full of junk files, broken registry entries and leftovers from removed programs. A maintenance tool clears those in one scan.
Scan and clean up Windows
Finds junk files, invalid registry entries, startup slowdowns and privacy traces, then fixes them in one click.
Auslogics BoostSpeed 14 · Free version · Windows 11, 10, 8, 7 · 30-day refund on Pro
What CBS_E_STORE_CORRUPTION points to
Microsoft’s tables describe 0x800f0831 in two places with the same meaning: CBS store is corrupted, and the description reads corruption in the Windows Component Store. The mitigation is also the same in both: repair with RestoreHealth, or repair by hand with the payload from a partially installed component. That payload belongs to a component that only partly installed, which is why the CBS log is the key to the manual route.
Telling a simple case from a stubborn one
If DISM ends with “The restore operation completed successfully” and the update then installs, you are done. If DISM succeeds but the update still fails, read the CBS.log summary. “CBS MUM Missing” lines mean a package manifest is gone, and Microsoft’s example shows DISM reporting “Repair failed: Missing replacement mum/cat pair” for exactly that case. That is when the manual KB install in steps three to five is the fix.
Less common: repair with extracted files
Microsoft’s advanced guide also covers cases where installing the old KB is not possible. It extracts the .msu and .cab files with a PowerShell script, copies the needed files to a folder such as C:\temp\Source, and runs DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\temp\Source\ /LimitAccess. Then DISM /Online /Cleanup-Image /ScanHealth confirms the store is clean. This route suits IT staff more than home users.
Questions
What is the CBS store?
Component Based Servicing (CBS) is the part of Windows that installs updates and features. Its store keeps package records and the matching files in WinSxS. 0x800f0831 means those records are inconsistent.
Why does the update need an older KB?
Microsoft's advanced guide uses the build number in CBS.log to find the KB that holds the damaged or missing files. Installing it gives the servicing stack a good copy again.
Is a full reinstall needed?
Try DISM, SFC and the missing KB first. If they all fail, an in-place repair from Settings, System, Recovery on Windows 11 keeps your files and apps.
How do I know my system type?
Open Settings, System, About. The System type line says x64-based processor or ARM-based processor. Pick the matching download in the catalog.