- Download ISO from here - https://www.microsoft.com/sk-sk/software-download/windows10ISO
- Insert USB storage drive into your pc
- Identify which drive is USB mounted on by typing
diskutil list
command. - Format USB to work with Windows
diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2
(replace/dev/disk2
with the code you got in previous command). - Mount downloaded ISO
hdiutil mount ~/Downloads/Win10_1903_V1_English_x64.iso
- Copy files to USB (excluding install.wim as it is larger than 4 GB, FAT32 allows max 4 GB files)
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WIN10
brew install wimlib
- Use wimlib to split install.wim into multiple parts
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 4000
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "cmd+n", | |
"command": "explorer.newFile", | |
"when": "!editorFocus" | |
}, | |
{ | |
"key": "cmd+shift+n", | |
"command": "explorer.newFolder", | |
"when": "!editorFocus" |