Microsoft Enterprise Platforms Support: Windows Server Core Team
EPS Team Blogs
Product Team Blogs
In today’s blog I am going to explain how you can do an unattended setup of the default Windows 8 Enterprise X64 install.wim to a Surface Pro from a USB drive. Unattended setups are not new but when you are deploying to the Surface Pro (or any other UEFI system) there are some special considerations around disk partitioning and booting from USB.
Note: It is also possible to replace the default install.wim in the sources folder with your own custom install.wim. The image must be prepared using Sysprep with the /generalize and /oobe command line switches. If the install.wim is >4GB you will have either split the .wim or prepare the USB drive with multiple partitions. See http://blogs.technet.com/b/askcore/archive/2013/03/20/creating-bootable-usb-drive-for-uefi-computers.aspx for more information
Using Windows System Image Manger create an autounattend.xml and then copy it to the root of the USB flash drive.
Since the Surface Pro is a UEFI system you must create different disk partitioning then a legacy BIOS based computer. I have attached a sample autounattend.xml to the blog that is fully automated and will end with you logged in to the computer as local administrator account. My disk partitioning follows the default configuration. Below shows the different partitions and sizes
Figure 1. Default UEFI disk configuration
If you want to setup for recovery partition scenarios see the Recommended Configuration: System Recovery.
To boot from USB on the Surface Pro you must do the following:
If it doesn’t boot from the USB drive check the following:
Here is autounattend.xml.
Hope this helps with your deployments. Stay tuned for more Surface Pro deployment related blogs
Scott McArthur Senior Support Escalation Engineer Microsoft Customer Support & Services
The sample autounattend.xml file seems to be zero length when saved with IE8.
Same here Sam.
The autounattend.xml file is definitely empty.
I just downloaded the file and it downloaded okay for me. 4.88kb. Can you try again? What browser are you using?
Still 0 kb in download via IE10, Firefox and Chrome on W8.
What is the default program that Scott McArthur is using to open XML files?
WHen I use Dreamweaver or Notepad, it opens empty
I am right clicking the autounattend.xml and choosing save as target, select my desktop. Then I open it with Notepad or Windows System Image Manager
@ Z Man - That's because the download is still broken. @ Scott please fix the download. Obviously something is blocking it on the blog site. I can't believe after so many comments you don't see that there is a problem.
We've moved the autounattend.xml into the blog itself for those having download problems.
The spaces need to be removed in the tags of the xml file or you will get errors in WSIM. For example < /unattend> needs to be </unattend>.
I was able to get as far as launching the Win8Setup but can't get it to read the xml. I put it in the root of the USB drive as specified. Does anything need to be changed with the XML file?
Do you need to disable SecureBoot to install/re-install Windows 8 Enterprise x64, or does it all just work ?
Presumably the latter.
what's the admin Password?
Added the NOTE: at the end below the file.
Note: This answer file sets the local administrator password to Password1
Is important in unattend créate partition first
Problem with custom installation Wim file
Hello friends I'm writing from Mexico
First of all sorry for the spelling not much English
I need your help
I am installing Windows 8 enterprise 9470 HP Folio team and has a hard
160 gb SSD and the question is as follows
install all the applications that I require but when caputar my wim file and attach it appears to mean an error windows 8
Wim file that is not in our catalog and you change the configuration file if anyone can help el.cfg if the error is on the hard drive or something else
thanks for the help