Windows 11 installation failed from USB: how to find the cause and fix it
"Installation failed" from a USB drive is not one error. It is a family of failures, and the code plus the stage where Setup stopped point to the cause. Disconnecting extra devices, updating drivers and firmware, and recreating the USB from a fresh download fix many cases.
On this page
What it means
When Windows 11 fails to install from a USB drive, the message on screen is usually vague: "Windows 11 installation has failed" or "We couldn't install Windows 11". The useful information is the code underneath and the point at which Setup gave up.
The most common code is 0xC1900101, a generic rollback code where a driver is the usual culprit. Other codes point elsewhere: damaged media, not enough disk space, or a PC that does not meet the Windows 11 requirements. One caveat: the Microsoft pages on error codes and fixes are written for Windows 10 upgrades. Treat the code-specific advice below as a starting point.
Symptoms and causes
You are likely dealing with this problem if:
- Setup shows "Windows 11 installation has failed" or "We couldn't install Windows 11".
- Setup stops with 0x8007025D - 0x2000C, 0xC1900200 or 0xC190020e.
- The Media Creation Tool fails while writing the USB, or the PC will not start Setup from the USB.
The usual causes, most common first:
- Incompatible or outdated drivers
- Microsoft names device drivers as the typical cause of 0xC1900101 and of First boot failures. Display, storage and other peripheral drivers are the usual ones.
- Extra devices connected during Setup
- USB devices, printers, SD cards and external drives can interfere. Microsoft's advice is to leave only the mouse, keyboard and display connected.
- Third-party antivirus or disk-encryption software
- Microsoft links non-Microsoft disk encryption to SafeOS-phase errors (such as 0x20017) and antivirus or filter drivers to Second boot failures (such as 0x40017).
- Damaged ISO or USB media, or faulty RAM or storage
- This typically shows up as 0x8007025D - 0x2000C. Microsoft's advice is to download the ISO again and recreate the media.
- Outdated BIOS/firmware, or a USB that will not boot into Windows PE
- Microsoft says SafeOS errors are most often hardware or firmware issues. If the PC cannot boot into Windows PE from your media, check for firmware updates.
- A second system partition on another connected drive
- Setup can report 0x80073BC3, 0x80070002 or 0x80073B92, each followed by - 0x20009.
- Not enough free disk space
- Shown as 0xC190020e, 0x80070070 or a DiskSpaceFailure result in SetupDiag. Windows 11 lists 64 GB or more of available storage as a minimum.
- The PC does not meet the Windows 11 requirements
- Code 0xC1900200 means minimum requirements were not met (SetupDiag calls it GenericCompatBlock). Windows 11 requires, among other things, UEFI with Secure Boot capability and TPM 2.0.
How to fix it
Work through these in order. They start with the quickest, safest checks and move to deeper repairs; stop as soon as the problem is gone.
1.Disconnect everything except mouse, keyboard and display
Attached peripherals and extra drives are a known trigger for rollbacks and for the 0x20009 partition errors, and removing them costs nothing.
- Shut the PC down and unplug printers, external drives, SD cards, webcams, docks and any other USB devices.
- Keep only the mouse, keyboard, display and the installation USB.
- If the PC has a second internal drive that once held another Windows installation, disconnect it too (see the partition note further down).
- Start Setup again.
2.Run SetupDiag to get a plain-language result
SetupDiag is Microsoft's own tool that reads the Setup logs and names the likely cause, such as a blocking driver or a lack of disk space.
- Download SetupDiag from Microsoft Learn (the page links to the download). It needs .NET Framework 4.7.2 or later.
- Open an elevated Command Prompt in the folder where you saved it and run it on the PC that failed.
SetupDiag.exe /Output:C:\SetupDiag\Results.log - To analyse logs copied from another PC, point it at that folder instead.
SetupDiag.exe /Output:C:\SetupDiag\Results.log /LogsPath:D:\Temp\Logs\LogSet1 - Read the result. Setup also runs SetupDiag by itself after a failure, and its output is saved in
%WinDir%\Logs\SetupDiag\SetupDiagResults.xml. Rule names you may see includeHardblockDeviceOrDriver(a device or driver blocks the install),GenericCompatBlock(the PC does not meet the requirements),DiskSpaceFailureandWimApplyExtractFailure.
3.Update drivers and firmware, and remove what you do not use
Drivers are the most common cause of 0xC1900101. Current display, storage and chipset drivers, plus a current BIOS/firmware, remove the usual blockers.
Before you start: A firmware (BIOS) update must not be interrupted by a power cut. On a laptop, plug in the charger first, and use only the update from your PC or motherboard maker.
- Install the latest display, storage and chipset drivers from your PC or hardware maker's official support page.
- Check the same support page for a newer BIOS/firmware and follow the maker's instructions to install it.
- In Device Manager, uninstall devices and drivers you no longer use.
- Run Setup again. When it offers Download and install updates, accept.
4.Remove third-party antivirus and handle disk encryption first
Microsoft links antivirus and filter drivers to Second boot failures, and non-Microsoft disk encryption to SafeOS-phase problems.
Before you start: Back up your important files before changing security software. Reinstall your antivirus after Windows 11 is installed so the PC is not left unprotected.
- Uninstall the third-party antivirus through Settings > Apps > Installed apps. Leave Windows Security in place.
- Run Setup again. When it finishes, reinstall your antivirus.
5.Re-download the ISO and recreate the USB
A damaged ISO or badly written USB is the likely cause of 0x8007025D - 0x2000C, and a bad USB also explains drives that will not start Setup.
Before you start: Creating installation media erases everything on the USB drive. Copy off anything you need first.
- Download the Windows 11 ISO or the Media Creation Tool again from Microsoft's official download page. Do not reuse the old file.
- Plug the USB drive directly into the PC rather than into a hub, and create the media from scratch.
- Try the install again.
6.Fix the specific causes: 0x4000D, two system partitions, disk space
These codes have specific remedies in Microsoft's resolution tables (written for Windows 10 upgrades).
Before you start: Before changing any firmware setting, write down or photograph its original value so you can restore it.
- For
0x4000D: free up disk space, try another video adapter if you have one, and turn off BIOS caching or shadowing in the firmware settings. Note the original setting first and put it back afterwards. - For
0x80073BC3,0x80070002or0x80073B92with- 0x20009: Setup found two system partitions. Disconnect the old system drive and run Setup again. This is the main fix. - Last resort only: Microsoft's table also mentions removing the unused system partition. Deleting a partition destroys its data and is hard to undo. Back up everything first, and identify the partition in Disk Management before touching it. If you cannot tell which one it is, do not delete anything.
- For
0xC190020eor0x80070070: free up space on the system drive. Windows 11 lists 64 GB or more of available storage as a minimum.
7.Check the PC meets the Windows 11 requirements
Code 0xC1900200 means the minimum requirements were not met.
- Compare your PC with Microsoft's Windows 11 requirements: a compatible 64-bit processor with two or more cores at 1 GHz or faster, 4 GB of memory, 64 GB of available storage, UEFI with Secure Boot capability, TPM 2.0 and a DirectX 12 compatible graphics card with a WDDM 2.0 driver.
- Run SetupDiag. A
GenericCompatBlockresult confirms a requirements problem.
8.Confirm the PC really boots from the USB
If Setup never starts, the PC may simply be booting from another drive.
Before you start: Booting from installation media and installing wipes the target drive. Back up your files first.
- Restart the PC and open the boot menu with the key your maker uses (usually one of F1 to F12, or DEL).
- Select the USB drive. If it is not listed, recreate the USB or try a different USB port.
Check that it worked
- Setup completes all its restarts and reaches the Windows 11 setup screens without rolling back.
- Open Settings > System > About and confirm Windows 11 is shown under Windows specifications.
- If you ran SetupDiag after an earlier failure, the old error no longer appears in a new result.
If it still fails
- Run SetupDiag and note the exact rule name and full code. The combination points to the cause far better than the generic message does.
- Check whether the failure repeats at the same phase every time. A repeat in the same phase suggests a driver, security software or hardware problem. Random failures suggest bad media, RAM or storage.
- Contact the PC or motherboard maker's support with the full code and the SetupDiag result, or use Microsoft Support.
Questions
Will a failed installation erase my files?
Booting from the USB and doing a clean install, however, erases the target drive, so back up first.
Sources
- Windows 10 upgrade issues troubleshooting (upgrade phases and example codes)Official · Microsoft Learn
- Resolution procedures (error code tables, Windows 10)Official · Microsoft Learn
- SetupDiagOfficial · Microsoft Learn
- Windows 11 requirementsOfficial · Microsoft Learn
- Ways to install Windows 11Official · Microsoft Support