If you’re encountering the error message Windows installation encountered an unexpected error on your computer while installing Windows 11/10, you can try the solutions we will present in this post to help you resolve the issue.
When you encounter this issue. you’ll receive the following full error message-
Windows installation encountered an unexpected error. Verify that the installation sources are accessible, and restart the installation.
The accompanying error code could be 0xc0000005, 0x8007025d, 0x80070001, 0x40003, 0x4002f, 0xE0000100, etc. and it can also appear during Windows Update.
This error can be caused by various problems during installation. It could be caused by a problem with the disk partition or the Installation media, low or damaged RAM, corrupted registry files, or incorrect hardware configuration.
Fix Windows installation encountered an unexpected error
If you’re faced with error code 0xc0000005, 0x8007025d, 0x80070001, 0x40003, 0x4002f, 0xE0000100, etc. during installation or during Windows Update, you can try our recommended solutions below and see if that helps to resolve the issue.
- Clean the partition
- Run CHKDSK Utility
- Run the Hardware Troubleshooter
- Check RAM
- Modify the LoadAppInit_DLLs registry key
Let’s look at the description of the process involved concerning each of the listed solutions.
1] Clean the partition
You can use the built-in diskpart tool to clean your partitions.
You may boot to the Advanced Startup Options screen or use the installation media, boot to the Repair your computer screen.
Here, access the Command Prompt and execute the following commands one after the other:
diskpart list disk select disk 0 clean
Restart and see if you can install it.
3] Run CHKDSK Utility
A corrupt hard drive or bad sectors on the drive can also lead to the issue. In this case, you can run CHKDSK (check disk) utility to try to fix the disk corruption due to bad sectors.
Run the following command:
chkdsk c: /f
On restart, check if it helped.
3] Run the Hardware Troubleshooter
This solution requires you to run the built-in hardware troubleshooter and see if the error is resolved.
4] Check RAM
Turn off the system and replace the RAM with another RAM. You may also swap RAM slots and then boot the system. Check if the error still persists. Swapping of RAM is required when there is physical damage to RAM connectors or hardware.
Also, run a memory diagnostic test on your RAM using Memtest86+ to fix the issue.
5] Modify the LoadAppInit_DLLs registry key
Corrupt registry files lead to serious issues in the system, including this error.
Do the following:
Since this is a registry operation, it is recommended that you back up the registry or create a system restore point as necessary precautionary measures. Once done, you can proceed as follows:
- Press Windows key + R to invoke the Run dialog.
- In the Run dialog box, type regedit and hit Enter to open Registry Editor.
- Navigate or jump to the registry key path below:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
- At the location, on the right-hand side, double-click on the LoadAppInit_DLLs registry key to edit its properties.
- In the properties window, set the Value data to 0.
- Click OK to save changes.
- You can now close the Registry Editor window.
- Reboot your computer to let the changes take effect.
Fix Windows Update Error Code 0xE0000100
The error code can also appear when Windows Update fails. In this case, try the following:
I hope something here helps you.