Create Zero-Touch Windows 10 ISO

I’ve recently been doing some testing between the different Windows 10 releases, and wanted to quick way to be able to install new VMs without maintaining a bunch of different VM templates, or using MDT. To do this I made a ISO image that installs the base Windows 10 image without any manual interaction required. This post will go over the steps you can use to make your own Windows 10 Zero-Touch ISO.


Before you begin, you must have a Windows 10 ISO. If you don’t have one, you can use the Windows Media Creation Tool to create one from any licensed installation of Windows 10.

You will also need to install the Windows Assessment and Deployment Kit (ADK). When installing the ADK you only need to install the Deployment Tools feature.

Prep the ISO Files

Since we want this to be Zero-Touch, there are a few things you need to do to prevent the “Press any key to boot from CD or DVD” prompt.

  1. Extract the contents of your ISO. In the examples used below I extracted mine to E:\Win10_ISO.
  2. Delete the file .\boot\bootfix.bin (This will prevent the prompt when booting using BIOS.)
  3. In the folder .\efi\microsoft\boot\ rename the following files (This will prevent the boot prompt on UEFI systems)
    1. bin –> efisys_prompt.bin
    2. bin –> efisys.bin
  4. The next step only applies if you used the Media Creation Tool. If you used and ISO image you can skip to the next section.
  5. In the folder .\sources\ rename the file install.esd –> install.wim

Script It

Create Autounattend.xml

The Autounattend.xml is used to answer all the questions that you are asked during the installation process. I have uploaded a sample file to my Gist profile that you can download, to get started pretty quick and easily. This Autounattend.xml has been tested on version 1511, 1607, and 1709, using x64 architecture.

  1. Download the Autounattend.xml and open in your preferred text editor
  2. The DiskConfiguration section sets the partitions. This file will create a 100 MB EFI partition, a 4 GB recovery volume, and assign the rest of the disk space to the OS partition. You should not need to make any changes here.
  3. Update the sections SetupUILanguage, InputLocale, SystemLocale, UILanguage, and UserLocale to your required language and location.
  4. In the UserAccounts section you can set the password for the administrator account.
  5. Update the AutoLogon section with the same password as the UserAccounts
  6. Make note of the SkipMachineOOBE and SkipUserOOBE. These are set to true to allow you to bypass the initial setup screens after Windows is installed. These should only be used for testing purposes. If you are creating a production image be sure to remove these two sections.
  7. ComputerName is set to * to generate a random name.
  8. Update the RegisteredOwner and RegisteredOrganization to your organization.
  9. Place the xml in the top level of the folder you extracted the ISO to.

If you want to do any customization beyond what is covered above you can use the Windows System Image Manager that was included with the Windows ADK you installed earlier.

Script It

Create the ISO

  1. Go to Start > Windows Kits > Deployment and Imaging Tools Environment
  2. Run the command below to generate your ISO.

oscdimg.exe -m -o -u2 -udfver102 -bootdata:2#p0,e,bE:\Win10_ISO\boot\,e,bE:\Win10_ISO\efi\microsoft\boot\efisys.bin E:\Win10_ISO E:\Win10Ent1607x64.iso

That’s it! Your ISO is now ready to use.

Script It!

Bonus Script: Create Virtual Machine

The script below can be used to create a Hyper-V Virtual Machine, mount your newly created ISO, and starts the VM, so the Windows 10 installation begins.

All script from this post can also be find on my Gist page.


  1. zmbr December 11, 2017
    • Matthew Dowst December 11, 2017

Leave a Reply