sodcalculator

10 Tech How-To

0x800f0831 Error: Fix Windows Update Failures

Guide 10-53244 · Updated · Step by step

Error code 0x800f0831 stops Windows Update from installing certain updates, typically appearing as “0x800f0831 – CBS_E_NEW_WINDOWS_VERSION” and meaning the update is blocked because a newer Windows version is already installed. The fix is to remove the conflicting pending update or repair the Windows component store, and this guide walks through the exact steps.

What Does Error 0x800f0831 Mean?

Windows Update uses the Component-Based Servicing (CBS) system to install updates. Error 0x800f0831 translates to CBS_E_NEW_WINDOWS_VERSION, which means the update you are trying to install is older than the version of Windows already on your PC. This usually happens when a newer cumulative update has already been applied, but the update history or the component store still references an older one. The system refuses to install the older update because it would overwrite newer files, potentially breaking security or stability.

This error is most common on Windows 10 and Windows 11 after a failed cumulative update, or when a user manually downloads an older update package from the Microsoft Update Catalog. It can also appear after a Windows feature update (like 22H2) is partially installed, leaving the component store in an inconsistent state.

Why Does This Error Occur?

The root cause is a mismatch between the update you are trying to apply and the current state of the Windows component store. Common triggers include:

  • Out-of-order updates: Installing a cumulative update that is older than the one already installed.
  • Partial installation: A previous update failed midway, leaving a pending update in the CBS store that conflicts with the new one.
  • Corrupted component store: Damaged system files cause the update service to misread the installed version.
  • Manual installation: Downloading an update from the Microsoft Update Catalog that is not appropriate for your build.

In most cases, the error is not caused by hardware or drivers—it is purely a software state issue. The update service sees a newer version already present, so it refuses to proceed.

How to Fix Error 0x800f0831 (Step-by-Step)

Try these methods in order. Start with the simplest, then move to more thorough repairs.

Method 1: Run Windows Update Troubleshooter

  1. Open Settings > System > Troubleshoot > Other troubleshooters (Windows 11) or Update & Security > Troubleshoot (Windows 10).
  2. Select Windows Update and click Run.
  3. Follow the prompts. The tool will reset Windows Update components and clear cache.
  4. Restart your PC and try updating again.

This fixes simple glitches but often won’t resolve the underlying version mismatch.

Method 2: Manually Reset Windows Update Components

If the troubleshooter doesn’t help, reset the update service manually:

  1. Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”).
  2. Stop the services by typing these commands one by one, pressing Enter after each:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  3. Rename the SoftwareDistribution and Catroot2 folders:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
  4. Restart the services:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  5. Close Command Prompt and try Windows Update again.

This clears the update cache and forces a fresh download, which can resolve corrupted update files.

Method 3: Remove Pending Updates with DISM

If the error persists, the component store may have a stuck pending update. Use the Deployment Imaging Service and Management (DISM) tool:

  1. Open Command Prompt as administrator.
  2. Run DISM /Online /Cleanup-Image /StartComponentCleanup to remove superseded components.
  3. Then run DISM /Online /Cleanup-Image /RestoreHealth to repair the component store.
  4. Restart and try updating again.

If DISM fails, you may need to run sfc /scannow (System File Checker) to repair system files first, then repeat DISM.

Method 4: Use the Microsoft Update Catalog

If Windows Update still fails, download the correct update manually:

  1. Note your exact Windows version: press Win + R, type winver, and note the version and OS build.
  2. Go to the Microsoft Update Catalog (official site).
  3. Search for the update KB number you need, and download the version that matches your system architecture (x64 or x86) and Windows version.
  4. Double-click the downloaded .msu file to install.

Make sure you are not installing an older update than what is already installed. Check the “Installed On” date in your update history to compare.

Method 5: In-Place Upgrade Repair

As a last resort, perform an in-place upgrade using the Windows Installation Assistant or the Media Creation Tool. This reinstalls Windows while keeping your files and apps. It replaces the entire component store and often clears persistent update errors.

  1. Download the official Windows Installation Assistant from Microsoft’s website.
  2. Run it and choose “Keep personal files and apps.”
  3. Follow the prompts. The process takes about an hour.

After the upgrade, run Windows Update again—the error should be gone.

Common Mistakes to Avoid

  • Installing the wrong update: Always verify the KB number and that it applies to your Windows version (e.g., Windows 10 22H2 vs. 21H2).
  • Skipping the restart: After resetting components, a restart is required for changes to take effect.
  • Using third-party “fix” tools: These often do more harm than good. Stick to official methods.
  • Ignoring disk space: Windows Update needs at least 20 GB free. Run Disk Cleanup if you are low.

Frequently Asked Questions

Is error 0x800f0831 dangerous?

No. It is a standard Windows Update error that prevents an update from installing. It does not harm your data or system, but leaving updates uninstalled can leave security gaps.

Will I lose my files if I try these fixes?

No. All methods except the in-place upgrade repair preserve your files. Even the in-place upgrade keeps personal files and apps if you choose that option.

Why does this error happen after a feature update?

Feature updates (like 22H2) change the Windows build number. Afterward, older cumulative updates are no longer compatible, and Windows Update may try to install one anyway if the update history is corrupted.

Do I need to reinstall Windows to fix this?

Usually not. Most cases are resolved with DISM or an in-place upgrade. A full reinstall is only necessary if the system is severely corrupted and other methods fail.

Can I ignore the update and continue using my PC?

You can, but it is not recommended. The failed update may be a security or stability patch. Try the fixes above to keep your system up to date.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →