Home

How do I fix the error 0x80240031 in Windows 10, version 1607?

Alton Alexander
By Alton AlexanderUpdated on June 4th, 2022

Windows 10, version 1607 - error 0x80240031 is an error code that indicates that the Windows 10 Anniversary Update is not installed on the computer. This error code can happen for a number of reasons, including if the computer is not connected to the Internet, if the computer is not running the latest version of Windows 10, or if the Anniversary Update is not compatible with the computer.

You are here because you have a question about:

  • windows 10 error code 80240031
  • windows 10, version 1607 - error 0x80240031

1. Restart your computer and then check for updates

  1. Click on the Start button and type “cmd” in the search bar.
  2. Right-click on the “Command Prompt” option and select “Run as Administrator”.
  3. When the Command Prompt window opens, type the following command and press Enter: net stop wuauserv
  4. Type the following command and press Enter: net start wuauserv
  5. Type the following command and press Enter: WindowsUpdate.exe /CheckForUpdate
  6. If there are any updates available, the computer will download and install them.

2. Run the Windows Update Troubleshooter

The following steps will help you run the Windows Update Troubleshooter in order to fix windows 10, version 1607 - error 0x80240031:

  1. Open the Windows Update Troubleshooter by clicking on the Start button and typing "troubleshoot" in the search box.
  2. Click on the "Troubleshoot" option in the search results.
  3. Click on the "Windows Update" option in the left-hand column.
  4. Click on the "Check for updates" button.
  5. If there are any updates available, the Windows Update Troubleshooter will show you a list of them.
  6. Click on the "Install updates" button to install the updates.
  7. If there are any errors while installing the updates, the Windows Update Troubleshooter will show you a list of them.
  8. Click on the "Reset" button to fix the errors.
  9. If the problems continue after resetting the Windows Update, you can try to reinstall the Windows 10, version 1607.

3. Reset the Windows Update Components

  1. Open the Windows Update settings by clicking on the Start button, typing “Windows Update,” and then clicking on the “Windows Update” app.
  2. Click on the “Reset” button in the Windows Update settings.
  3. In the “Reset Windows Update Components” dialog box, click on the “Reset” button.
  4. In the “Reset Windows Update Components” dialog box, make sure that the “Delete all available updates” check box is selected.
  5. Click on the “Reset” button.
  6. After the reset process is complete, click on the “Close” button in the “Reset Windows Update Components” dialog box.

4. Delete the SoftwareDistribution folder

  1. Open the Start Menu and type "cmd" (without the quotation marks).
  2. When the Command Prompt window opens, type the following command and press Enter: md C:\Windows\SoftwareDistribution
  3. Type the following command and press Enter: dism /online /remove-item C:\Windows\SoftwareDistribution\Download
  4. Type the following command and press Enter: dism /online /remove-item C:\Windows\SoftwareDistribution\Update
  5. Type the following command and press Enter: dism /online /remove-item C:\Windows\SoftwareDistribution\Update\Servicing\Packages

5. Perform a clean boot

First, open the "Start" menu and click "Settings." In the "Settings" window, click "Update and security." On the "Update and security" window, click "Windows Update." On the "Windows Update" window, click "Check for updates." If there are updates available, click "Update now." If there are no updates available, click "OK." In the "Update windows" window, click "Windows Update advanced options." On the "Windows Update advanced options" window, click "Configure updates." On the "Configure updates" window, click "Choose how updates are delivered." On the "Choose how updates are delivered" window, click "Windows Update delivery method." On the "Windows Update delivery method" window, click "Install updates from an online service." On the "Install updates from an online service" window, click "127.0.0.1." On the "127.0.0.1" window, type "wuauclt.exe" and click "OK." If you are prompted to enter an administrative password, type the password and click "OK." In the "Windows Update" window, click "Install updates." On the "Install updates" window, click "Install updates from an online service." On the "Install updates from an online service" window, click "127.0.0.1." On the "127.0.0.1" window, type "wuauclt.exe" and click "OK." If you are prompted to enter an administrative password, type the password and click "OK." Once the updates have been installed, restart your computer. If the problem is still occurring, try to restore your computer to an earlier time point. If the problem is still occurring, try to disable automatic updates. If the problem is still occurring, contact Microsoft support.

6. Download and install the updates manually

  1. Go to the Microsoft Update website.
  2. In the search bar, type “Windows 10” and then click the “Windows 10” update icon.
  3. In the “Windows 10” update window, click “Get updates”.
  4. On the “Get updates” page, click “Install updates”.
  5. In the “Install updates” window, click “Install updates from a list or specific update package”.
  6. In the “Update packages” window, click “Select updates”.
  7. In the “Select updates” window, click “Windows 10”.
  8. In the “Windows 10” window, under “General updates”, click “Update”.
  9. In the “Update” window, under “Windows 10”, click “Install”.
  10. In the “Install” window, under “Windows 10”, click “Next”.
  11. In the “Next” window, under “Windows 10”, click “Install updates”.
  12. In the “Install updates” window, under “Windows 10”, click “Select updates”.
  13. In the “Select updates” window, under “Windows 10”, click “Update”.
  14. In the “Update” window, under “Windows 10”, click “Install”.
  15. In the “Install” window, under “Windows 10”, click “Next”.
  16. In the “Next” window, under “Windows 10”, click “Finish”.
  17. After the updates are installed, restart your computer.