Create a bootable Windows 10 installation USB on macOS

It’s fairly easy to create bootable USB installation media for Windows 10 when using Microsoft’s Media creation tool. Unfortunately this tool is not available for macOS. This post explains you how to do this without using a Windos-based PC or VM and without using BootCamp assistant. This can come in handy when trying to install Windows on your mac or when there is simply only an Apple Mac available and you need to boot the Windows installer for various reasons.

YouTube Video

If you are interested, I also created a YouTube video from this blogpost. If you prefer classic text, you can just follow the rest of this article:


Unfortunately, since some time, it became a bit more complicated to create this USB drive from macOS. The main reason for this is because macOS supports only FAT32 as filesystem that is compatible with Windows (and ExFat but that causes issues to boot from). FAT32 has a file size limit of 4GB while the installation ISO now contains one file that is larger.

To overcome this, we will need to use a tool, Wimlib, which is able to split this file in two parts. More about this later.

Download the Windows 10 ISO

Let’s start by downloading the ISO from Microsoft. This can be done from: When you open this link on macOS, it should show you the ability to download the ISO rather than the Media Creation tool, which is shown when opening the same on a Windows-based PC.

Choose for Windows 10, then select the preferred language, go for the “64-bit Download” and wait for the download to complete to get the .iso file on your Mac:

Prepare the USB drive

While the ISO is downloading, we can prepare our USB drive. You will need one that is at least 8GB. Insert the drive in your Mac and start Disk Utility.

In Disk Utility, choose to show all devices:

Then, on the left side, select your USB drive from the list and click Erase on the top left menu. In the dialog, enter a name for the drive (WINUSB here), choose to format as “MS-DOS (FAT)” and “Master Boot Record” as scheme. Finally click “Erase” to complete the process.

Copy all smaller files to the USB drive

After the previous step, our USB drive is prepared. Once the ISO file is download as well, double click the ISO file to mount it. Then open it in Finder. As you can see, the sources folder contains one large file: install.wim which is over 4GB and will not fit on the FAT32-formatted USB drive:

We will take care of that later so for now, copy all remaining files to the USB drive using Finder.

I typically start by copying all separate files and folders, except for the sources folder:

Then I create the sources folder and copy all files from sources with the exception of install.wim:

Prepare to split install.wim

So far things were pretty straightforward and if it wouldn’t be for that large file it would be a piece of cake. Unfortunately we have to work around that by splitting the file in two parts, smaller than the limit of our file system on the USB drive.

