Error 0x800F0831 indicates corruption in the Windows component store; repair it with DISM and System File Checker, restart Windows, and retry the update.^1^
Repair the component store
- Search for Command Prompt.
- Right-click Command Prompt, select Run as administrator, and approve the prompt.
- Run these commands in order. Let each command finish before starting the next:
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
- Restart the computer.
- Go to Start > Settings > Update & Security > Windows Update > Check for updates.
The expected results are “The restore operation completed successfully” from DISM and completion of the SFC scan at 100%.^2^
If DISM fails or 0x800F0831 returns
The update may require the manifest from an earlier package that is missing. Open:
C:\Windows\Logs\CBS\CBS.log
Search near the time of the failed update for:
0x800f0831
manifest missing
Failed to resolve package
Record the package name shown after “manifest missing for package” or “Failed to resolve package.” The documented recovery is to find the corresponding package in the Microsoft Update Catalog, choose the package matching the installed Windows version and architecture, install it, restart, and retry Windows Update.^3^
Do not remove packages or edit the Component Based Servicing registry manually unless the CBS log has identified the exact affected package; removing the wrong servicing package can make Windows unbootable or harder to repair.
If no missing package is identifiable
Run the built-in troubleshooter:
- Open Start > Settings > Update & Security > Troubleshoot.
- Select Additional troubleshooters.
- Select Windows Update > Run the troubleshooter.
- Restart Windows and check for updates again.^4^
If it still fails, provide the following for further diagnosis:
- The failing update’s KB number
- Windows version and build from
winver - The final DISM and SFC messages
- Relevant
CBS.loglines containing0x800f0831orFailed to resolve package
References
- Windows Update common errors and mitigation
- [Windows 10](https://support.microsoft.com/windows/deployment/updates-lifecycle/troubleshoot-problems-updating-windows#restore-and-repair-system-files)
- Error 0x800F0831 when you install an update
- [Windows 10](https://support.microsoft.com/windows/experience/windows-update-troubleshooter#run-the-windows-update-troubleshooter)