End error 0x800f0831 forever when updating windows

All users of a Windows 10 computer are grateful and suffer in equal parts the updates that Microsoft makes on it, in order to improve our experience, correct bugs or strengthen the security of the system. However, sometimes we can have problems when trying to update our PC, appearing an error message 0x800f0831 that prevents us from finishing the update. If this is your case, today we are going to tell you the steps to solve it.

Usually the error 0x800f0831 appears when we try to update our computer with the help of the Windows Update Service. It is this service that generates the error, making it impossible to continue the downloaded one.

The most common cause for this error to appear is linked to the lack of a package from the previous update, so that Windows Update does not know what was installed and therefore does not want to install the new update. Another possible cause may be due to the use of VPN or Proxy servers, as these can prevent the proper functioning of Windows Update. Also, it is possible that the failure is due to a disabled Windows Update service or the lack of a .NET 3.5 framework. Whatever the problem, let’s see what steps we can take to fix this error.

Fix Windows Update error 0x800f0831

If we have a problem updating Windows and the error 0x800f0831 appears, we will review the possible solutions that we can carry out.

  • Run the Windows troubleshooter.
  • Uninstall incompatible software (antivirus, VPN, etc).
  • Install (or reinstall) .NET Framework 3.5.
  • Repair the system with CHKDSK, SFC and DISM.
  • Install the latest version, and the cumulative ones, manually.
  • System restore, factory reset, or reinstall Windows from scratch

Windows 10 Troubleshooter

The first thing we are going to do is try the Windows 10 Troubleshooter, to see if it can end the problem. This tool will take care of analyzing certain functions and services when they do not work to find out the cause and apply corrections to try to fix it.

To execute it we must access the Configuration menu. To do this, we will access with the Windows + I keyboard shortcut. Next, we will select the Solve Problems option in the sidebar on the left. Here we will scroll down to locate Windows Update, which we will press and then click on Run the troubleshooter.

Uninstall incompatible software

The next step is to uninstall all the software that may cause compatibility problems with Windows Update, such as any Antivirus or VPN connection services.

Temporarily we can also disable Windows antivirus. To do this we go back to Settings and click on Update and Security. Here we select Windows Security and then click on Protection against viruses and threats. Finally, we are going to Manage settings and deactivate the real-time protection box.

Repair or install NET Framework 3.5

The 0x800f0831 error may be caused by a problem with the NET Framework 3.5 or a missing NET Framework.

Therefore, to repair it we can use the Microsoft .NET Framework Repair Tool that we must download and run. In case we do not have it installed, we must download it from the Microsoft website and run it. It is recommended to install the latest version of NET Framework 4.8.

Uninstall the latest update and try again

As many of you will surely know first-hand, one of the main problems Microsoft faces with Windows 10 is everything related to updates. These can in fact create conflicts with each other, which results in the error in which we refer in these same lines. Therefore, if we see that the new update is halfway through the installation process, we can try to take a step back, and install this over the previous one.

Therefore, all we do here is delete the last patch that arrived on our PC, something that we achieve from the System Configuration app. We open this with the Win + I key combination, and then go to Update and security. In the new window that appears we click on View update history, where we already find the link that interests us at this time. This is the one called Uninstall the updates, from where we eliminate the immediately previous one, to see if we solve the error 0x800f0831.

Repair the system with CHKDSK, SFC and DISM

If the error continues to appear, we will try to repair the system with SFC, CHKDSK and DISM.

First of all, we are going to use the SFC (System File Checker) tool to scan corrupted files. To do this, we will write cmd in the Windows Start menu and select Run as administrator. Later we write the SFC / SCANNOW command, press Enter and wait for the process to finish.

With the following tool, CHKDSK Utility, we are going to check that the error is not due to a hard drive failure. To do this, we type cmd again in the Windows Start menu and we click Run as administrator. Next, we will write chkdsk / f / C: and press Enter.

Finally, we will use the DISM tool , which is responsible for looking for defective files in Windows and changing it for a new one. To run it, we type cmd again in the Windows Start menu and we click Run as administrator again. Now we will write dism / online / cleanup-image / restorehealth and press Enter. The process may be long and we must have an Internet connection.

Install the latest version, and the cumulative ones, manually

If Windows Update keeps giving us an error when installing updates, we can choose to download the update from the Microsoft Update Catalog. In it we will only have to use the search engine to write the version that we want to download, for example, KB4515384, so that we will find exactly the version that we want to download. Once found, we just have to download it and run it manually from our computer.

System restore, factory reset, or reinstall Windows from scratch

If the error continues to appear, if necessary, we can choose to restore the system, so that all the files on the system are overwritten again and thus end the error. To do this, we write Control Panel in the Start menu, then click on Recovery and click on Open System Restore and finally Next. Now we only have to choose the Restore Point that we prefer and select Finish.

Another option would be to reset Windows 10 to its original state. To do this, we will access the Settings menu by pressing Windows + I, select Update and security, then Recovery, and finally Reset this PC and Start.

The last option, and the most drastic of them all, would be to format the hard drive and reinstall Windows from scratch, so we would lose all the data that we have not saved, being convenient to make a backup copy previously.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button