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:
- Log in with a local account
- Delete Windows.old folder
- Disable or temporarily uninstall your antivirus software
- Update using the wired connection
- Disable your graphics card drivers
- Perform Automatic Repair
- Run the Update Troubleshooter
- Run the SFC scan
- Run DISM
- Restart Windows Update components
- 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:
- Open the Settings app.
- Navigate to Accounts > Other users.
- Under Other users section, click Add someone else to this PC.
- Choose I don’t have this person’s sign-in information, and then click on Add a user without a Microsoft account.
- Enter the username and password for this user.
- Now you need to log out of your account and switch to a new local account that you’ve just created.
- 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:
- Open Settings app and go to Accounts > Your account.
- Next, click on Sign in with a local account instead.
- Enter the password for your account and click Next.
- Now, enter username and password that you wish to use. After you’re done, click Next.
- Next, click Sign out and finish.
- 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:
- While in Windows 10, hold the Shift key on your keyboard and click the Power button. From the list of options choose Restart.
- Your computer will restart and take you to the Advanced Startup menu.
- 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:
- Go to Settings.
- Head over to Updates & Security > Troubleshoot.
- Select Windows Update, and go to Run the Troubleshooter.
- Follow further on-screen instructions and let the process finish.
- 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:
- Right-click on the Start Menu button, and open Command Prompt (Admin).
- Enter the following line and press Enter: sfc/scannow
- Wait until the process is done (it may take a while).
- If the solution is found, it will automatically be applied.
- 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:
- Open the Command Prompt as shown above.
- Enter the following command and press Enter:
- /Online /Cleanup-image /Restorehealth
- Wait for the process to finish.
- Restart your computer.
- In case the DISM can’t obtain files online, try using your installation USB or DVD. Insert media and type following command:
- /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess
- Make sure to replace ”C:\RepairSource\Windows” path of your DVD or USB.
- 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:
- Start Command Prompt as administrator.
- 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:
- Go to Search, type services.msc, and open Services.
- Find Background Intelligent Transfer Service. Right-click and open Restart.
- Wait for the process to restart.
- Now, on the General tab, find Startup type and choose Automatic.
- If the BITS is not running, right-click and choose Start.
- 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:
- Full Fix: Update error 0x80080008 on Windows 10, 8.1, 7
- Windows 10 Update Error 0x8007001F [Fix]
- Full Fix: Upgrade error 0xc1900107 on Windows 10, 8.1, 7
- Fix: ‘Potential Windows Update Database Error Detected’
Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]
The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]