Creating a universal bootable Windows Installation USB drive on Mac OS is straightforward. The only pitfall is you have to format your drive as FAT32 to maximize compatibility, but then you have to split your .WIM file to smaller chunks than 4GB so that it does not get corrupted. Fear not, I will guide you through the process. Big thanks to this comment by m13253 for most of the heavy-lifting of this Gist.
Here are the steps (assume your FAT32 formatted USB drive is mounted on /Volumes/USB and your ISO is named something like Win10_1903_V1_Germal_x64.iso):
❗Preparation:❗ Format your USB drive as FAT32 using Disk Utility on Mac OS!
-
Download Windows 10 or Windows 11 ISO image from official Microsoft Site. e.g. here is the German ISO for Windows 10.
-
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -
Install Unetbootin, 7-Zip and wimlib.
brew install p7zip wimlib && brew install --cask unetbootin -
Start Unetbootin, select your FAT32 Formatted USB drive and your downloaded ISO File. Let Unetbootin put the ISO file onto the drive.
-
Remove the half-copied .wim file from the USB drive
rm /Volumes/USB/sources/install.wim
-
Extract
install.wimfrom the ISO to somewhere else.cd ~/Downloads 7z e Win10_1903_V1_Germal_x64.iso sources/install.wim
-
Split
install.wiminto two parts, each part roughly 3 GiB. According to Microsoft, you can splitinstall.wiminto multipleinstall*.swmfiles, so they can fit in a FAT32 volume.wimsplit ~/Downloads/install.wim /Volumes/USB/sources/install.swm 3072 -
Done!