Key Points
- What is an install.wim file?
- A Windows installation image file used by Deployment Image Servicing and Management (DISM); often too large for FAT32 USB drives.
- Why split install.wim?
- To overcome FAT32’s 4 GB file size limit and enable Windows installations from USB media.
- Prerequisites:
- Install Windows ADK & DISM
- Download and install the Windows Assessment and Deployment Kit (ADK) with Deployment Tools (DISM).
- Limitations to note
- .swm files cannot be edited individually—they must be recombined into .wim to modify.
- DISM’s maximum file size for splits is ~4700 MB.
- Alternative deployment options
- Tools like CloneZilla, RescueZilla, or commercial solutions (e.g., Acronis) can streamline Windows deployment—especially for enterprises.
This guide demonstrates how to split an install.wim file in Windows 10 and Windows 11 using the DISM tool. .wim files contain Windows installation images. It can become larger than the 4 GB maximum supported by a bootable Windows Preinstallation Environment (Windows PE), requiring that they be split.
Step-by-step guide: Splitting install.wim with DISM
The following tutorial steps will guide you to splitting an install.wim file using the DISM command line too.
Installing the Windows ADK and DISM tool
To split a .wim file in Windows, you will need to install the DISM tool, part of the Windows ADK (Assessment and Deployment Kit):
- Download the latest Windows ADK from https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install
- Once downloaded, run adksetup.exe
- Click through the installation wizard. Choose to install the ADK to this computer, and accepting the terms by pressing Next until you reach the Select the features you want to install screen
- Check to install the Deployment tools (Which includes the DISM tool) and then press Install
- Click the Close button when the installation has completed
How to split a .wim file using the DISM command line tool
To split an install.wim (or any other .wim) file, open PowerShell as an administrator and enter the following command:
Dism /Split-Image /ImageFile:”C:\path\to\install.wim” /SWMFile:”C:\path\to\split\install.swm” /FileSize:100
Replacing:
- C:\path\to\install.wim with the path to the .wim file you will split
- C:\path\to\split\install.swm with the path to the output directory to save the split .wim file as a set of multiple .swm files
- FileSize:100 with the maximum size for each part of the split image in megabytes (MB), with a maximum size of 4700 MB
Once the .wim file is successfully split, multiple .swm files will be created. They should contain the split data. Keep them together in the same directory as they cannot be used individually.
Splitting an install.wim file that is too large for a FAT32 USB drive
When building custom Windows deployment images with inclusions, it’s common for the installation image to far exceed the size supported by bootable FAT32 USB drives. This requires splitting a big install.wim file specifically to fit on the FAT32 file system.
While the maximum size that the DISM tool can split .wim files into is 4700 MB, the maximum size of an individual file supported by FAT32 is 4 GB. Splitting a .wim file into 4000 MB parts will put them under this file size limit:
Dism /Split-Image /ImageFile:”C:\path\to\install.wim” /SWMFile:”C:\path\to\split\install.swm” /FileSize:4000
Note that you cannot modify the contents of a set of .swm files without recombining them into a .wim file and modifying it using the DISM tool.
How to deploy/install Windows using a split install.wim file
Before deploying a Windows image to a device, make sure to back up any data on it that you want to keep, will be permanently erased by the process. Disconnect any external storage devices so you don’t accidentally wipe those.
- Create a Windows Preinstallation Environment (Windows PE) USB drive
- Copy the directory containing the .swm files created by splitting your .wim file to the Windows PE USB drive
- From within Windows PE, repartition your hard drive in preparation for applying the Windows installation image you have prepared. Make a note of the drive letter you want to write the image to
- Run the DISM /Apply-Image command using the paths to your .wsm files and your partition to install Windows using the image:
Dism /Apply-Image /ImageFile:”C:\path\to\split\install.swm” /SWMFile:”C:\path\to\split\install*.swm” /index:1 /ApplyDir:N:\
The above example DISM command includes the path to the install.swm image file, as well as the path to the additional split .swm files that complete the set. This is specified with the wildcard or *, starting at the index 1. This means the additional .swm files are numbered 2, 3, etc.). The ApplyDir option specifies the volume to write the image to (which you noted during the repartitioning step above), in this case the N: drive.
The exact details of how you partition your hard drive will depend on your device, how much storage you have, and the size of your Windows installation image. You will need at least the following:
- To choose GPT partitioning for modern UEFI devices, or MBR partitioning for legacy BIOS devices
- A 100MB EFI System Partition (GPT) or 500MB System partition (MBR), formatted to FAT32
- A primary partition large enough to fit your deployed Windows image. Ideally, use any remaining disk space and have it formatted to NTFS and marked as active
Once you have written the split install.wim Windows image to the volume, you will need to make it bootable by running bcdboot N:\Windows on UEFI devices. Use GPT partitioning, or bcdboot N:\Windows /s S: (replacing S: with the drive letter for the 500MB system partition) on devices with MBR partitioning.
You can then remove your bootable WinPE USB drive and reboot your system.
What is an install.wim file and why do you need to split it?
A .wim file contains an image of a Windows operating system partition, created using the DISM tool. These files are commonly named install.wim. This is the file name used for the Windows image provided on Windows installation media. It is also used to replicate a Windows installation on another machine.
Configure devices remotely with granular control over device enrollment.
→ Try automating your IT processes with NinjaOne today.
This is usually done to speed up deployment by bundling drivers, applications, and configuration into a pre-made Windows installation. Ultimately, doing this removes the need to individually install and configure PCs that need to be set up the same way.
.wim images are often deployed using the Windows Preinstallation Environment running from a FAT32 formatted USB drive. As FAT32 has a file size limitation of 4GB, it is frequently necessary to split an install.wim file into smaller pieces. Even default Windows installations (before you bundle additional apps, drivers, and files) are larger than that.
Alternative methods for Windows image deployment
There are a number of alternatives for Windows image deployment. For the purposes of deploying machines with the same configuration, there are open-source solutions like CloneZilla and RescueZilla. There are also commercial solutions like Acronis True Image.
Efficiently deploying Windows images in education and enterprise environments
Using bootable Windows PE USB drives and ISO images that contain install.wim or split install.wsm images can speed up the deployment of pre-configured Windows environments. However, it is often not sufficient in enterprise or education environments where devices are spread. It is also not well suited for the common purpose of restoring devices to a known good state from backups.
Image backup software by NinjaOne remotely backs up and restores images of full Windows installations. It uses granular snapshots that let you revert devices to a known good state at a specific date and time. New devices can be automatically enrolled and configured with NinjaOne Endpoint Management, potentially removing the need for custom Windows deployment images entirely.
Deploy fully customized image backups to push out faster Windows installations at scale.
💻 Explore NinjaOne Image Backup.
With NinjaOne’s suite of IT management tools, you have a complete view of your infrastructure and devices. This will help you monitor and preemptively resolve problems with built-in automation and remote access.