“Windows 11 installation has failed” — sometimes with a helpful error code, sometimes with nothing at all. Either way, the installer’s complaint is usually about one of a handful of things: bad media, not enough space, a driver it chokes on, or a peripheral confusing it. The fix is systematic, not random.
This guide starts with reading the error correctly, then walks the fixes in likelihood order. If your machine fails the compatibility check before setup even starts, see our guide to fixing “This PC can’t run Windows 11” ; Acer and Dell owners have model-specific installation walkthroughs as well.
Why this happens
- Corrupted installation media — a bad USB write or incomplete ISO download.
- Insufficient free disk space for setup’s temporary files and the Windows.old backup.
- Incompatible or outdated storage/chipset drivers that setup can’t work with.
- Third-party antivirus or disk encryption blocking setup operations.
- Connected peripherals (docks, external drives, SD cards) confusing the installer.
- Failing RAM or storage hardware corrupting files as setup writes them.
- An overclocked or undervolted system that’s stable in daily use but not under setup’s sustained load.
How to fix it
Work through these in order — Fix 1 alone resolves a huge share of failures.
Fix 1: Recreate the installation media properly
Most “installation failed” cases trace back to the USB stick itself.
- Download the Media Creation Tool from Microsoft’s official download page .
- Use a USB drive of 8 GB or larger from a reputable brand — cheap no-name sticks cause corrupt writes.
- Let the tool download and create the media in one run; don’t interrupt it.
- If setup still fails, recreate the media on a different USB stick and a different USB port.
- Prefer a rear/USB 2.0 port on desktops; on laptops, avoid hubs and docks during setup.
Fix 2: Decode the error code
The code tells you which fix to prioritize — don’t skip this step.
- Write down the full error code (e.g.
0x80070002,0xC1900101,0x800F081F). 0x80070002/0x80070003: missing files — recreate media (Fix 1).0xC1900101: driver conflict — disconnect peripherals and update drivers (Fixes 4–5).0x80070070: disk space — free up space (Fix 3).- Microsoft’s Windows support hub documents the common setup codes if yours isn’t listed here.
Fix 3: Free up disk space
Setup needs breathing room beyond the bare 64 GB requirement.
- In your current Windows, open Settings > System > Storage and run Cleanup recommendations.
- Run Disk Cleanup: press Win + R, type
cleanmgr, select Clean up system files. - Move personal files (videos, photos, downloads) to an external drive temporarily.
- Aim for at least 25–30 GB genuinely free on the system drive.
- Uninstall large programs you can reinstall later — games especially.
Fix 4: Disconnect all non-essential peripherals
Setup probes every connected device, and one bad actor can halt the whole install.
- Unplug everything except keyboard, mouse, and monitor: docks, USB drives, SD cards, printers, external GPUs.
- If you have multiple internal drives, consider disconnecting non-target drives during setup.
- Remove any SD cards from built-in readers — they’re a notorious setup trip hazard.
- Retry the installation with the minimal configuration.
- Reconnect peripherals one at a time after Windows 11 is running.
Fix 5: Update drivers and BIOS before upgrading
For upgrade installs (not clean installs), the existing driver stack matters.
- Update chipset, storage, and graphics drivers to Windows 11-ready versions from your maker’s site.
- Uninstall third-party antivirus — Windows Security remains active during setup.
- Suspend BitLocker: open an elevated Command Prompt and run
manage-bde -protectors -disable C:. - Update the BIOS to the latest version with the charger connected.
- Retry the upgrade after these updates.
Fix 6: Test RAM and drive health
If setup fails at random percentages with different errors each time, suspect hardware.
- Run Windows Memory Diagnostic (
mdsched.exe) before starting setup. - Check drive health:
wmic diskdrive get statusshould report OK. - Run
chkdsk C: /fto fix file-system errors on the target drive. - Bad RAM corrupts files as setup writes them — replace failing sticks first.
- A drive with SMART warnings should be replaced before any OS install.
Fix 7: Try a clean install instead of an upgrade
When upgrades repeatedly fail, a clean install sidesteps whatever the old system was tripping on.
- Back up everything — a clean install erases the drive.
- Boot from the USB installer and choose Custom: Install Windows only.
- Delete the old partitions on the target drive and install to the unallocated space.
- Let setup complete, then install drivers from your maker’s support site.
- Restore your files from backup afterwards.
Fix 8: Check the setup log files
For stubborn failures, the logs name the exact failing component.
- After a failed upgrade, open
C:\$Windows.~BT\Sources\Panther\setupact.log. - Search for
Failedor error codes near the end of the log. - The failing driver or component is usually named within a few lines of the error.
- Update or remove that specific driver and retry.
- For clean-install failures, check
X:\Windows\Pantherfrom the recovery Command Prompt (Shift + F10 during setup).
Closing
Windows 11 installation failures are almost never mysterious once you read the error code: bad media, cramped disk, hostile peripherals, or outdated drivers cover nearly every case. Recreate the USB properly, clear space, strip the peripherals, and setup completes. And when it does, leave the installer USB somewhere safe — future you will thank present you the next time a friend’s laptop needs rescuing. Most failed installs are fixed within an hour once you stop reinstalling blindly and start reading what setup is actually complaining about in its detailed setup logs.
