Fix: Error ‘0x80240031c’ in Windows 10

Milan Stanojevic avatar. By: Milan Stanojevic
6 minute read

Home » Fix: Error ‘0x80240031c’ in Windows 10

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.

Error 0x80240031c in Windows 10 and how to fix it?

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

Solution 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.
    windows-10-settings
  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.

Solution 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.

Solution 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.

Solution 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.

Solution 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.

Solution 6 – Perform Automatic Repair

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.

Solution 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.

Solution 8 – Run the 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.

Solution 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:\RepairSource\Windows /LimitAccess
  6. Make sure to replace ”C:\RepairSource\Windows” path of your DVD or USB.
  7. Follow further on-screen instructions.

Solution 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:\Windows\SoftwareDistribution SoftwareDistribution.old
  • ren C:\Windows\System32\catroot2 Catroot2.old
  • net start wuauserv
  • net start cryptSvc
  • net start bits
  • net start msiserver

Solution 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.

Editor’s Note: This post was originally published in January 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.

RELATED STORIES YOU NEED TO CHECK OUT:

Discussions

Next up

A quick guide to stop Microsoft from collecting your data

Giles Ensor avatar. By: Giles Ensor
4 minute read

Yesterday’s news about Microsoft collecting data, even when unauthorised to do so, has left many Windows 10 users unsure about how to stop Microsoft from […]

Continue Reading

14 best weather apps to use on Windows 10 in 2019

Madeleine Dean By: Madeleine Dean
7 minute read

It is very annoying when you go out in the park, expecting to enjoy a lovely, sunny day but you return home soaking wet because the […]

Continue Reading

3 Christmas gifts you can take on a plane without any problems

Madeleine Dean By: Madeleine Dean
Less than a 1 minute read

Christmas brings family and friends together. If your friends or family members are taking the plane to come to your place, then make sure that […]

Continue Reading