Fix Windows Update Error 0x800f0831
You are staring at a failed update notification again, and it is incredibly frustrating when Windows keeps downloading the same files only to roll them back with error 0x800f0831. This usually happens because a piece of a previous update got corrupted or went missing, leaving your system unable to finish the current install. Let's clear the corruption and force this update through.
Why this happens
This error code signifies that your local manifest is missing files required for the new update. This often happens after failed update attempts or interrupted system processes.
Steps
-
01Open Settings, go to System or Update & Security, find Troubleshoot, and run the Windows Update troubleshooter. This reset often clears temporary hiccups before we move to deeper repairs.
-
02Press the Windows key, type
CMD, right-click it and select Run as administrator. TypeDISM /Online /Cleanup-Image /RestoreHealthand press Enter; let it finish fully even if it seems stuck at a certain percentage. -
03Once the DISM command finishes, type
sfc /scannowin the same window and hit Enter to repair any corrupted system files. Restart your computer immediately after this process completes. -
04If the update still fails, note the
KBnumber from your update history. Go tocatalog.update.microsoft.comin your browser, search for that specificKBnumber, download the version matching your Windows edition, and run the file manually.
Still not working?
If you are still seeing the rollback, the issue might be a conflicting third-party security suite or a deeper profile corruption. Try performing a clean boot to see if an background application is blocking the installation. If that fails, check your event logs for specific access denied errors during the update process.
Frequently asked questions
Will I lose my files by running these commands?
No, these commands only verify and replace system-level Windows files; your personal data, documents, and installed programs will remain untouched.
Why does the DISM command take so long?
It is downloading fresh system images from Microsoft servers and comparing them against your local files, which is a heavy process that can take up to 10 minutes depending on your internet speed and drive health.
Do I need to do this for every failed update?
Not necessarily. Most updates fail due to temporary network glitches, but if you see 0x800f0831 consistently, it confirms that your internal update store is actually corrupted and needs this manual repair.
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.