Making a Windows 11 install stick on a Mac breaks in one place. The install.wim file inside the ISO is bigger than 4 GB, and the FAT32 stick that a PC’s UEFI firmware wants cannot hold a single file that large. If you drag the ISO contents across in Finder, the copy stops partway with an error. Splitting that one file with wimlib solves it, because Windows Setup reads a split image just as well.
This guide builds a bootable Windows USB on a Mac from Terminal. You format the stick with diskutil, mount the ISO, copy everything except install.wim, then split it into two .swm parts. You don’t need Boot Camp Assistant, and Apple silicon Macs don’t have it. Every command and output below was run on macOS 27.2.1 on an Apple silicon Mac with wimlib 1.14.5 and the Windows 11 26H2 image (build 26300.9457) in November 2026.
Skip Boot Camp on Apple silicon
Older guides, including the first version of this one, start with Boot Camp Assistant. Apple’s Boot Camp support page lists only Intel Macs as supported, and an M-series Mac ships without the app at all. You can check your own Mac by listing the Utilities folder, which is where Apple’s support page says Boot Camp Assistant lives.
ls /System/Applications/Utilities
On our Apple silicon test machine, Disk Utility, Terminal and Migration Assistant are all there. Boot Camp Assistant is not.
Activity Monitor.app
AirPort Utility.app
Audio MIDI Setup.app
Bluetooth File Exchange.app
ColorSync Utility.app
Console.app
Digital Color Meter.app
Disk Utility.app
Grapher.app
Magnifier.app
Migration Assistant.app
Print Center.app
Screen Sharing.app
Screenshot.app
Script Editor.app
System Information.app
Terminal.app
VoiceOver Utility.app
Even on an Intel Mac, Boot Camp is built to install Windows onto that same Mac, not to hand you a stick for another PC. The manual route below works on both Intel and Apple silicon, so it is the one worth learning. We also dropped the third party apps the old version of this article covered. UNetbootin targets Linux images, and a paid tool such as UUByte ISO Editor is hard to justify for a job that takes four commands.
You need very little before starting, because macOS already ships diskutil and rsync. The only extra download is wimlib.
- A USB stick of 16 GB or more (the finished stick holds about 7.6 GB)
- About 8 GB free on the Mac for the ISO
- Homebrew, for wimlib
- A target PC with UEFI firmware, which every Windows 11 machine has
If Homebrew is not on your Mac yet, the Homebrew setup for Apple silicon covers the install and the PATH line you need in a new shell. Pick a stick you can wipe, since the format step erases it completely.
Download the Windows 11 ISO
Get the image from Microsoft’s Windows 11 download page. Under “Download Windows 11 Disk Image (ISO) for x64 devices”, select “Windows 11 (multi-edition ISO for x64 devices)”, click Download, pick your language, click Confirm and then the 64-bit Download button. The link stays valid for 24 hours. Keep the x64 image even though your Mac is Arm. Microsoft publishes a separate Arm64 ISO, but that one is for Arm PCs, and the stick you are building is going into an ordinary PC.
One thing went wrong here in our lab. The download page refused the request from our cloud Mac’s data center address, so we pulled the Windows 11 Enterprise Evaluation ISO of the same build from Microsoft’s Evaluation Center instead. Both images share the folder layout and both carry an install.wim over 4 GB, so every step below is the same for the consumer ISO. Only the volume label differs, which is why the next commands check it rather than assume it.
Before you erase anything, move to the folder holding the ISO and check its size and checksum. A bad download only shows up later as a Setup failure on the PC, so it is cheaper to catch it now.
cd ~/Downloads
ls -lh Win11_*.iso
shasum -a 256 Win11_*.iso
Our evaluation image came in at 7.7 GB with the hash below. Your consumer ISO has its own file name and its own hash, so compare yours with the SHA256 list under “Verify your download” on the same Microsoft page rather than with ours.
-rw-r--r-- 1 ec2-user staff 7.7G Nov 24 23:39 Win11_26H2_Enterprise_Eval_x64.iso
bc3f24086ebadc94489066b5ad78089e2cf5c3491e90e790bb81a2b199c10e38 Win11_26H2_Enterprise_Eval_x64.iso
A size well under 7 GB usually means the download was cut short. Start it again before you touch the stick, because every later step copies from this file and a truncated ISO fails in confusing ways.
Install wimlib with Homebrew
wimlib is an open source library for Windows imaging files, and its wimlib-imagex tool does on a Mac what DISM does on Windows. Homebrew ships a native Apple silicon bottle, so the install takes seconds and needs no compiler.
brew install wimlib
wimlib-imagex --version
Homebrew poured the bottle with no extra dependencies. The version line is the part that matters, since it proves wimlib-imagex is on your PATH and the split step later will find it.

