Several users reported that they encountered error code 0x8031004a while upgrading their PC to Windows 11, version 22H2 . If you too find yourself in this situation, you will find everything you need in this article.
Within this guide we are going to look at what triggering an error code 0x8031004a while updating Windows would bring along with six solutions
The topics of the post [ hide ]
- 1Why am I getting error code 0x8031004a when upgrading Windows 11?
- 1How to fix error code 0x8031004a on Windows 11
- 1Check the minimum system requirements
- 2Delete stored cache and temporary files
- 3Troubleshooting Windows Update
- 44] Run SFC/DISM scans
- 5Reset Windows Update components
- 6Installa manualmente Windows 11 versione 22H2 Enablement Package
- 2Conclusions
Why am I getting error code 0x8031004a when upgrading Windows 11?
This error occurs when the device encounters one or a combination of the following problems:
- Your device doesn’t meet the minimum system requirements set for installing Windows 11, version 22h2.
- Lack of enough disk storage spaces: Run the Disk Cleanup tool to overcome this issue.
- Missing/corrupt system files or folders: try SFC/DISM.
- Damaged Windows Update components: Repair update components.
How to Fix Error Code 0x8031004a on Windows 11
To fix this error code 0x8031004a on Windows 11, try the following fixes one after another. While you can apply these fixes in any order, we suggest you apply them in the same order described below.
- Check the minimum system requirements
- Delete stored cache and temporary files
- Fix Windows update problems
- Perform SFC/DISM scans
- Reset Windows Update components
- Manually install the Windows 11 version 22H2 enablement pack
Check the minimum system requirements
Windows 11, version 22h2 is the latest release from Microsoft and requires your device to meet some minimum system requirements. Go and check whether or not your device meets these prerequisites.
- RAM: 8GB or more, 16GB (recommended).
- Disk Storage: 64GB of free storage, SSD (recommended).
- Processor: 1 GHz or faster CPU or System on a Chip (SoC) with two or more cores.
- System firmware:UEFI, compatible with Secure Boot.
- TPM: TPM (Trusted Platform Module) versione 2.0.
- Graphics: Compatible with DirectX 12 or later with WDDM 2.0 driver.
- System Architecture:Your device must be x64 or ARM64. Windows 11 does not support 32-bit PCs.
If you encounter this error 0x8031004a despite your device meeting the above conditions, consider checking the HDD using CHKDSK.
Delete stored cache and temporary files
Disk Cleanup tool is the best way to delete application leftover files, leftover apps, temporary folders and other files.
Alternatively, you can also navigate to the path below and delete the temporary files.
Impostazioni> Sistema >Archiviazione >Files Temporanei
Check all the boxes containing unnecessary files and folders and hit Remove files . There will now be plenty of disk storage space to install pending updates on your computer.
Troubleshoot Windows Update
The most effective way to fix an update error is to use the built-in troubleshooter. This tool not only checks the possible causes but also suggests the ways to apply which you can overcome this update problem. Here’s what you need to do next:
- Press Win + Ito launch Settings .
- Go to System > Troubleshootand click More troubleshooters .
- When this expands, locate Windows Updateunder Most Frequent and hit the Run button .
- The troubleshooter will launch next and start looking for the problem that is preventing you from installing Windows 11.
- If this finds any problem within your system, it will fix that problem automatically.
In case you are unable to fix the underlying causes on your own then this will suggest ways to apply which you can overcome this error code 0x8031004a.
4] Perform SFC/DISM scans
Running external security apps often damages internal files and folders on your PC. Uninstall or at least disable such apps on your computer, then run SFC and DISM scans . These two scans will look for corrupted files in your system, folders and the “System Image” and fix them. Here’s how to do this task:
- Assuming you have already disabled the third-party antivirus program, launch CMD with administrator rights.
- To do this, press Win + R, type CMD and press Ctrl + Shift + Enter together.
- The UAC window will appear next, press Yesto authorize opening Command Prompt as administrator.
- Copy/paste the below command to elevated console and press Enter–
sfc /scannow
Type sfcscannow
- Wait for this command tool to automatically detect and repair missing or corrupted system files.
- After this scan reaches 100%, run the next DISM command.
DISM /online /cleanup-image /restorehealth
- Again wait for this tool to find and fix any corruption within the system image.
- After the scan and repair process reaches 100%, close CMD and restart your PC.
Reset Windows Update components
Windows cache folders contain information about all the updates that have checked on your computer in the past. The two such folders are SoftwareDistribution and Catroot2 .
These folders, if damaged, could prevent the installation of Windows 11 with the occurrence of error codes. Delete these folders and you will be able to install pending updates on your PC.
Before you go ahead and clear the contents inside the Windows Cache folders, make sure you disable the important Windows Update related services. In case you delete these folders without disabling update services first, then your device may have serious problems. Here’s how to reset update components on Windows 11 using the command prompt.
- Press Win + X and choose Terminal (Admin).
- After that the UAC window will appear, press Yes to authorize the opening of the terminal.
- On the terminal, use the “Ctrl + Shift + 2” hotkey to bring CMD to it.
- Run the following commands on it one after another. Make sure you hit the Enterkey after each command.
net stop bits
net stop cryptSvc
net stop wuauserv
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start bits
net start cryptSvc
net start wuauserv
net start msiserver
- Codes starting with “ren” will rename both the SoftwareDistribution and Catroot2 folders to their names along with a ” .old“ extension.
- Restart your PC and new cache folders will automatically be generated within your copy of Windows.
Go to Settings > Windows Update and hit Check for updates . The system will check your PC for pending updates and, if available, download and install them automatically.
Installa manualmente Windows 11 versione 22H2 Enablement Package
If, at this point, none of the above fixes worked to resolve the error code 0x8031004a, the only thing left for you to do is manually update to the latest version on your Windows PC.
Microsoft released the enablement pack ” KB5017389 ” of Windows 11, version 22h2 on September 30, 2022. Since you are getting error code 0x8031004a when upgrading to this version of Windows 11, you can manually download the pack and install it on your computer .
Conclusions
After downloading and installing this enablement pack, make sure you update your device to the latest OS build update. Hope the error 0x8031004a will be resolved after manually updating your Windows 11 PC to the latest version.