Create Windows Templates

Please try to follow this process exactly as it is to have your windows machine provisioned correctly

Windows Server

This procedure was tested with Windows server 2008 R2, the same procedure also work in 2012 and 2016 as well.

  1. postinstall.ps1
  2. Startup.cmd
  3. unattend.xml
  4. xenica_auostart.ps1
  5. diskpar.txt


gpedit.msc



<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>


  1. Copy the unattend.xml file into the c:\windows\system32\sysprep directory
  2. In the command line run the following command
cd c:\Windows\System32\sysprep
sysprep /oobe /generalize /shutdown /unattend:unattend.xml

Windows server 2003 R2

The same procedure works the same way for windows server 2003 although it need new unattended file id sysprep is required (sysprep is not a must unless your users will run Active directory on their vms) use this tutorial to create sysprep unattended file for win2003 win 2003 r2 sysprep