Windows 11 PC screen showing a Windows installation has failed error message with a repair toolkit beside it

Windows Installation Has Failed? Find the Cause and Fix It

“Windows installation has failed” is not one problem. It is a general message that Windows Setup shows when it cannot finish, and the cause can be a damaged USB installer, too little free storage, an incompatible driver, a broken Windows Update component, corrupted system files, or a firmware setting on the PC.

That is why a random list of fixes wastes time. This guide helps you work out which kind of failure you have, then apply the fix that fits it.

Quick Answer

Quick Answer: Start by identifying how you are installing Windows (Windows Update, Installation Assistant, ISO, or USB), the stage where it stops, and any error code shown. Then check the matching category: storage, compatibility, drivers, installation media, system files, or firmware settings. Setup logs explain failures that show no code.

SymptomLikely CauseBest First Step
Fails immediatelyCompatibility check, missing TPM or UEFI, or not enough spaceRun PC Health Check and read the message it gives
Fails at 75 percentNot tied to one cause. Often a driver, device, or file problem during installationNote the error code, then read setupact.log
Fails at 77 percentNot tied to one cause. Same approach as any percentageDisconnect extra devices, then check the logs
Fails after a restartDriver problem, firmware setting, or a rollbackRead the Rollback and Panther logs
USB installation failsDamaged media, bad port, wrong boot mode, or damaged ISORecreate the USB with the Media Creation Tool
ISO installation failsDamaged or incomplete ISO, or setup started incorrectlyDownload again from Microsoft and check the hash
Windows Update install failsUpdate components, system files, or low spaceRun the Windows Update troubleshooter
Fails with 0x8007007fReported mainly with the Installation Assistant. The cause is not documentedRerun as administrator, or run setup.exe from an official ISO
Fails with no error codeUnknown until logs are readOpen setupact.log and setuperr.log
Fails on a new PCFirmware settings, storage driver, partition layout, or unsupported hardwareCheck UEFI, TPM, Secure Boot and the target disk
Windows Installation Has Failed, Flowchart that helps diagnose a failed Windows installation by installation method, failure stage, error code and cause category

Why Windows Installation Has Failed

Windows Setup does its work in stages. Microsoft documents upgrade logs by phase, including a down-level phase that runs inside the old Windows, an out of box experience phase near the end, and a rollback phase if something goes wrong. A failure in one stage points to different causes than a failure in another.

Early failures usually involve compatibility, storage, or damaged files. Failures after a restart more often involve drivers, firmware, or the disk. If setup reaches the final stage and rolls back, the logs from the rollback folder become the most useful evidence.

The percentage on screen helps you describe the problem, but it does not identify the cause by itself. Later sections explain how to use it correctly.

First Determine Which Installation Method You Are Using

The five methods fail in different ways and leave different logs.

  • Windows Update: Windows downloads and installs the update itself. Failures show in Settings > Windows Update > Update history.
  • Windows 11 Installation Assistant: a tool from Microsoft that upgrades a supported Windows 10 PC. It runs from inside Windows.
  • ISO upgrade: you mount an ISO file in Windows and run setup.exe. Your apps and files can be kept.
  • USB upgrade: the same as an ISO upgrade, but started from the USB drive while Windows is running.
  • Clean installation: you boot the PC from the USB drive. Setup runs outside Windows and can erase the disk.

Key distinction: an upgrade runs inside the existing Windows, so a broken Windows can cause the failure. A clean installation does not depend on the old Windows, so failures point to media, hardware, firmware or the disk.

Before Troubleshooting, Check These Basics

  • Back up important files to another drive or cloud storage. Some later steps can erase data.
  • Connect the PC to power if it is a laptop.
  • Restart once and try again, because a pending restart can block setup.
  • Confirm that you know the method from the previous section.
  • Write down the exact error code and the percentage, if any.
  • Take a photo of the screen. The wording often matters.

Step 1: Check Windows 11 Compatibility

Microsoft lists these minimum requirements for Windows 11:

  • A 64-bit processor, 1 GHz or faster, with two or more cores
  • 4 GB of memory
  • 64 GB of storage
  • UEFI firmware that is Secure Boot capable
  • TPM version 2.0
  • For a direct upgrade from Windows 10, version 2004 or later
  • For Windows 11 Home, an internet connection and a Microsoft account during setup

Two details cause confusion. Microsoft says Secure Boot capable, which means the firmware supports it. It does not say Secure Boot must already be switched on. And a new PC is not guaranteed to meet every requirement.

To check, run Microsoft’s PC Health Check app. To read the details yourself, press Windows + R, type tpm.msc and press Enter for TPM status. Type msinfo32 and look at BIOS Mode (it should say UEFI) and Secure Boot State.