If the shell says command not found, the current window started before Homebrew’s PATH line went into your shell profile. Open a new Terminal window so it picks up the Homebrew path, then run the version check again.
Find and format the USB stick
Plug in the stick and find its device identifier. Limiting the list to external disks keeps the Mac’s internal drive out of the output, which matters because the erase command a few lines down wipes whatever disk you name, with no confirmation prompt.
diskutil list external
Pick the stick out by size, not by position, because disk numbers shift every time you plug something in. On our machine it showed up as /dev/disk8 at 17.2 GB, listed after another external APFS disk that must not be touched. The screenshot is trimmed to those two entries; on our test Mac the boot disk and its synthesized APFS containers also appear, which a typical Mac with an internal SSD does not show here.

Our test Mac is a cloud machine with no physical USB port. The “stick” in these captures is therefore a 16 GiB raw disk image attached as a whole disk, and diskutil treats it like a flash drive. The only visible difference is the “(disk image)” tag where your stick will say “(external, physical)”.
Store the identifier in a variable so a typo cannot land on the wrong disk later. Replace disk8 with the identifier your Mac showed.
export USB_DISK=/dev/disk8
Now wipe the stick and give it a GPT partition map with one FAT32 partition called WINUSB. MS-DOS is diskutil‘s name for FAT32, and GPT is what UEFI firmware expects on a Windows 11 boot disk. Everything on the stick is lost, so copy off anything you want to keep first.
diskutil eraseDisk MS-DOS WINUSB GPT "${USB_DISK}"
diskutil list "${USB_DISK}"
The erase takes a few seconds and mounts the new volume at /Volumes/WINUSB. diskutil adds a 209.7 MB EFI partition on its own. The data partition shows up as Microsoft Basic Data, which is the type Windows expects to see.

To confirm the format is FAT32 and not exFAT, check the volume’s file system personality. The two look alike in Finder, and only one of them boots reliably.
diskutil info /Volumes/WINUSB | grep -E 'Volume Name|Mount Point|Partition Type|Personality|Total Space'
The personality line should read MS-DOS FAT32.
Volume Name: WINUSB
Mount Point: /Volumes/WINUSB
Partition Type: Microsoft Basic Data
File System Personality: MS-DOS FAT32
Volume Total Space: 17.0 GB (16951492608 Bytes) (exactly 33108384 512-Byte-Units)
If it says exFAT, erase the stick again with the exact command above. exFAT would take the large file, but the UEFI specification only requires firmware to read FAT, so many PCs will not boot an exFAT stick. That is a bad thing to learn at the boot menu. FAT32 with a split image is the combination that works on any UEFI PC.
Mount the ISO and check install.wim
The familiar hdiutil mount still works on current macOS, but it now prints a deprecation warning that points at diskutil image attach. We ran the old command first so you know what that warning looks like if an older guide sends you there.

