How to Fix Windows Update Error 0x80240031

First run the Windows Update troubleshooter

Reading time icon 7 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Windows Update Error 0x80240031
A message from our partner

Resolve multiple Windows PC issues and speed up your PC effortlessly with specialized software.

  • Download HelpSoft PC Cleaner and install it on your PC.
  • Click on Start Scan button to find corrupt or broken files that affect your PC.
  • Now the software will start the fixing process and boost your PC performance.
Download now HelpSoft PC Cleaner has been downloaded by 0 readers this month

Many of our readers have complained about getting error 0x80240031 while installing an update on Windows 10. This could occur due to malware infection, incorrect configuration settings, insufficient disk space, or corrupted Windows system files.

How can I fix the Windows update error 0x80240031?

1. Run the Windows update troubleshooter

  1. Press Windows + I to open the Windows Settings app.
  2. Go to Update & Security.Update &  Security error 0x80240031
  3. Click Troubleshoot, then select Additional troubleshooters.
  4. From the list of troubleshooters, click Windows Update, then click the Run the troubleshooter button.Run the troubleshooter
  5. Follow the on-screen instructions to complete the process.

Running the troubleshooter can also help you fix Windows Update error code 0xc007000d; read this guide to learn more.

2. Perform a clean boot

  1. Press Windows + R to open the Run window.msconfig - error 0x80240031
  2. Type msconfig and click OK to open System Configuration.
  3. On the System Configuration window, go to the Services tab, place a checkmark next to Hide all Microsoft services, and click Disable all.  This will ensure only non-Microsoft services are disabled.Services- error 0x80240031
  4. Switch to the Startup tab and click the Open Task Manager link.Open task manager
  5. On the Task Manager window, for each Enabled item, select them one by one and click Disable. You can always turn them back off.Disable startup
  6. Close Task Manager.
  7. On the System Configuration window, click Apply, then OK.Click OK and Apply- error 0x80240031
  8. Click Restart to reboot your PC.

3. Reset the Windows components

  1. Press the Windows key, type cmd in the search box, and select Run as administrator.Command Prompt Windows 10
  2. Type the following commands to stop the BITS and Windows Update services and hit Enter after each command: net stop bits
    net stop wuauserv
  3. Copy & paste the following script to delete the qmgr*.dat files and press Enter: Del "%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat"
  4. Type the following commands to rename the following folders to *.BAK and hit Enter after every command: Ren %systemroot%SoftwareDistributionDataStore *.bak
    Ren %systemroot%SoftwareDistributionDownload *.bak
    Ren %systemroot%system32catroot2 *.bak
  5. Now, copy & paste the following commands to reset the BITS service and the Windows Update service and hit Enter after every command : sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
    sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
  6. Type in this command to open System32 and press Enter: cd /d %windir%system32
  7. Copy & paste the following commands to reregister the BITS and Windows Update files and hit Enter after each command:
    regsvr32.exe atl.dll
    regsvr32.exe urlmon.dll
    regsvr32.exe mshtml.dll
    regsvr32.exe shdocvw.dll
    regsvr32.exe browseui.dll
    regsvr32.exe jscript.dll
    regsvr32.exe vbscript.dll
    regsvr32.exe scrrun.dll
    regsvr32.exe msxml.dll
    regsvr32.exe msxml3.dll
    regsvr32.exe msxml6.dll
    regsvr32.exe actxprxy.dll
    regsvr32.exe softpub.dll
    regsvr32.exe wintrust.dll
    regsvr32.exe dssenh.dll
    regsvr32.exe rsaenh.dll
    regsvr32.exe gpkcsp.dll
    regsvr32.exe sccbase.dll
    regsvr32.exe slbcsp.dll
    regsvr32.exe cryptdlg.dll
    regsvr32.exe oleaut32.dll
    regsvr32.exe ole32.dll
    regsvr32.exe shell32.dll
    regsvr32.exe wuaueng.dll
    regsvr32.exe wuaueng1.dll
    regsvr32.exe wucltui.dll
    regsvr32.exe wups.dll
    regsvr32.exe wups2.dll
    regsvr32.exe wuweb.dll
    regsvr32.exe qmgr.dll
    regsvr32.exe qmgrprxy.dll
    regsvr32.exe wucltux.dll
    regsvr32.exe muweb.dll
    regsvr32.exe wuwebv.dll
    regsvr32.exe initpki.dll
    regsvr32.exe wuapi.dll
  8. Type the command to reset Winsock using the following command and press Enter: netsh winsock reset
    net start bits
    net start wuauserv
  9. Now, copy & paste the following commands to restart the BITS and the Windows Update services and hit Enter after every command: net start bits
    net start wuauserv
  10. Restart your computer to let the changes take effect.