Bypassing these requirements is unsupported by Microsoft. This guide does not treat it as a fix, because an unsupported install can miss updates and cause further failures.

Step 2: Make Sure You Have Enough Free Storage

Storage can fail in four different places, and they are not the same:

  • Download space: where Windows stores the files it downloads.
  • Temporary installation space: setup unpacks files and keeps the old Windows so it can roll back.
  • System drive space: the drive that holds Windows, usually C:.
  • Recovery or system partition space: a small partition that can run out of room, which can produce errors such as 0x800F0922.

Microsoft states 64 GB or more of storage as the Windows 11 minimum and notes that updates can need more over time. It does not publish one larger free space number for every upgrade, so this guide does not invent one. Free as much as you reasonably can on the system drive.

Check space in Settings > System > Storage. Use Temporary files to remove items you do not need. If error 0x80070070 appears, it maps to a disk full condition, and freeing space is the first fix.

Step 3: Disconnect Unnecessary USB Devices

Setup loads drivers for connected hardware. A faulty device or driver can stall it. Unplug printers, external drives, hubs, cameras, card readers and docks. Keep only the keyboard, the mouse and, for a USB installation, the installer drive.

Use this step early because it costs nothing and is easy to undo.

Step 4: Install Pending Windows Updates

Open Settings > Windows Update, install what is offered, and restart. A PC that is far behind on updates can fail an upgrade because the servicing stack or system components are old.

If Windows Update itself fails, jump to the Windows Update section later in this guide.

Step 5: Update Important Drivers

Old drivers cause failures that appear after a restart, because that is when setup starts using the real hardware.

  • Storage drivers: if setup cannot see the disk, or fails while copying files.
  • Graphics drivers: a common cause of black screens and rollbacks.
  • Network drivers: can interrupt downloads.
  • Chipset drivers: affect how the system talks to devices.
  • Third-party software drivers: from antivirus, VPN, virtualization and system tools.

Get drivers from the PC maker or the hardware maker. Do not use driver updater programs. If the failure involves a driver, the log will usually name it.

Step 6: Check System Files With DISM and SFC

Corrupted system files matter most for upgrades, because setup runs inside the existing Windows. Open Command Prompt as administrator and run the commands in this order.

DISM first. DISM /Online /Cleanup-Image /RestoreHealth repairs the Windows component store, which SFC uses as its source. Run it when an upgrade or update fails and you suspect corruption. Expect it to take several minutes and to pause near 20 or 40 percent. It ends with a message that the restore operation completed successfully. If it reports an error, check the internet connection, because it downloads good files from Windows Update by default, and then try again.

SFC second. sfc /scannow scans protected system files and replaces damaged ones. There are three results. No integrity violations means no corruption was found. Corrupt files found and repaired means you should restart and try setup again. Corrupt files found that could not be repaired means DISM should be run again, then SFC.

If both tools finish cleanly, corruption is unlikely to be the cause.

Step 7: Check Windows Update Components

If the failure is a Windows Update install, the problem may sit in the update download cache. Start with Settings > System > Troubleshoot > Other troubleshooters > Windows Update > Run. If the troubleshooter finds nothing and the update still fails, reset the cache.

Open Command Prompt as administrator and run these commands one at a time:

net stop wuauserv
net stop bits
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits

The first two commands stop the update services. The third renames the folder where Windows keeps downloaded update files, so Windows builds a fresh one. The last two start the services again. Expect each command to report success. Your update history list may look reset afterward, which is normal. Do not delete other system folders. If a command says access is denied, confirm the window is running as administrator.

If downloads keep stopping because the connection drops, work through our guide to fixing Wi-Fi problems first.

Step 8: Recreate Windows 11 Installation Media

Recreate the USB installer when the failure changes position each time, when setup reports missing or corrupt files, or when the same USB works on no other PC. A damaged flash drive or an interrupted write is a common cause.

Use the Media Creation Tool from Microsoft. Microsoft states that it needs a USB drive of at least 8 GB.

Warning: creating the installer erases everything on that USB drive. Copy off anything you need first.

Try a different USB port, preferably one directly on the motherboard of a desktop, and a different drive if you have one. Do not download Windows ISO files from unofficial sites, because modified images can fail in ways that are hard to trace.

Step 9: Check the Windows ISO

Download the ISO only from Microsoft. Where Microsoft publishes a SHA-256 hash next to the download, compare it with your file. In Command Prompt, run certutil -hashfile "C:\path\to\Win11.iso" SHA256. If the value differs from the published one, the file is damaged or incomplete, so download it again.

