In this post, we will show you how to fix Something happened and the Windows couldn’t be installed. Please try again. Error code 0x80240031 while upgrading to the latest version of Windows. For some, this has turned out to be an exercise in frustration, with some users getting an error code 0x80240031. There appears to be no universal quick fix available for the error code as of now.
Windows couldn’t be installed, Error code 0x80240031
The error code plaguing many Windows (seems evident from the numbers seeking support via Microsoft’s support forum) users are at best, annoying because, the error pops up when the Windows update download reaches up to 50%.
The two buttons – ‘Try Again’ and ‘Cancel’ offered, seem of little or no use.
Why does the error code pop up?
Although it is difficult to determine the exact cause of the problem, experts suggest the code shows up commonly due to corrupted or damaged registry files, malware or spyware infection, old or outdated Windows driver, file system corruption and most importantly ‘Unfinished installation of Windows / improper maintenance cause.
This can lead to events such as the program failing to run, system freezing, system start up the problem, and system shut down problems. Follow these steps and see if it works.
1] Install the latest Updates and Drivers
Make sure that you have the latest drivers installed for your Windows machine. Also, I would suggest you install all the available Windows Updates, including the optional updates for drivers.
2] Uninstall or Disable Antivirus
If the above solution fails, uninstall Antivirus software and then try to upgrade to Windows 8.1. See if it helps.
3] Use the SFC /SCANNOW
To run the system file checker,
- Press the Windows button + X on your keyboard; a mini-dialogue box will appear
- Choose Command Prompt (Admin). You must run the command prompt in Administrator level
- On the command prompt type sfc /scannow and hit Enter.
- If everything goes okay and no errors are found, restart your computer and try updating again
- If errors were found, try to fix it using DISM.
- On the same command prompt window type Dism /Online /Cleanup-Image /RestoreHealth. Details on this here.
- After the repair is complete, restart your computer and try to update now.
4] Try Automatic Repair
- Go to ‘Search’. There, select “Settings” found on the right side and type Advanced Startup Options and hit enter.
- The action will open the PC Settings in General category. Scroll down and look for “Advanced Startup” and click Restart Now.
- Next, choose ‘Troubleshoot’ > Advanced options and finally hit Automatic Repair.
5] Reset Your PC
Follow the above steps until you land on the Settings in General category. Scroll down and look for “Reset your PC without Affecting your Files” and click Get Started when you are ready. Follow the instructions!
I hope something helps!