Resetting the Windows components can also help you fix the Windows Update not loading or working; check out the guide to learn more.

4. Run SFC & DISM scans

  1. Press the Windows key, type cmd in the search box, and click Run as administrator.Command Prompt Windows 10 - error 0x80240031
  2. Copy & paste the following command to repair the Windows update files and press Enter: DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth
  3. Once done, you will see The restore operation completed successfully; type the following command to repair the system files and hit Enter: sfc/scannowScan now Windows 10 - error 0x80240031
  4. Wait until you see sfc scan verification reaches 100% completion, then close the Command Prompt window.
  5. Reboot your PC to save the changes.

Running a DISM scan can also help you fix if there were some problems installing updates issue; read this separate guide to learn more.

5. Repair the hard driver errors

  1. Press the Windows key, type cmd in the search box, and click Run as administrator.Command Prompt Windows 10 - error 0x80240031
  2. Type the following command to repair the hard driver error and hit Enter: chkdsk/f C:Check disk - C
  3. Type Y to proceed; once the command is executed, restart your computer.

6. Run Automatic Repair

  1. Press Windows + I to open the Windows Settings app.
  2. Go to Update & Security.Update & Security error 0x80240031
  3. Click Recovery from the left pane.
  4. Locate Advanced Startup and click Restart Now.Recovery Advanced startup - error 0x80240031
  5. The computer will restart and will take you to the blue screen.
  6. Click Troubleshoot.
  7. Then, on the next page, select Advanced Options.
  8. Click Automatic Repair to initiate the repair process.

7. Perform a clean installation

Note icon NOTE
Backup your important data, and ensure you have the product key or access to the Microsoft account. Also, make sure you have an 8 GB USB drive to create a bootable installation media.

7.1 Create installation media

  1. Go to the Microsoft Windows 10 download page.Down,oad now - error 0x80240031
  2. Click the Download tool now to get the Media Creation tool on your device.
  3. Connect the USB drive, double-click the Media Creation tool to run it, and click Accept.Accept the terms and click Next
  4. Select Create installation media (USB flash drive, DVD, or ISO file) for another PC, and click Next.NExt
  5. Choose the language, edition, and architecture (32-bit or 64-bit) for Windows 10, then click Next.Create an installation media
  6. Select USB flash drive and click Next. This will make the USB a bootable media.

7.2 Install Windows 10

  1. Connect the USB drive to the targeted computer, then restart it.
  2. Press F2, F12, ESC, or DEL (the specific key per your manufacturer) during startup to access the BIOS/UEFI settings.
  3. In the BIOS settings, go to the Boot menu and select the USB drive to prioritize booting from the flash drive, then press F10 to save the changes and exit.
  4. Now, the computer will restart and boot from the USB drive.
  5. Select the language, time and currency format, & keyboard input method, then click Next.
  6. Click the Install Now button.INstall - error 0x80240031
  7. On the following screen, enter the Windows 10 product key when asked. You can skip the step if you have already activated Windows 10 and installed it on the device.
  8. Next, accept the license terms and click Next.
  9. Choose Custom: Install Windows only (Advanced) to perform a clean installation.Custom Advanced
  10. Select the drive you want to install Windows, or you can delete existing partitions. If you want to perform a completely fresh installation, choose the partition of your drive, then click Delete. In case you need a new one, click New to create a new partition.
  11. Follow the on-screen instructions to complete the process.

7.3 Configure Windows settings

  1. Once the installation is done, choose your region and keyboard layout.
  2. Connect to the Wi-Fi network when prompted.
  3. Next, sign in with a Microsoft account or create if needed.
  4. Choose the privacy settings per your preferences, then follow other prompts to set up other features.
  5. Once the setup is complete, go to Windows + I to open Settings, go to Update & Security, and choose Windows Update.Check for updates - error 0x80240031
  6. Click Check for updates.

To conclude, to fix the Windows Update error 0x80240031 on Windows 10, you can run the SFC scan to repair the corrupted system files, try performing automatic repair, or reset Windows components. You can also use a reliable Windows Update repair tool to fix all such errors automatically and quickly.

If you have any other suggestions or comments about the topic, feel free to mention them in the comments section below. Additionally, if you need any help with error code 8024200d, we have just the guide for you.

More about the topics: windows 10, Windows update error

User forum

0 messages