To start setup correctly, right-click the ISO in File Explorer, choose Mount, open the new virtual drive and run setup.exe. Do not start setup from inside a compressed archive. Before you run it, repeat the storage, device and driver checks from Steps 1 to 5.

Step 10: Perform a Clean Boot

A clean boot starts Windows with only Microsoft services, which shows whether other software is interfering. Antivirus, security tools, system utilities, virtualization software and VPN clients are the usual suspects.

Press Windows + R, type msconfig and press Enter. On the Services tab, tick Hide all Microsoft services, then choose Disable all. Open Startup, choose Open Task Manager and disable the startup items. Restart and run setup again.

Safety warning: do not permanently disable security software. If the vendor instructs you to pause it during setup, do so only for the installation, keep the PC off risky sites, and turn protection back on straight afterward. When you finish, undo the clean boot in msconfig by choosing Normal startup.

Step 11: Check Disk and Partition Problems

Start with the health of the disk. Run chkdsk C: /scan in an administrator Command Prompt. It performs an online scan and reports problems without locking the drive. If it finds errors, chkdsk C: /f can repair them but requires a restart. A disk with read errors can cause failures that look like software problems, including 0x8007045D, which is a general input and output error.

For clean installations, partition style matters. A PC that boots in UEFI mode needs a GPT disk. If setup says the selected disk is of the GPT partition style, the PC is usually booted in legacy mode, so the first fix is the boot mode in firmware, not changing the disk.

If you have several drives, disconnect the ones you do not need before a clean install. This stops setup from choosing or touching the wrong disk.

Data loss warning: deleting partitions, formatting a drive, or using diskpart commands permanently erases the data on it. Do this only after a verified backup, and only on the disk you have positively identified. For a Windows 10 disk that must change from MBR to GPT, Microsoft provides the mbr2gpt tool. Run mbr2gpt /validate /allowFullOS first, back up everything, and only then convert.

Step 12: Check BIOS and Firmware Settings

Open the firmware setup screen (the key varies by maker, often Delete, F2, F10 or F12) and check the following.

  • Boot mode: use UEFI. Legacy or CSM mode is a common reason Windows 11 setup rejects a disk.
  • TPM: may be listed as TPM, Intel PTT, AMD fTPM or Security Device Support. It must be enabled for Windows 11.
  • Secure Boot: the firmware must support it. If setup complains, check whether it is enabled or can be enabled.
  • Storage controller mode: if setup cannot see the drive, you may need the maker’s storage driver, which you can load from the disk selection screen.
  • Firmware update: a newer version from the PC or motherboard maker can fix TPM, storage and boot problems. Keep the PC on power, follow the maker’s instructions exactly and do not interrupt the update.

Warning: do not change the storage controller mode on a PC that already has Windows installed. Windows can fail to start afterward.

Step 13: Find and Read Windows Installation Logs

When there is no useful error message, the logs usually still say what happened. Microsoft documents these locations for upgrades:

LogFolderUse it for
setupact.logC:$WINDOWS.~BT\Sources\PantherFailures during the down-level phase, inside the old Windows
setuperr.logC:$WINDOWS.~BT\Sources\PantherThe errors only, from the same phase
setupact.logC:$WINDOWS.~BT\Sources\Panther\UnattendGCFailures in the out of box experience phase
setupact.logC:$WINDOWS.~BT\Sources\RollbackRollbacks, including generic ones such as 0xC1900101
setupact.logC:\Windows\PantherProblems after the upgrade finished
BlueBox.logC:\Windows\Logs\MoSetupWindows Update down-level failures

The $WINDOWS.~BT folder is hidden. Turn on hidden items in File Explorer, or paste the full path into the address bar.

Diagram showing where to find setupact.log and setuperr.log in the Panther folder and which words to search for

Open the file in Notepad and use Ctrl + F to search for these terms: Error, Failed, 0x, Rollback and Compat. Start with setuperr.log because it lists only errors. Then find the same time in setupact.log and read the lines just before it.

Be careful with what you find. Logs contain many harmless errors, and the line nearest the end is often a result, not the cause. Look for the first serious error before setup rolled back, and search that exact message with the error code.

For a clean installation booted from USB, setup runs in a temporary environment before it copies files to the disk. Press Shift + F10 at the setup screen to open Command Prompt, then run dir /s /b setupact.log from each drive letter you can see. The drive letters can vary, so this guide does not promise a single fixed path for that case.

Step 14: Try an Alternative Installation Method

Move from the least disruptive method to the most disruptive. Each switch changes what is being tested.

  1. Windows Update, if it is offered on your PC.
  2. Windows 11 Installation Assistant, run as administrator.
  3. ISO upgrade by mounting an official ISO and running setup.exe.
  4. USB upgrade from a freshly created installer.
  5. Clean installation, only after backup and only if repair has failed.

If Windows Update fails but the ISO upgrade succeeds, the update components were the problem. If the ISO upgrade also fails with the same code, look at drivers, system files, storage and compatibility instead.

Windows 11 Installation Has Failed From USB

A USB failure is either a media problem or a boot problem. Media problems show up as random stops, missing file messages, or errors such as 0x80070570. Recreate the installer with the Media Creation Tool and try another port or drive. Boot problems show up as the USB not appearing in the boot menu or setup refusing the disk. Check that the PC boots in UEFI mode, that the USB entry in the boot menu is the UEFI one, and that the disk is GPT.

If you started setup from the USB while Windows was running, that was an upgrade, so follow the upgrade steps and logs above.

Windows 11 Installation Has Failed From ISO

The usual causes are a damaged or incomplete download, an ISO that was not mounted before running setup, and low space on the system drive. Check the hash, mount the file, run setup.exe from the mounted drive, and disconnect unneeded devices. If you must choose, keep the option to retain files and apps for a repair upgrade, and back up first anyway.

Windows 11 Installation Has Failed During Windows Update

A Windows Update failure does not always mean Windows Update is broken. First check Settings > Windows Update > Update history for the code. Then run the troubleshooter, check storage, run DISM and SFC, and reset the update cache from Step 7. If Windows shows the message to reinstall your current version of Windows to repair system files and components, use the recovery option described near the end of this guide.

Windows 11 Installation Has Failed at 75 Percent

No authoritative source ties 75 percent to one cause, so treat it as a symptom, not a diagnosis. Setup percentages move through different tasks, and the same number can mean different work on different PCs.

Do this instead. Record whether the failure happened before or after a restart. Note any error code. Disconnect extra devices. Open setuperr.log and setupact.log and find the first serious error near the time of the failure. If a driver is named, update it from the maker. If the failure repeats at the same point with a fresh installer and a clean boot, suspect hardware, firmware or disk.

Windows 11 Installation Has Failed at 77 Percent

The same rule applies. A stop at 77 percent has no single documented meaning. Use the method above: the stage, the code, the logs, then storage, drivers and media. If two different installers fail at the same point on the same PC, the PC is more likely the cause than the media.

If the screen simply stops moving, wait a long time before acting, because some stages are quiet. Forcing a shutdown during a real write can damage the installation.

Windows Installation Has Failed With No Error Code

Work through this order. It runs from least effort to most.

  1. Identify the installation method.
  2. Identify the stage and any percentage.
  3. Check Update history if the method was Windows Update.
  4. Read setuperr.log and setupact.log for the first serious error.
  5. Check free space on the system drive.
  6. Disconnect all unnecessary peripherals.
  7. Check and update drivers from the maker.
  8. Run DISM and then SFC.
  9. Recreate the installer if you used USB.
  10. Retry with the least disruptive method that has not yet been tried.

Windows 11 Installation Has Failed With 0x8007007f

Short answer: restart the PC, run the Windows 11 Installation Assistant again as administrator, and if that fails, run setup.exe from an official ISO.

What the code means: Microsoft does not appear to publish a dedicated fix page for it. The last part of the code, 0x7F, matches Windows error 127, which reads that the specified procedure could not be found. You can confirm this by running net helpmsg 127. It is a generic code, so it does not name one cause.

What is known: reports around the Windows 11 launch tied 0x8007007f to the Installation Assistant, with one report at about 71 percent. The commonly reported fixes were restarting and running the tool as administrator, or using the ISO instead.

Next diagnostic step: if both fail, treat it as a no error code case. Read the logs, run DISM and SFC, check drivers and clean boot. Do not assume this code is always caused by the Installation Assistant.

Windows Installation Has Failed on a New PC

A new PC is not automatically ready for Windows 11. Check these in order.

  • UEFI and boot mode: confirm UEFI, not legacy.
  • TPM: confirm it is enabled and set to version 2.0.
  • Secure Boot: confirm the firmware supports it.
  • Disk: confirm it is GPT and that setup is targeting the right drive.
  • Storage driver: if no drive appears, load the driver from the maker.
  • Hardware support: confirm the processor and memory meet the Microsoft list.
  • Installation media: recreate it if in doubt.
  • Firmware: apply the maker’s firmware update.

Also check whether the PC came with Windows already. If it did, the maker’s recovery tools may be a safer route than a clean install.

When You Should Stop Troubleshooting and Use Windows Recovery

Stop repeating setup when two clean attempts with fresh media fail at the same point, when DISM keeps reporting damage it cannot repair, or when Windows Update itself recommends reinstalling. These options are not equivalent, so pick the least disruptive one.

OptionWhat it doesRisk to data
Fix problems using Windows Update (Settings > System > Recovery > Reinstall now)Reinstalls the current version of Windows. Not shown on some managed PCs.Back up first. The Microsoft page does not spell out what is kept in the part reviewed for this guide
Repair upgrade with an ISORuns setup.exe from inside Windows and can keep files and appsLow if you choose to keep them, but back up
Reset this PCReinstalls Windows. Keep my files removes apps and settingsHigher. Remove everything erases personal files
Clean installationInstalls onto a wiped diskHighest. Erases the target disk

Windows Installation Has Failed?

Ladder graphic comparing Windows recovery options from the safest repair to a clean installation, with the data loss risk of each

Final Diagnostic Checklist

  • I know whether this is Windows Update, the Installation Assistant, an ISO, a USB upgrade or a clean install.
  • I know the stage and any percentage.
  • I have the exact error code or have checked the logs.
  • The PC meets the Microsoft requirements and firmware settings are correct.
  • The system drive has enough free space and the disk is healthy.
  • Unnecessary devices are disconnected and drivers come from the maker.
  • DISM and SFC finished cleanly.
  • The installer and ISO come from Microsoft and the hash matched.
  • I backed up my files before any destructive step.

FAQ

How do I fix Windows Update failed to install?

Restart, check free storage and run the Windows Update troubleshooter first. Then run DISM and SFC, read the code in Update history, and reset the update cache if needed. If Windows offers it, use Reinstall now under Settings > System > Recovery to repair the current version.

How do I fix my Windows installation?

First identify the installation method, the failure stage and any error code. Then check storage, compatibility, drivers, media and system files in that order. If an installed Windows is damaged, try a repair reinstall before any clean installation, because a clean installation can erase data.

What can I do if Windows 11 installation failed with error code 0x8007007f?

Restart and run the Installation Assistant again as administrator. If it fails, mount an official ISO and run setup.exe. The code is generic and not documented in detail by Microsoft, so if both fail, read setupact.log, run DISM and SFC, and try a clean boot.

Why is Windows 11 failing to install on my new PC?

A new PC may not have the right firmware settings. Check UEFI boot mode, TPM 2.0, Secure Boot support, a GPT disk and the storage driver. Also confirm the processor and memory meet Microsoft requirements, recreate the installer, and apply any firmware update from the maker.

Why does Windows 11 installation fail from USB?

The installer or the boot method is usually at fault. The USB may be damaged, the ISO incomplete, or the PC booted in legacy mode. Recreate the drive with the Media Creation Tool, try another port, and confirm UEFI mode and a GPT disk.

Why does Windows installation fail at 77 percent?

No documented rule ties 77 percent to one cause. The percentage only shows where setup stopped. Use the error code and the setup logs to find the real reason, then check drivers, storage, media and hardware, and disconnect extra devices before retrying.

How do I find Windows installation error logs?

Open the hidden C:$WINDOWS.~BT\Sources\Panther folder for failed upgrades. Read setuperr.log and setupact.log. After an upgrade finishes, look in C:\Windows\Panther. Rollback details are in C:$WINDOWS.~BT\Sources\Rollback. Search for Error, Failed, 0x, Rollback and Compat.

What should I do if Windows installation fails with no error code?

Read the setup logs first. They often name a driver, file or setting even when the screen shows no code. Then check storage, disconnect devices, update drivers, run DISM and SFC, and recreate the installer if you used USB, before trying another method.

Can corrupted system files prevent Windows from installing?

Yes, mainly during upgrades. Setup runs inside the existing Windows, so damaged system files or a damaged component store can stop it. Run DISM with RestoreHealth first, then sfc /scannow. A clean installation does not depend on the old Windows files.

Should I reinstall Windows if installation keeps failing?

Only after lighter options fail. Try the logs, DISM, SFC and a repair reinstall first. A clean installation or a reset can erase data, so back up before either. Repeated failures at one point on fresh media can also mean a hardware or firmware fault.

Conclusion

The message is the same each time, but the causes are not. First identify the installation method, the failure stage and the error code. Then troubleshoot the most likely category, using the setup logs when no code is shown, instead of trying random fixes.

Once Windows is installed, you may want to tidy it up with our Windows 11 debloater guide or set up your Windows 11 automatic login. For more step by step Windows fixes, browse the Windows guides on Problevo.

Similar Posts

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *