Skip to content

Uncategorized

Creating a Windows Install USB stick on MacOS

CS Christopher Shiremans' Blog · Author
1 min read

A friend of my wife’s asked me to wipe her old computer hard drive in preparation for recycling. I then suggested that they try to sell it instead, so Windows needed to be replaced. “How do I do that?” I’m a Mac user, so it’s been quite an adventure getting this to work. There are several guides on the internet, but it boils down to these steps:

  1. Download the latest Windows 10 ISO file from Microsoft.
  2. Format a USB stick with the MS-DOS FAT32 file system.
  3. Open the ISO using the Disk Image Mounter.
  4. Copy everything except the sources/install.wim file to the USB.
  5. Install wimlib on your system, I used homebrew for this: brew install wimlib
  6. Compress the sources/install.wim file using this command: sudo wimlib-imagex optimize install.wim –solid
  7. Copy the final file to the sources directory on the USB.
  8. Boot the laptop using the USB drive.

These steps took me most of the day to figure out. I went down several wrong turns, but in the end Windows was reinstalled. I hope this helps someone else.

CS

Written by

Christopher Shiremans' Blog

More about the author

Leave a Reply

Your email address will not be published.