Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Are there any pre-created Autounattend.xml files for Windows 7 unattended installation x86? I have been experimenting and creating the XML file but I am always being prompted to choose which hard disk to format. I can't seem to add in the script to automate that process.

I tried adding the DiskConfiguration portion but the installation keeps giving me error that my diskID is incorrect.

How do I resolve this issue? Is there any pre-created Autounattend.xml file that automates everything?

I want it to work for VMware virtual machine. Currently, VMware creates its own default disk. So RT Seven Lite only works for normal computer and not VMware.

share|improve this question
When you say VMWare creates it's own default disk, do you mean it formats the disk with a filesystem? (I apologize, I am only familiar with VirtualBox) –  Breakthrough Jun 29 '11 at 10:24
@Breakthrough No it does not format the disk with a filesystem, I have to use the Autounattend.xml to specify the format type. What I meant was VMware creates its own default disk without any partition which is 'Disk0 Unallocated Space'. Btw Here the link to my Autounattend.xml script: pastebin.com/dGjap3Wf. –  user448402 Jun 30 '11 at 3:35
add comment

2 Answers

up vote 5 down vote accepted

This webpage has a working Windows 7 autounattend.xml example:


Along with other settings it includes creating a single partition for the OS to be installed to.

share|improve this answer
But it does not work for VMware. How shall i customize it? –  user448402 Jun 30 '11 at 8:14
At what stage is it failing? It should indicate which section. –  ovann86 Jun 30 '11 at 10:09
@ovan86 it keeps asking me to selecting which hard disk I wish to install the operating system in my Virtual Machine. I wish to automate that process. –  user448402 Jul 1 '11 at 2:26
what should i do? –  user448402 Jul 4 '11 at 1:08
I've only seen this before where the autounattend file wasn't being detected at all. If you manually specify the parition information does the rest of the unattend information get applied? –  ovann86 Jul 4 '11 at 8:02
show 1 more comment

You can also use a utility like RT7Lite to create an unattended installation of Windows, similar to the older nLite for Windows XP. You can also remove unnecessary components and features from the operating system, and removing them from the installation itself.

Depending on what you want/need to remove, you can drastically reduce the size of the installed operating system. However, if you just need the Autounattend.xml file, you can run through the entire build process and extract the final file from the resulting disc image.

share|improve this answer
But it does not work for VMware. How shall i customize it? –  user448402 Jun 29 '11 at 8:28
am getting this error: Windows could not set a partition active on disk0. The specified partition does not exist on the target disk. The error occurred while applying the unattended answer file’s <DiskCongifuration> settings. –  user448402 Jun 29 '11 at 8:29
I have a working Autounattend.xml file that automates everything but only prompt at the selecting the disk 0 unallocated space part. –  user448402 Jun 29 '11 at 8:35
Could you possibly upload your Autounattend.xml file for us to see (maybe to pastebin.com), or update your question with the information between the the DiskConfiguration and ImageInstall starting and ending tags? (just a reminder, if you upload the whole thing, remove your serial number first!!) –  Breakthrough Jun 29 '11 at 10:27
Here the link to my Autounattend.xml script: pastebin.com/dGjap3Wf –  user448402 Jun 30 '11 at 1:04
show 2 more comments

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.