When installing the Windows upgrade from Windows 7, 8 or Windows 8.1 to Windows 10 , the error message is very common
as you can see in the picture below.
Since there can be various reasons that the upgrade error 0x80240031 can occur, we would like to give you a few clues and possible solutions to eliminate the error.
Virus scanner cause of error 0x80240031
Many Windows users who receive the error code 0x80240031 report that it is due to the use of an antivirus program . Especially the program “TuneUP from AVG” seems to create problems with the Windows 10 upgrade , but other manufacturers also report about upgrade problems .
Even if it is actually not the right step to uninstall or deactivate the virus scanner , but for the Windows update process you should deactivate or uninstall the virus scanner or your Windows security software . After the successful upgrade process, you should of course undo it and use the latest virus software.
Reset Windows Update Service
Another reason for the update error can be a faulty Windows update service . But this is not a big problem, you can reset it as follows .
net stop bits
net stop wuauserv
net stop cryptsvc
del C: ProgramData Microsoft Network Downloader qmgr * .dat
ren C: Windows SoftwareDistribution C: Windows SoftwareDistribution.DEL
net start cryptsvc
net start wuauserv
net start bits
With these commands, which you have to execute in an MS-DOS command prompt with administrator rights , you reset the Windows Update Service and rename the folder in which all Windows Update files are cached . Then you should completely restart your PC and run the installation or Windows upgrade again.
Repair component store
If the previous measures have not worked, there is still the repair of the Windows component store . How this works and which PowerShell commands you have to use, we published in a separate article on the Windows component store under ” Repair Windows component store with DISM and PowerShell commands “.
If you are interested in further information about upgrade error messages or update problems, these articles may be interesting for you.
– 0x8e5e03fa Windows 10 Update error code
– 0x80248007 error code for Windows Update
– Windows Update error code 0x80245006
– 0x80070003 error code for Windows Update
– Windows App Store error code 0x8024500c
– Windows Update error code 0x80240fff
– 0xc1900201 error code for Windows 10 Anniversary Update
– 0x80070490 Windows Update error code
– 0x8000ffff Windows error code
– 0x80072ee7 error code for Anniversary Download
– 0xc004f014 error code for Windows 10 Upgrade Home -> Pro