10+ ways to fix error code 0x80240031c in Windows 10

by Milan Stanojevic
Milan Stanojevic
Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about PCs ever since his childhood days, and this led him to take interest in all PC-related technologies. Before joining WindowsReport, he worked as... read more
Affiliate Disclosure
  • Updating your OS isn’t always simple, and there might be some problems from time to time.
  • Error code 0x80240031c is just one issue that may come between you and your upgrade from Windows 7 or 8 to Windows 10. Fortunately, we have the fixes.
  • Do not let anything to chance and stay error-proof thanks to our Windows Update Guides.
  • Bookmark our Windows 10 Troubleshooting Hub as well.
Windows 10

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Updating Windows 10 isn’t always simple, and there might be some problems from time to time. Some users are getting error 0x80240031c while updating Windows 10, so let’s see how to fix this error.

How can I fix error 0x80240031c in Windows 10?

Table of contents:

  1. Log in with a local account
  2. Delete Windows.old folder
  3. Disable or temporarily uninstall your antivirus software
  4. Update using the wired connection
  5. Disable your graphics card drivers
  6. Perform Automatic Repair
  7. Run the Update Troubleshooter
  8. Run the SFC scan
  9. Run DISM
  10. Restart Windows Update components
  11. Restart the BITS service

1. Log in with a local account

If you’re updating to newer build of Windows 10, and you’re using your Microsoft account to access Windows 10, you might want to switch to local account in order to fix error 0x80240031c.

There are two ways to do this: you can create a new local account and switch to it, or you can change your current account to a local one. To create a new local account, follow these instructions:

  1. Open the Settings app.
  2. Navigate to Accounts > Other users.
  3. Under Other users section, click Add someone else to this PC.
  4. Choose I don’t have this person’s sign-in information, and then click on Add a user without a Microsoft account.
  5. Enter the username and password for this user.
  6. Now you need to log out of your account and switch to a new local account that you’ve just created.
  7. After switching to a new account, try to update Windows 10.

After you’re done, you can delete the local account. If you wish to change your account from Microsoft account to a local account, do the following:

  1. Open Settings app and go to Accounts > Your account.
  2. Next, click on Sign in with a local account instead.
  3. Enter the password for your account and click Next.
  4. Now, enter username and password that you wish to use. After you’re done, click Next.
  5. Next, click Sign out and finish.
  6. Log in back again to your account, and try to update Windows 10 again.

2. Delete Windows.old folder

If you have upgraded from Windows 8 or Windows 7, you might have Windows.old folder on your main hard drive. This folder contains everything from your old operating system, and you can use that folder to switch back to the previous version of Windows. However, if you’ve performed a clean install or you have been using Windows 10 for more than a month, this folder is probably not on your hard drive.

Sometimes this folder can be the cause of error 0x80240031c on Windows 10, so make sure that you delete it. After deleting Windows.old folder, you won’t be able to return the previous version of Windows, so keep that in mind.

3. Disable or temporarily uninstall your antivirus software

Sometimes error 0x80240031c is caused by your antivirus software, so before you try to upgrade, make sure that your antivirus software is disabled. If the issue persists even if your antivirus software is disabled, uninstall your antivirus and try to upgrade Windows 10 again.

Users have reported that AVG antivirus is causing this issue, but if you use different antivirus software, make sure that you disable it, or uninstall it if you’re getting error 0x80240031c.

4. Update using the wired connection

It has been reported that this error appears when you try to update Windows 10 using a wireless or mobile network such as Verizon 4G LTE, AT&T 4G LTE, etc. If you’re using wireless or mobile network, connect your device to a wired network and try to perform the upgrade again.

5. Disable your graphics card drivers

Graphic card drivers can cause issues when performing Windows update, and it’s advised that you disable your graphic card driver when you’re upgrading your Windows. To do so, just visit Device Manager, find your graphic card, right click it and choose Disable.

After you’ve disabled your graphic card driver, try to perform the upgrade again.

6. Perform Automatic Repair