To accomplish this, we can use Wimlib ( This is a tool that is developed to work with, and modify, .wim files. The easiest way to get this installed on your Mac is by using Brew (

So, as just mentioned, we start by installing Brew. As is instructed on the Brew website, copy and paste the mentioned line in a terminal and execute it.

user@users-iMac ~ % /bin/bash -c "$(curl -fsSL"
==> Checking for sudo access (which may request your password).
==> This script will install:
==> Next steps:
Run brew help to get started
Further documentation:
user@users-iMac ~ %  

Once Brew is installed, we can use it to install Wimlib:

user@users-iMac ~ % brew install wimlib 
 ==> Downloading
==> Installing wimlib
==> Pouring wimlib--1.13.4.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/wimlib/1.13.4: 65 files, 2.7MB
user@users-iMac ~ % 

Split install.wim and get it on the USB drive

Now that we have Wimlib installed, we can use it to split the large install.wim file and copy it to our USB drive. In the same or a new Terminal session, execute the following:

user@users-iMac ~ % wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-GB_DV9/sources/install.wim /Volumes/WINUSB/sources/install.swm 4000
Splitting WIM: 4654 MiB of 4654 MiB (100%) written, part 2 of 2
Finished splitting "/Volumes/CCCOMA_X64FRE_EN-GB_DV9/sources/install.wim"

In the command above, we told to execute the wimlib-imagex tool (part of Wimlib) and passed some arguments:

  • “split” to indicate that we want to split this larger file
  • “/Volumes/CCCOMA_X64FRE_EN-GB_DV9/sources/install.wim” which is the source file to split. Keep in mind that the name under /Volumes depends on the ISO name so you need to adjust this accordingly. Just do ls /Volumes from the terminal to see what is there.
  • “/Volumes/WINUSB/sources/install.swm” the destination of where the split files should end. As with the ISO name, here WINUSB is the volume label I gave to my USB drive when erasing it with Disk Utility. Adjust this as well when you chose something different earlier.
  • 4000 the max. size of the destination file, so the file will be split in a part of 4000MB and the rest.

After this command completes, you can see that now two files were created on the USB drive:

The Windows 10 installer knows how to deal with these and will just work fine.

That should be all you need to create a bootable USB drive for Windows 10 installation.

(Optionally) download Windows 10 drivers for your Mac

If you plan to use the USB drive, which you created with the above steps, on a regular PC then you can skip this step. If you, on the other hand, plan to use this for installation on a Mac, it is a good idea to go through these additional steps.

The goal of this is to fetch the necessary drivers for use on Mac. As I did from Windows in a previous article, I will use Brigadier for this. Brigadier, which is basically a script, works just from macOS directly as well.

From the author’s Github page:, click the green Code button then choose to “Download ZIP”

Once the file is downloaded, open a fresh Terminal session and navigate to the “brigadier-master” in your Downloads folder, then simply execute it using ./brigadier:

user@user-iMac ~ % cd Downloads/brigadier-master
user@user-iMac brigadier-master % ./brigadier
Using Mac model: iMac13,1
Expanding flat package...
Extracting Payload...
Extracted to /Users/user/Downloads/brigadier-master/BootCamp-041-84821/WindowsSupport.dmg
user@user-iMac brigadier-master %

As you can see in the output, executing brigadier automatically detected the model identifier of the mac which we executed this on. If you want to download the required drivers for another model, you can simply pass it using the –model parameter. The files got downloaded as a subfolder of brigadier-master as WindowsSupport.dmg

All that is left to do is to navigate to the folder using Finder, then to open WindowsSupport.dmg to mount it and to copy those files to the USB drive:

After going through the installation, executing BootCamp/setup.exe will install most of the required drivers or at least enough to continue the rest of the driver installation using Windows update.

Boot from the USB drive

As the final step, now that the USB drive is prepared, with or without additional drivers for your Mac, you can boot from it.

On a regular PC, this is usually done by pressing a key at BIOS time to bring up a boot menu (F11 is often used for this) or, for some older BIOS, by changing the boot order from the BIOS setup.

On a Mac, you can choose to boot from USB by holding down the Alt key on boot and to select the USB drive from the boot loader:

17 thoughts on “Create a bootable Windows 10 installation USB on macOS

  1. Hi Jensd,

    How much time it takes to split the install.wim file? I am on a M1 Mac but waited two hours and it is still not completed. ISO file is 21H2

    • Hey Lakresha,

      For me it only took a few minutes, maybe close some applications to free up disk space and pause any other file transfers that are occurring? Also, M1 Mac(books) do not have any support for a windows operating system outside of virtualization currently, so you won’t be able to install it if that is what you’re planning. This is less a fault of Apple’s and more a problem with Microsoft not licensing their Arm version of Windows 10 to consumers, and this also makes bootcamp unusable on Apple Silicon as well.

      • Hi Bennett,

        Thanks for the tips. And sorry for the late reply.

        I was going to reinstall Windows 10 on my old laptop and only had a M1 MacBook Air at that time. In addition, I closed all other apps during the process but the same result. I saw several bloggers also recommending this trick. It should work but not my case. I ended up using a GUI app (UUByte ISO Editor) to finalize the job in less than 20 minutes. It has a built-in module to split the iso file.

  2. Hi Jansd,

    Do you know why the splitting process got stuck on M1 Mac? It has been 10 hours and the splitting is still in progress. I am using the latest Windows 10 ISO 21H1.

    • It’s in the article. You can use “brew install wimlib”. Good luck with the installation :)

  3. Hi, i paste “brew install wimlib”, and nothing occurs, just a commands saying “fg:no current job
    zsh : not found”

    • In more recent versions of the Brew installation script, you need to add brew to your PATH.
      This can be done with the following commands:
      jensd@jensds-MacBook-Air ~ % echo ‘eval “$(/opt/homebrew/bin/brew shellenv)”‘ >> /Users/jensd/.zprofile
      jensd@jensds-MacBook-Air ~ % eval “$(/opt/homebrew/bin/brew shellenv)”

  4. I am stuck and I am receiving this response:
    wimlib-imagex split WIMFILE SPLIT_WIM_PART_1 PART_SIZE_MB [–check]

    Some uncommon options are not listed; see `man wimsplit’ for more details.

  5. Pingback: How to create bootable Windows 10 installer USB for PC? - PhotoLens

  6. i can’t create usb bootable with bootcamp assistant, your guide is amazing, it worked well for my iMac14,1, thank you very much.

  7. Hi there, when i used this method, windows setup is throwing an error at start of installation: Windows cannot open the required file C:\Sources\install.swm

Leave a Reply

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