The ISO still mounted, so nothing is broken yet. Use the new form anyway, so the steps keep working once Apple removes the old one. If you mounted it with hdiutil already, eject it first with diskutil eject and the volume path from the line above. The command’s help text lists a --readOnly flag, which attaches the image read-only so macOS does not try to write to it, and the wildcard assumes one Windows ISO in the folder, so type the full file name if you also downloaded the Arm64 one.
diskutil image attach --readOnly Win11_*.iso
The line below is what hdiutil mount printed in our run. Per its usage text, diskutil image attach reports the same device node and mount point, and the last column is the mount point. Ours is CENA_X64FREE_EN-US_DV9 because it is the Enterprise evaluation image, and the consumer ISO you downloaded uses a different label.
/dev/disk9 /Volumes/CENA_X64FREE_EN-US_DV9
Put that mount point in a variable, using the label your Mac printed, and look at the size of the install image. The variable saves you from typing the long label three more times.
export ISO_VOL="/Volumes/CENA_X64FREE_EN-US_DV9"
ls "${ISO_VOL}"
ls -lh "${ISO_VOL}/sources/install.wim"
The root holds the efi folder the firmware boots from, the boot files and setup.exe. The number that drives the rest of this guide is the last one. At 6.8 GB, install.wim is well past what FAT32 can store in one file, so a straight copy of this tree can never work.
autorun.inf
boot
bootmgfw.efi
bootmgr
bootmgr.efi
efi
setup.exe
sources
support
-r-xr-xr-x 1 ec2-user staff 6.8G Sep 13 19:17 /Volumes/CENA_X64FREE_EN-US_DV9/sources/install.wim
wimlib-imagex info reads the image header and tells you which Windows edition is inside before you copy anything. It is a quick way to catch a wrong download, such as an Arm64 ISO.
wimlib-imagex info "${ISO_VOL}/sources/install.wim" | grep -E 'Image Count|Compression|Part Number|^Name|Build|Architecture'
Our image holds one edition, LZX compressed, built for x86_64. A consumer ISO reports several editions (Home, Pro, Education and others) in the same single file, and Setup asks which one to install. If the architecture line says anything other than x86_64, you have the wrong ISO for a PC.
Image Count: 1
Compression: LZX
Part Number: 1/1
Name: Windows 11 Enterprise Evaluation
Architecture: x86_64
Build: 26300
Service Pack Build: 9457
Build 26300 is the 26H2 release, the same version the consumer download page offers, so the evaluation image and yours differ mainly in the editions they carry and possibly the cumulative update baked in.
cp: fcopyfile failed: File too large
This is the error the whole guide works around, so we triggered it on purpose. Copying install.wim straight onto the FAT32 stick runs for a while, then fails once the file reaches the 4 GB mark.

The failure leaves a partial file behind. Ours was 4,293,918,720 bytes, just under the FAT32 4 GB limit, and a stick with that stub on it will not install Windows. It also eats 4 GB of space the split parts need. If you got here by dragging files in Finder, delete the stub before carrying on.
rm -f /Volumes/WINUSB/install.wim /Volumes/WINUSB/sources/install.wim
No copy tool gets around a file system limit, so the answer is to never copy install.wim whole. The next two steps copy the rest of the ISO, then write the image to the stick in parts.
Copy everything except install.wim
rsync copies the whole ISO tree in one pass and skips the one file that will not fit. Keep both trailing slashes, because they copy the contents of the ISO rather than a folder named after it, and Setup only works from the stick’s root. The rsync bundled with current macOS is Apple’s openrsync, and it handled --exclude fine in our run, so you do not need the Homebrew one.
rsync -rh --stats --exclude=sources/install.wim "${ISO_VOL}/" /Volumes/WINUSB/
The summary shows 977 files transferred and 886 MB in total, which took 30 seconds in our run. On your stick the time depends on its write speed, and cheap USB 2.0 sticks are far slower. Check the transferred size: if it is close to 7.7 GB rather than under 1 GB, the exclude did not match and rsync tried to copy install.wim as well.
Number of files: 1072
Number of files transferred: 977
Total file size: 886 MB
Total transferred file size: 886 MB
Unmatched data: 886 MB
Matched data: 0 B
File list size: 71292 B
File list generation time: 0.049 seconds
File list transfer time: 0.014 seconds
Total sent: 886 MB
Total received: 22078 B
sent 886M bytes received 22078 bytes 29292k bytes/sec
total size is 886M speedup is 1.00
We used -r rather than -a on purpose. FAT32 stores no Unix owners or permissions, so there is nothing for archive mode to preserve, and the shorter flag keeps the output readable.
Split install.wim with wimlib
Now split the image straight from the ISO into the stick’s sources folder, which saves writing a 6.8 GB temporary copy to your Mac. The last argument is the largest part size in MiB. We used 3800, which stays safely under the FAT32 ceiling. Do not push it to 4095, because wimlib’s wimsplit documentation warns that a part can run past the requested size when one compressed file inside the image is large.
wimlib-imagex split "${ISO_VOL}/sources/install.wim" /Volumes/WINUSB/sources/install.swm 3800
wimlib names the first part install.swm and numbers the rest, so a 6.8 GB image becomes install.swm plus install2.swm. Our split took just under two minutes, and a slow stick will stretch that, so let it finish before you touch the volume. Then list the parts and the space used on the stick.
ls -lh /Volumes/WINUSB/sources/install*
df -h /Volumes/WINUSB
Both parts are under 4 GB and there is no install.wim on the stick. The volume holds 7.6 GB in total, so a 16 GB stick has room to spare and an 8 GB stick is too small.

