Fix Windows Update Error 0x800f0831
Your Windows update is downloading, but failing and rolling back every time you try to install it. This error usually means a previous update file is missing or corrupted, preventing the new one from finishing correctly.
Why this happens
Error 0x800f0831 occurs because Windows is missing a manifest file or package from a prior update, creating a dependency gap that prevents the current update from finalizing.
What you'll need
You will need administrative access to your computer to run the repair tools in an elevated command prompt.
Steps
-
01Open the Start menu, type 'troubleshoot', and select 'Troubleshoot settings' to run the Windows Update troubleshooter.
-
02Restart your computer and attempt the update again.
-
03If it fails, press the Windows key, type 'CMD', right-click 'Command Prompt', and select 'Run as administrator'.
-
04Type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter, allowing it to complete even if it appears to hang. -
05After the DISM process finishes, type
sfc /scannowand press Enter to repair corrupted system files. -
06Restart your computer and check for updates again.
-
07If you still see the error, locate the specific KB number in your update history and download the installer directly from the Microsoft Update Catalog website.
Subscribe for fast, no-fluff fixes and best settings guides
For the games, phones, and apps you actually use - every common error, crash, and "how do I…" answered in under three minutes.