Fix Windows Update Error 0x800f0831

KitsuneGuide Watch on YouTube ↗

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

  1. 01
    Open the Start menu, type 'troubleshoot', and select 'Troubleshoot settings' to run the Windows Update troubleshooter.
  2. 02
    Restart your computer and attempt the update again.
  3. 03
    If it fails, press the Windows key, type 'CMD', right-click 'Command Prompt', and select 'Run as administrator'.
  4. 04
    Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter, allowing it to complete even if it appears to hang.
  5. 05
    After the DISM process finishes, type sfc /scannow and press Enter to repair corrupted system files.
  6. 06
    Restart your computer and check for updates again.
  7. 07
    If 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.