Install Windows Using

First, get source machine ready to provide Windows installer to target machine.


# disable firewall (I’m on macOS; do the equivalent on your OS)
sudo defaults write /Library/Preferences/ globalstate -int 0


# launch Samba container to share mounted image
docker run -d -p 139:139 -p 445:445 -v $ISO_DIR:/mount dperson/samba -s ‘public;/mount’ -u ‘user;password’

# mount ISO image locally for use by
hdiutil mount -mountpoint ./win10/x64/ ./win10.iso

# start local web server
python -m SimpleHTTPServer 8000

On target machine:
Boot up via USB or other media. Under “Signature Checks,” disable checking of Images. I was unable to get this to work correctly.
Go to Windows section, and set base URL to “http://:8000/win10”.

Select “Load Microsoft Windows Installer”. will download some binaries from the internet, and load the remaining binaries from your source machine over HTTP. You’ll see those requests in the Python server console.
remove usb after installer loads
shift + f10
net use S: \\\public\win10 /user:user password # wasn’t able to do anonymous login (system error 58)

Leave a Reply

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