0x800f0831

Windows Update Error 0x800f0831 – Fix in 10 Minutes

Windows Errors Beginner 👁 0 views 📅 May 26, 2026

This error pops up when Windows Update can't install a cumulative update. The fix is straightforward: clear the corrupt update cache manually.

When You'll See This Error

You're running Windows 10 version 20H2 or later, or Windows 11. A cumulative update—usually a monthly security patch—downloads to 100%, then hangs on installation. After 20–30 minutes, it fails with 0x800f0831. The error message says "Some update files are missing or have problems." You might've rebooted three times already. It still fails.

What Actually Causes It

The real problem is a corrupt component store. Windows keeps a cache of update files in C:\Windows\SoftwareDistribution. When that cache gets out of sync—often after a failed update or a sudden shutdown—the installer can't verify the update's integrity. The error code 0x800f0831 specifically means CBS (Component Based Servicing) can't find a required manifest or payload file. It's not a hardware problem. It's not a virus. It's a corrupted download cache.

Fix: Clear the Update Cache and Run DISM

You don't need third-party tools. You don't need to reset Windows. I've fixed hundreds of machines with this exact sequence. Takes about 10 minutes.

Step 1: Stop the Windows Update Service

  1. Press Win + R, type services.msc, hit Enter.
  2. Scroll down to Windows Update. Right-click it, choose Stop.
  3. Wait until the status column says Stopped. Don't close the Services window yet.

Step 2: Delete the Cache Folders

  1. Open File Explorer. Go to C:\Windows\SoftwareDistribution.
  2. Select all folders inside. Don't delete the SoftwareDistribution folder itself.
  3. Delete them. You might get a permission error on a file or two. That's normal. Skip those files.
  4. Now go to C:\Windows\System32\catroot2. Delete everything inside it too. Again, skip any locked files.

Step 3: Restart the Service

  1. Back in Services, right-click Windows Update, choose Start.
  2. Wait until the status says Running.

Step 4: Run DISM to Repair the Component Store

  1. Press Win + X, choose Windows Terminal (Admin) or Command Prompt (Admin).
  2. Type this command and press Enter:
    DISM /Online /Cleanup-Image /RestoreHealth
  3. It'll take 5–15 minutes. Don't close the window. You'll see a progress bar that crawls. That's fine.
  4. When it finishes, you should see: The restore operation completed successfully. If you see Error: 0x800f0906, run the command again. Sometimes it needs a second pass.

Step 5: Run SFC to Fix System Files

  1. In the same admin terminal, type:
    sfc /scannow
  2. This checks all protected Windows files. Let it finish. It'll report any corruptions it repaired.

Step 6: Restart and Try Updates

  1. Restart your PC normally.
  2. Go to Settings > Windows Update > Check for updates.
  3. The cumulative update should download fresh and install cleanly.

What to Check If It Still Fails

If you still get 0x800f0831 after these steps, here's what I'd look at next:

  • Disk space: Windows Update needs at least 10GB free on C:. Check with File Explorer. If low, run Disk Cleanup and delete temporary files.
  • Third-party antivirus: Bitdefender, Norton, and McAfee have been known to block update files. Temporarily disable the real-time protection, then try the update. Re-enable it after.
  • Corrupt system files beyond DISM's repair: On rare occasions, the component store is too wrecked. You can try an in-place upgrade using the Windows 10 Media Creation Tool—it reinstalls Windows while keeping your apps and files. That fixes 99% of stubborn update errors.
  • Hardware issues: Bad RAM or a failing SSD can corrupt files mid-installation. Run chkdsk C: /f from an admin command prompt, then restart. If it finds bad sectors, back up your data and replace the drive.

The steps above work for Windows 10 and Windows 11. I've used them on Dell Inspiron, HP Pavilion, and Lenovo ThinkPad machines—same fix every time. Don't overthink the error. Clear the cache, run DISM, and you're usually good.

Was this solution helpful?