Home / Tutorials / Windows help

Fix install.wim Over 4 GB on a FAT32 USB Drive

Understand the FAT32 file-size limit and Microsoft’s documented method for splitting Windows installation images.

Quick answer: Understand the FAT32 file-size limit and Microsoft’s documented method for splitting Windows installation images.

Why this matters

When copying a Windows installer to a FAT32 USB drive, a large sources\install.wim can exceed FAT32’s maximum single-file size. That does not necessarily mean the ISO is damaged. It is a filesystem limitation: a folder can contain many gigabytes in total, yet one file cannot be four gigabytes or larger. UEFI compatibility is one reason FAT32 is often used for install media.

Before you begin

You need a legitimate Windows installation image, an adequately sized USB drive and enough local disk space. Splitting an install.wim modifies the deployment files on the USB, not the original ISO. Back up the flash drive because media preparation may erase its previous contents.

Step-by-step instructions

  1. Mount the ISO in File Explorer and locate the sources folder. Check whether it contains install.wim or install.esd. These files are not interchangeable: the split procedure below applies to WIM.
  2. Prepare a suitable FAT32 USB target using a supported Windows media workflow. Ensure you have selected the correct drive letter and that its other contents are backed up.
  3. Copy all required installer files except the oversized install.wim. One Microsoft example uses robocopy D: E: /s /max:3800000000; substitute the correct mounted ISO and USB letters.
  4. Create split files using an elevated Command Prompt: Dism /Split-Image /ImageFile:D:\sources\install.wim /SWMFile:E:\sources\install.swm /FileSize:3800. Adjust paths and confirm DISM returns success.
  5. Verify the sources folder contains install.swm plus sequential volumes such as install2.swm where needed. Boot-test the media on the intended computer without wiping its internal disk.

How to verify the result

The USB contains the Windows setup directory and all split SWM parts in the sources folder. Windows Setup should recognize the split image during installation. Keep the original ISO unchanged for recovery.

If something goes wrong

  • If DISM cannot find install.wim, check whether the ISO instead uses install.esd. Do not rename ESD to WIM as a workaround.
  • If a USB still will not boot, investigate firmware, partitions and boot files independently of the WIM split.
  • If a split file exceeds the filesystem limit due to an unusually large resource, choose a supported alternate media layout or image preparation method.

Limitations and safety

Important: Split SWM files are read-only deployment pieces and cannot be edited as if they were one WIM. The method is meant for lawful installation and supported recovery media, not bypassing licensing or platform requirements.

Frequently asked questions

Why does FAT32 reject a 4.5 GB image file?

FAT32 cannot store an individual file of that size even if the USB has free capacity.

Can I rename install.wim to install.esd?

No. A new extension does not convert the image format. Use proper servicing tools.

Do all SWM parts need to be together?

Yes. Microsoft documents split image sets that are located in the same directory for supported deployment workflows.

Related Windows guides

Primary documentation

This article summarizes supported Windows workflows and documentation. For exact software options and current supported versions, consult: learn.microsoft.com reference; learn.microsoft.com reference. No hands-on tests on every device are claimed.