Fix Windows Update Error 0x800f0831

KitsuneGuide Watch on YouTube ↗

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

  1. 01
    Open 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.
  2. 02
    Press the Windows key, type CMD, right-click it and select Run as administrator. Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter; let it finish fully even if it seems stuck at a certain percentage.
  3. 03
    Once the DISM command finishes, type sfc /scannow in the same window and hit Enter to repair any corrupted system files. Restart your computer immediately after this process completes.
  4. 04
    If the update still fails, note the KB number from your update history. Go to catalog.update.microsoft.com in your browser, search for that specific KB number, 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.