Use autounattend.xml files to install Windows 10/11

Windows installation instructions

Windows Setup will automatically search for autounattend.xml files at various locations, including the root folders of each removable drive. Therefore, you do not need any third-party software, and you do not need to modify .iso or .wim files. Just use the original .iso file from Microsoft, like Win11_24H2_English_x64.iso, and follow these steps:

To install Windows from a DVD

  1. Fill out the form, then click the button.
  2. Copy the autounattend.xml file to the root folder of a USB drive and connect it to the computer.
  3. Boot from the DVD drive to begin the unattended installation.

To install Windows from a USB drive

  1. Fill out the form, then click the button.
  2. Copy the autounattend.xml file to the root folder of the USB drive that contains the Windows Setup files and connect it to the computer. (The autounattend.xml file will be located in the same folder as setup.exe.)
  3. Boot from the USB drive to begin the unattended installation.

To install Windows on a virtual machine in VMware Workstation

  1. Fill out the form, make sure to check Install VMware Tools, then click the button.
  2. Create your VM. If VMware uses Easy Install, remove the drive where autoinst.flp or autoinst.iso are attached:
  3. Attach the following images to your VM as optical drives:
  4. Start the VM to begin the unattended installation.

To install Windows on a virtual machine in Oracle VirtualBox

  1. Fill out the form, make sure to check Install Oracle VirtualBox Guest Additions, then click the button.
  2. Create your VM. Since we want to use our own autounattend.xml file and not the one provided by VirtualBox, check the Skip Unattended Installation setting:
  3. Attach the following images to your VM as optical drives:
  4. Start the VM to begin the unattended installation.

To install Windows on a virtual machine in Proxmox VE

  1. Fill out the form, make sure to check Install VirtIO Guest Tools and QEMU Guest Agent, then click the button.
  2. Upload these .iso files to Proxmox:
  3. Create your VM and configure its CD/DVD drives as follows:
  4. Start the VM to begin the unattended installation.

To install Windows on a virtual machine in Hyper-V

  1. Fill out the form, then click the button. (Note that there is no option to install the vmguest.iso image because it is no longer needed or included in Hyper-V.)
  2. Create your VM.
  3. Add an additional DVD drive to the VM and attach the unattend.iso image downloaded earlier:
  4. Start the VM to begin the unattended installation.

Troubleshooting

autounattend.xml files generated by this service work with any version of Windows 10 and Windows 11, including 24H2, in both ConX and legacy setup modes. When an answer file is not processed as expected, check for the following:

The unattended installation writes error messages and other output to various log files:

Path Phase Contents
  • X:\Windows\setupact.log
  • X:\Windows\setuperr.log
Windows PE Windows Setup logs for PE phase. Inspect these files when Windows Setup does not seem to apply your autounattend.xml file.
  • X:\diskpart.log
Windows PE Output of diskpart script to partition and format your hard drive.
  • C:\Windows\Setup\Scripts\Specialize.log
  • C:\Windows\Setup\Scripts\DefaultUser.log
  • C:\Windows\Setup\Scripts\FirstLogon.log
  • %TEMP%\UserOnce.log
After Windows has been installed Output of custom scripts, WLAN setup and various other configuration actions.
  • C:\Windows\Temp\remove-packages.log (previously)
  • C:\Windows\Temp\remove-features.log (previously)
  • C:\Windows\Temp\remove-caps.log (previously)
  • C:\Windows\Setup\Scripts\RemovePackages.log
  • C:\Windows\Setup\Scripts\RemoveFeatures.log
  • C:\Windows\Setup\Scripts\RemoveCapabilities.log
After Windows has been installed Logs results of bloatware removal.
  • C:\Windows\Setup\Scripts\SetComputerName.log
After Windows has been installed Output of PowerShell script that sets your computer's name.