Install windows 10 directly to a target disk / virtual disk from a running Linux system, without booting from an installation ISO.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2.1 KiB

Deploy Windows 10 from Linux

This is a simple Python script that installs Windows 10 to a target disk from a running Linux system (i.e., without booting from Windows installation ISO and without using Windows PE).

Use cases

  • Mass-install Windows workstations from a PXE-booted Linux environment. (Here it may be useful to convert install.wim to a pipable WIM file and then you can stream it e.g. using HTTP from a server).
  • Provision VMs with Windows 10 with a single command, without any intermediate steps with mounting ISOs, changing boot order and the like.


  • Only limited partitioning options -- it can just erase whole disk and create a single partition.

Additional resources

Windows boot process

BCD database

Windows installation process