Setup only needs the .swm files sitting together in sources. Microsoft’s guide to splitting a Windows image lists FAT32 USB keys among the reasons the format exists. It also says Windows Setup installs from the split set when the parts are in that folder, so no answer file or extra switch is needed. Read the first part back to prove the set is whole.
wimlib-imagex info /Volumes/WINUSB/sources/install.swm
Read Part Number: 1/2 first: wimlib wrote a two-part set, and the first part opens cleanly with its image metadata intact. The Size line (7333899775) is the total the image header records, which wimlib copies into every part, so it matches the original but does not prove the second part arrived whole.

A set with a missing or cut-short part fails during Setup, long after you have walked away from the Mac. info only reads part one, so also confirm both files are on the stick at the sizes the split printed (3.7G and 3.1G here). For a full integrity pass, the wimverify man page documents reading the whole set with wimlib-imagex verify /Volumes/WINUSB/sources/install.swm --ref="/Volumes/WINUSB/sources/install*.swm", which is documented to check every stored file against its hash; we did not run it in our lab. It reads all 6.8 GB back off the stick, so expect it to take a while on a USB 2.0 stick. If the part count is wrong, a part is missing or either command errors out, delete the .swm files and run the split again.
Eject the ISO and the stick
Take a last look at the stick’s root before you unplug it. It should match the ISO’s root, with the split files inside sources, and a missing efi or boot folder means the rsync step went wrong.
ls /Volumes/WINUSB
ls /Volumes/WINUSB/sources | wc -l
Then eject both. diskutil eject unmounts the volume cleanly before it detaches the device, so any writes still cached for the stick land on it first. Pulling the stick without ejecting is how you end up with a split part that looks fine on the Mac and fails on the PC.
diskutil eject "${ISO_VOL}"
diskutil eject "${USB_DISK}"
Our stick listed the same nine entries as the ISO and 203 files in sources, and both ejects came back clean.

You can drop wimlib now with brew uninstall wimlib if you only build these sticks once in a while. The ISO can go too, but keep it if you plan to make another stick soon, since the download is the slowest part of the job.
Boot the stick on a PC
The stick boots in UEFI mode only, because it is GPT with FAT32 and has no legacy boot code written to it. That matches what Windows 11 requires, so a current PC needs no changes in most cases. Three firmware settings are worth checking before you boot: UEFI mode decides whether the stick shows up at all, the TPM decides whether Setup continues, and Secure Boot is the safe default. Look at them first if the PC came from someone else.
- Boot mode set to UEFI, not Legacy or CSM
- Secure Boot enabled (Microsoft requires the firmware to support it; turning it on is the safe default)
- TPM 2.0 turned on (Intel PTT or AMD fTPM on most boards)
Plug the stick in, power on and open the one-time boot menu with the key your PC’s maker uses, usually F12, F11, F9, F8 or Esc. Pick the entry that starts with “UEFI” and names the stick. If the stick does not appear at all, the PC is almost always in Legacy or CSM mode. Microsoft lists a Secure Boot capable UEFI firmware and TPM 2.0 as Windows 11 requirements, and Setup stops on a PC where the TPM is missing or disabled.
Setup finds install.swm in sources and installs from the split set as if it were one file. Once Windows is on the disk, our Windows 11 post-install checklist covers updates, drivers and the privacy settings worth changing on day one.
Do not try to boot this stick on the Mac you built it on. Apple silicon Macs cannot boot Windows natively, so Windows on an M-series Mac means a virtual machine instead. If you are building the stick from a Linux box rather than a Mac, the same split approach is in our guide to making a Windows bootable USB on Linux.
Linux installer images are a simpler dd job, covered in creating a bootable USB on macOS and Linux. For the diskutil and hdiutil commands used above and their neighbours, keep the Mac Terminal commands cheat sheet close. Our verdict after this run is simple. On an Apple silicon Mac, Terminal plus wimlib is the route we would use every time, because Boot Camp is not an option there and the whole job needs nothing you have to pay for.
If you use ExFAT instead of MS-DOS as the partition format, you don’t have to split up the install.wim file – just tested it on a new Win 11 after finding this after `dd` kept failing to write a good USB from the ISO.