FacebookTwitterLinkedIn

Fix Windows Update Error 0x800f0831 on Windows 11

How to Fix Windows Update Error 0x800f0831 on Windows 11

On Windows 11, error code 0x800f0831 primarily occurs when installing a cumulative update. This article will discuss the causes of this error and provide you with ways to fix it.

Windows Update Error 0x800f0831

Many Windows 11 users have reported getting this error when installing KB5008212, KB5005190, and KB5005033 updates.

What Causes 0x800f0831?

Our research has revealed that this error can occur for multiple reasons, which are listed below.

  • Corrupted Windows Update components. If some core Windows Update components are missing or have been corrupted, the service may fail to install the update.
  • Limited disk space. If your system disk has little to no storage left, Windows has no free space to save the update files and trigger the 0x800f0831 error.
  • Software conflicts. Sometimes, this error can occur due to the Windows Update service conflicting with a third-party application, such as a VPN app, antivirus, or firewall software. Disabling or removing such software should fix the error. Boot up Windows 11 in Clean Boot Mode and try updating Windows
  • A previous update is not installed. In some cases, this error occurs when an update requires the manifest of a prior update package.
  • Windows Update is offline. The error can occur if Windows Update servers are down or experience other problems.

Video Instructions on How to Fix Windows Update Error 0x800f0831

Table of Contents:

Method 1. Run the Windows Update Troubleshooter

Right-click Start and click Settings

1. Right-click Start and select Settings.

Select Troubleshoot

2. In the System panel, scroll down and click Troubleshoot.

Select Other troubleshooters

3. Select Other troubleshooters.

Run the Windows Update troubleshooter

4. Run the Windows Update troubleshooter.

5. Apply the proposed fixes and restart your PC.

[Back to Table of Contents]

Method 2. Run the Deployment Image & Servicing Management (DISM) Scan

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and hold down Ctrl+Shift+Enter keys to open the elevated Command Prompt

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the Command Prompt as an administrator.

Run Dism ScanHealth and RestoreHealth commands

3. In the Comand Prompt window, type in DISM /Online /Cleanup-Image /ScanHealth and press Enter.

4. Type in DISM /Online /Cleanup-Image /RestoreHealth and press Enter.

5. Restart your PC once the scan is complete.

[Back to Table of Contents]

Method 3. Run the System File Checker (SFC) Scan

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and hold down Ctrl+Shift+Enter keys to open the elevated Command Prompt

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the Command Prompt as an administrator.

 Run the SFC /ScanNow Command

3. In the Command Prompt window, type in SFC /ScanNow and press Enter.

4. Restart your PC once the scan is complete.

[Back to Table of Contents]

Method 4. Clear Windows Update Cache Folder

1. Hold down Windows+R keys to open Run.

Run the rd /s /q %systemroot%SoftwareDistribution command

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the Command Prompt as an administrator.

3. In the Command prompt window, type in net stop wuauserv and press the Enter key.

4. Type in rd /s /q %systemroot%\SoftwareDistribution and press Enter.

5. Then, type in net start wuauserv and press Enter.

[Back to Table of Contents]

Method 5. Reset Windows Update Components

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and hold down Ctrl+Shift+Enter keys to open the elevated Command Prompt

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the Command Prompt as an administrator.

Stop Windows Update Components

3. In the Command Prompt window, type in the commands below, and press the Enter key after entering each one:

  • net stop wuauserv
  • net stop cryptSvc
  • net stop bits
  • net stop msiserver

Rename the SoftwareDistribution and Catroot2 folders

4. Then, type in ren C:\Windows\SoftwareDistribution SoftwareDistribution.old and press Enter.

5. Type in ren C:\Windows\System32\catroot2 Catroot2.old and press Enter.

Restart the stopped Windows Update components

6. Type in the commands below, and press the Enter key after entering each one to restart the stopped services:

  • net start wuauserv
  • net start cryptSvc
  • net start bits
  • net start msiserver

7. Try updating Windows.

Did this article help? Let us know by commenting below.

[Back to Top]

▼ Show Discussion

About the author:

Rimvydas Iliavicius

Rimvydas is a researcher with over four years of experience in the cybersecurity industry. He attended Kaunas University of Technology and graduated with a Master's degree in Translation and Localization of Technical texts. His interests in computers and technology led him to become a versatile author in the IT industry. At PCrisk, he's responsible for writing in-depth how-to articles for Microsoft Windows. Contact Rimvydas Iliavicius.

Our guides are free. However, if you want to support us you can send us a donation.

About PCrisk

PCrisk is a cyber security portal, informing Internet users about the latest digital threats. Our content is provided by security experts and professional malware researchers. Read more about us.

Malware activity

Global malware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.