Expert Tip: Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

If the issue persists, you could perform Automatic Repair in order to fix this problem. To perform Automatic Repair, you’ll have to use Advanced Startup.

To access Advanced Startup, you need to do the following:

  1. While in Windows 10, hold the Shift key on your keyboard and click the Power button. From the list of options choose Restart.
  2. Your computer will restart and take you to the Advanced Startup menu.
  3. Now you need to choose Troubleshoot > Advanced Options > Automatic Repair.

If Automatic Repair doesn’t fix this issue, you might want to refresh your PC. To do that, you need to repeat Step 1 from this solution and choose Troubleshoot > Refresh your PC.

7. Run the Update Troubleshooter

The next thing we’re going to try is running Windows 10’s built-in troubleshooter. This troubleshooting tool can resolve various issues, including our update problem.

Here’s how to run the Update troubleshooter in Windows 10:

  1. Go to Settings.
  2. Head over to Updates & Security Troubleshoot. 
  3. Select Windows Update, and go to Run the Troubleshooter. 
  4. Follow further on-screen instructions and let the process finish.
  5. Restart your computer.

8. Run a SFC scan

Since we got involved with the troubleshooting tool, you may as well try the SFC scan. This is a command-line tool that basically scans your system for potential issues, and resolves them automatically (if possible).

Here’s how to run the SFC scan in Windows 10:

  1. Right-click on the Start Menu button, and open Command Prompt (Admin).
  2. Enter the following line and press Enter: sfc/scannow
  3. Wait until the process is done (it may take a while).
  4. If the solution is found, it will automatically be applied.
  5. Now, close the Command Prompt and restart your computer.

9. Run DISM

And finally, the last troubleshooting tool we’re going to try is Deployment Image Servicing and Management (DISM). As its name says, this tool deploys the system image all over again, and can hopefully ‘wipe away’ the problem.

Here’s how to run DISM in Windows 10:

  1. Open the Command Prompt as shown above.
  2. Enter the following command and press Enter:
      • DISM.exe/Online /Cleanup-image /Restorehealth
  3. Wait for the process to finish.
  4. Restart your computer.
  5. In case the DISM can’t obtain files online, try using your installation USB or DVD. Insert media and type following command:
      • DISM.exe/Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess
  6. Make sure to replace C:RepairSourceWindows path of your DVD or USB.
  7. Follow further on-screen instructions.

10. Restart Windows Update components

If none of the previous solutions resolved the problem, let’s try with resetting Windows Update components. Here’s how to do that:

  1. Start Command Prompt as administrator.
  2. When Command Prompt starts, run the following commands:
  • net stop wuauserv
  • net stop cryptSvc
  • net stop bits
  • net stop msiserver
  • ren C:WindowsSoftwareDistribution SoftwareDistribution.old
  • ren C:WindowsSystem32catroot2 Catroot2.old
  • net start wuauserv
  • net start cryptSvc
  • net start bits
  • net start msiserver

11. Restart the BITS service

The final thing we’re going to try is restarting the BITS service, which is responsible for acquiring updates. Here’s how to reset the BITS service:

  1. Go to Search, type services.msc, and open Services.
  2. Find Background Intelligent Transfer Service. Right-click and open Restart.
  3. Wait for the process to restart.
  4. Now, on the General tab, find Startup type and choose Automatic.
  5. If the BITS is not running, right-click and choose Start.
  6. Confirm selection and close window.

We have to mention to use refresh option as the last solution and only if you’re unable to fix error 0x80240031c in any other way.

Bear in mind that refreshing your PC will delete your downloaded software and files, although your personal documents and Universal apps will be saved, so use it as a last resort.

idee restoro Still having issues? Fix them with this tool:
  1. Download this PC Repair Tool rated Great on TrustPilot.com (download starts on this page).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues with Patented Technologies (Exclusive Discount for our readers).

Restoro has been downloaded by 0 readers this month.

Frequently Asked Questions

This article covers:Topics: