Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Windows Unable to Locate Required Install File boot.wim

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If you're seeing "Windows was unable to locate required install file boot.wim" during a clean install, repair, or upgrade, the Windows Setup can't find the boot image file it needs to start the installation environment. This usually points to a corrupted USB drive, a damaged ISO, or a mismatched file location. The fixes below walk you through recreating your installation media, checking file integrity, and adjusting BIOS settings so Setup can read the file properly.

What You'll Need

  • A working Windows PC (any version) to prepare the media
  • A USB flash drive with at least 8 GB of space (all data on it will be erased)
  • The Windows ISO file (download from Microsoft's official site if you don't have one)
  • Rufus or the Windows Media Creation Tool (both free from Microsoft or rufus.ie)
  • Optional: a different USB port or a second USB drive for testing

Step-by-Step

  1. Recreate the installation media using the Media Creation Tool. Download the Windows Media Creation Tool from Microsoft's website. Run it, select "Create installation media for another PC," choose your language and edition, then select "USB flash drive." Insert your USB drive, pick it from the list, and let the tool download and write the files. This often fixes the error because it rebuilds the entire media structure, including boot.wim.
  2. If you prefer using an ISO, use Rufus. Download the Windows ISO from Microsoft. Open Rufus, select your USB drive under "Device," click "SELECT" to choose the ISO, and leave the default partition scheme (GPT for UEFI, MBR for BIOS). Click "START" and wait for it to finish. Rufus writes the ISO in a way that preserves the boot.wim file correctly.
  3. Verify the ISO file is not corrupted. If you already have an ISO, check its SHA-1 hash against the official value from Microsoft. Right-click the ISO, select "Properties," go to the "Hashes" tab (if using Windows 10/11 with the built-in hash tool) or use a tool like HashTab. If the hash doesn't match, download the ISO again.
  4. Copy the ISO contents to a FAT32 USB drive as an alternative. If you can't use Rufus or the Media Creation Tool, format your USB drive as FAT32, then mount the ISO (double-click it) and copy all files and folders to the root of the USB drive. This works for UEFI systems but not for older BIOS-only machines.
  5. Check that boot.wim actually exists in the sources folder. After creating the media, open the USB drive in File Explorer, navigate to the sources folder, and confirm a file named boot.wim is there. It should be around 300-500 MB. If it's missing or 0 KB, the media creation failed—redo it.
  6. Boot from the USB and try again. Restart your PC, press the boot menu key (usually F12, F10, or Esc depending on the manufacturer), and select your USB drive. If you see two options (one with UEFI in the name), choose the UEFI one. Then run Windows Setup and see if the error is gone.
  7. If the error persists, switch USB ports. Unplug the USB drive and plug it into a different port, preferably a USB 2.0 port (black) on the back of the PC. Some USB 3.0 ports can cause read issues during early boot.
  8. Disable Secure Boot temporarily. Enter your BIOS/UEFI settings (usually by pressing Del, F2, or F1 during startup). Find the Secure Boot option (often under "Boot" or "Security") and set it to "Disabled" or "Other OS." Save changes and try booting again. Re-enable it after installation if you want.
  9. Try a different Windows version or edition. If you're using a multi-edition ISO (e.g., Windows 10 with both Home and Pro), sometimes the boot.wim file can be problematic. Download a single-edition ISO or use the Media Creation Tool without selecting a specific edition.

Common Mistakes

  • Using a USB drive that was previously used for another purpose without formatting it properly—old files can conflict with the new installation files.
  • Copying the ISO file itself to the USB instead of extracting its contents. The USB must contain the sources folder, not a single ISO file.
  • Downloading the ISO from a third-party site that may have modified or corrupted the file.
  • Ignoring the difference between UEFI and BIOS boot modes. If your PC is UEFI, the USB must be FAT32 and booted in UEFI mode; if it's BIOS, it should be NTFS and booted in legacy mode.
  • Not waiting for the Media Creation Tool to finish—it can take 30+ minutes, and interrupting it leaves an incomplete boot.wim.

Tips

  • Always use a USB drive that is at least 8 GB. Smaller drives may not have enough space for the full installation files.
  • If you're on a laptop, plug the USB directly into the laptop, not through a hub or dock, to avoid power or connection issues.
  • After creating the media, test it on a different computer if possible. If it works there, the problem is your PC's boot settings, not the media.
  • Keep the USB drive's file system as FAT32 for maximum compatibility with UEFI systems. Rufus will do this automatically for UEFI.
  • If you're upgrading from an older Windows version, consider using the Windows Update assistant instead of bootable media—it avoids the boot.wim issue entirely.

Troubleshooting

If you've followed the steps and still see the error:

  • Try a different USB drive. Some USB drives have faulty sectors that only show up during large file reads. Format the drive completely and try again, or use a different brand.
  • Check your RAM. A faulty RAM stick can cause file corruption during the boot process. Run Windows Memory Diagnostic (type "Windows Memory Diagnostic" in the Start menu) or use MemTest86 to test your RAM.
  • Update your BIOS/UEFI firmware. An outdated BIOS may have compatibility issues with newer Windows installation media. Check your motherboard manufacturer's website for the latest version.
  • Use a DVD instead of USB. Burn the ISO to a DVD using Windows Disc Image Burner (right-click the ISO and select "Burn disc image"). Some older systems read DVDs more reliably than USB.
  • If you're installing on a new NVMe SSD, you may need to load the storage driver during setup. When the error appears, click "Load driver" and point to the manufacturer's driver on another USB drive.
  • As a last resort, try the Windows Setup from within your current OS. Mount the ISO, run setup.exe, and choose "Upgrade" or "Custom install." This bypasses the boot.wim requirement because it uses the running system's files.

Frequently Asked Questions

What exactly is boot.wim?

boot.wim is a Windows Imaging Format file that contains the Windows Preinstallation Environment (WinPE). It's the lightweight operating system that loads when you boot from installation media, allowing Setup to run.

Can I copy boot.wim from another computer?

No. boot.wim is specific to the Windows version and edition of the ISO. Copying it from a different source will likely cause other errors or fail to work.

Why does the error appear even though the file is present?

This usually means the USB drive is not being read correctly during boot, or the file is corrupted. Try a different USB port, a different drive, or recreate the media.

Will this error damage my PC?

No, the error is harmless. It just prevents Windows Setup from starting. Your existing data and system remain untouched.

Does the USB drive need to be FAT32 or NTFS?

For UEFI systems, FAT32 is required. For legacy BIOS, NTFS works. Rufus and the Media Creation Tool handle this automatically based on your system's firmware.

Can I install Windows without boot.wim?

No, boot.wim is essential for the installation process. Without it, Setup cannot load the environment needed to install Windows.