sodcalculator

10 Tech How-To

Windows Could Not Complete Installation: Fixed

Guide 10-60528 · Updated · Step by step

If you see “Windows could not complete the installation,” the setup process has hit an error and rolled back, often returning you to your previous OS. This guide explains the most common causes and gives step-by-step fixes that work for Windows 10 and 11, from simple restarts to advanced repair commands.

Why This Error Happens

Windows setup is a multi-phase process: it copies files, installs drivers and features, then reboots several times. The error can appear at any of these stages, but the underlying reasons usually fall into a few categories:

  • Corrupted installation media – a damaged USB drive or ISO file that fails to copy correctly.
  • Insufficient disk space – Windows needs at least 20 GB (64-bit) for the system partition, plus room for temporary files.
  • Driver or hardware conflicts – especially with storage controllers (NVMe, RAID) or graphics cards.
  • Interrupted updates or power loss – a reboot during the critical “finalize” phase can corrupt the install.
  • BIOS/UEFI settings – incorrect boot mode (UEFI vs. Legacy) or secure boot toggles can cause setup to fail.

Often the error message is generic, so you’ll need to try fixes in order of likelihood.

First Steps: Restart and Retry

Before diving into complex repairs, try the simplest fix. The error message may be transient, especially if a background process interfered.

  1. Unplug all non-essential peripherals (printers, external drives, USB hubs).
  2. Restart the PC and boot from the installation media again.
  3. If you were upgrading from within Windows, run the setup as administrator and choose “Keep personal files and apps” if possible.
  4. If the error repeats, move to the next section.

This resolves roughly 10–15% of cases, particularly when the error was caused by a temporary file lock or a failing USB port.

Check Your Installation Media

A corrupted USB drive or ISO is one of the most common culprits. The setup may copy files incorrectly, leading to a failure halfway through.

  • Recreate the bootable USB – Use the official Microsoft Media Creation Tool or Rufus (for ISO). Format the drive as FAT32 for UEFI systems.
  • Verify the ISO checksum – If you downloaded the ISO, compare its SHA-1 hash with the one listed on the download page. A mismatch means the file is corrupt.
  • Try a different USB port – Prefer a USB 2.0 port (black) over USB 3.0 (blue) if you’re having issues, as some older systems have driver problems.
  • Use a DVD – If you have a disc drive, burn the ISO to a DVD at a low speed (4x or 8x) to reduce write errors.

If you’re installing from a network (PXE) or virtual machine, ensure the ISO is mounted correctly and not on a slow network share.

Free Up Disk Space and Partition Issues

Windows setup requires a certain amount of free space to create temporary files and the Windows.old folder (if upgrading). If the target partition is nearly full, setup will fail.

  1. Boot from the installation media and open Command Prompt (Shift+F10).
  2. Type diskpart, then list disk to see your drives.
  3. Select the disk with select disk 0 (adjust number) and list partition to view existing partitions.
  4. If you have a separate data partition, you can shrink it using shrink desired=20480 (20 GB) to make room.
  5. Alternatively, delete the main partition and let Windows recreate it – this erases all data, so back up first.

Also ensure the partition is formatted as NTFS. If it’s FAT32, setup will fail with an error about the file system.

Fix Boot Configuration and System Files

If the error occurs after the first reboot, the boot configuration data (BCD) may be corrupted. Use the Startup Repair tool or manual commands.

  1. Boot from the installation media and choose “Repair your computer” → “Troubleshoot” → “Advanced options” → “Command Prompt”.
  2. Run these commands one by one, pressing Enter after each:
    • bootrec /fixmbr
    • bootrec /fixboot
    • bootrec /scanos
    • bootrec /rebuildbcd
  3. If /fixboot gives an “access denied” error, run bootsect /nt60 sys or bootsect /nt60 all from the same prompt.
  4. After that, type exit and restart the PC.

For system file corruption, run sfc /scannow and dism /online /cleanup-image /restorehealth – but these require a working Windows environment, so they work best if you can boot into your old OS.

Disable or Update Conflicting Drivers

Sometimes a specific driver – often for storage or graphics – causes setup to crash. You can try loading a driver during installation or disabling hardware acceleration.

  • Load a driver manually – In the setup wizard, when it asks “Where do you want to install Windows?”, click “Load driver” and provide the driver from a USB stick. This is common for NVMe SSDs and RAID controllers.
  • Remove unnecessary hardware – Disconnect extra drives, sound cards, or capture cards. Keep only the disk where you’re installing.
  • Update BIOS – Check your motherboard manufacturer’s site for a newer BIOS. Outdated BIOS can cause compatibility issues with newer Windows builds.
  • Disable Secure Boot – In BIOS/UEFI, temporarily disable Secure Boot and enable CSM (Compatibility Support Module) if you’re using a legacy MBR disk.

After installation, you can re-enable Secure Boot and update drivers.

Frequently Asked Questions

Will I lose my files if I retry the installation?

If you’re upgrading from within Windows (not a clean install), choosing “Keep personal files and apps” preserves your data. If you’re doing a clean install from bootable media, you’ll need to back up your files beforehand – the process will format the partition.

Why does the error say “Windows could not complete the installation. To install Windows on this computer, restart the installation”?

This is the generic message when setup encounters a fatal error and rolls back. The rollback usually returns you to your previous OS. The causes are the same as listed above – most commonly corrupted media or disk space issues.

Can I skip the error and continue?

No. The setup is not partially installed; it’s rolled back to a safe state. Continuing without fixing the root cause will only repeat the error. You must resolve the underlying issue (media, disk, drivers) before retrying.

How long does a Windows installation take?

Typically 20–60 minutes, depending on hardware speed and whether you’re upgrading or doing a clean install. If it takes longer than 2 hours, something is likely wrong – check your disk health and try a different installation method.

Is it safe to use a third-party tool like Rufus to create the USB?

Yes, Rufus is widely used and reliable, but always download it from the official website. The Microsoft Media Creation Tool is the safest option because it automatically downloads the correct ISO and formats the drive.

What if none of these fixes work?

If you’ve tried all the above, consider testing your RAM (with MemTest86) and checking the hard drive for bad sectors (using CrystalDiskInfo or the manufacturer’s tool). Hardware failure can cause setup to fail randomly. If the hardware is fine, try installing an older Windows version (e.g., 10 instead of 11) or contact a professional technician.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →