You might encounter this error due to one or more (but not limited to) of the following known causes;

Some files are sometimes copied twice during the installation because of a bug in Windows Media Creator.A file might have an improper extension.Issues with Boot Manager may cause the problem so try resetting it.A service or a program may cause the problem to appear.

Windows 11/10 installation has failed

If you’re faced with this issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue. Let’s take a look at the description of the process involved concerning each of the listed solutions.

1] Verify the minimum requirement

If your system meets the minimum requirement but you’re still encountering the error, then you can try the next solution.

2] Uninstall the language pack

If your previous Windows iteration had a language pack that isn’t the same as the localization, you’ll encounter the error. In which case, you can try changing the region and uninstall the language pack. After that, you can restart the upgrade process and look for a resolution.

3] Clear $WINDOWS.~BT installation folder attributes

In certain cases, the Windows 10 installer tries to overwrite (copy) the installation files in a folder named $WINDOWS.~BT in your local disk. This may occur because the installer tries to copy the files two times in succession but fails to do so and reports the error. To clear the $WINDOWS.~BT installation folder attributes, do the following:

Start the Windows 10 installation as usual and navigate to the last screen, just before you are going to start the installation. The screen should say just what will be installed and what settings you have chosen to use.Minimize the installer and open File Explorer by opening a folder and navigating to Local Disk C.Try to locate a folder named $WINDOWS.~BT in the root folder of the Local Disk.If you are unable to see the $WINDOWS.~BT folder, you will need to show hidden files.Right-click on the problematic folder and click the Properties option from the context menu.Stay in the General tab and locate the Attributes section at the bottom.Clear the box next to the Read-only and System options and click on Apply before exiting.

Check to see if the problem still appears when re-running the installation.

4] Unplug all peripheral devices

Older printers and similar peripheral devices with generic drivers can cause the Windows 10 installation has failed error. In this case, unplug all peripheral devices and stick with essentials only. When the upgrade finishes, you can plug them back and they’ll be automatically be installed.

5] Rename the install.esd file

It appears that there is a bug regarding the Windows Media Creation Tool which renamed the file different as to it should be named. The error appears when trying to install to a DVD because a file is named install.esd as opposed to install.wim which will cause the installation to go smoothly. In this solution, you’ll need to rename the install.esd file. Here’s how:

Start the Windows 11/10 installation as usual and navigate to the last screen, just before you are going to start the installation. The screen should say just what will be installed and what settings you have chosen to use.Minimize the installer and open File Explorer by opening a folder and navigating to the disk where you have inserted the installation media (USB or DVD).Double-click it and open the sources folder located inside.Locate the file named install.esd, right-click on it and choose Rename.Change its extension from esd to wim.

Try running the upgrade again and see if the issue is resolved.

6] Rebuild BCD

This solution requires you to rebuild the Boot Configuration Data (BCD) and see if the Windows 11/10 installation has failed error will be resolved.

7] Clean install Windows 11/10

Since you’re encountering this issue using the Update Assistant or directly running setup from within the mounted Windows 10 ISO, this solution entails you clean install Windows instead and see if you can get past this upgrade block. Any of these solutions should work for you!