Hello. I have been following the guides to create a unattained.xml file for Windows 7 Pro x64. For some reason though, it will not install my Disk Configuration. After testing several articles I figured its time to post a thread.
Here is my file:
<!-- This is an unattained installation file for Windows 7 Pro x64 and only to be run off a PXE Server. This will not work on USB. -->
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<!-- This is the Core Install Section. It connects to the PXE server and Provisions Windows 7 x64 Base Installation -->
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64">
<!-- Connecting to the PXE Server -->
<WindowsDeploymentServices>
<!-- Administrator Login Credentials -->
<Login>
<Credentials>
<Username>administrator</Username>
<Domain>MYDOMAIN</Domain>
<Password>MYPASSWORD</Password>
</Credentials>
<WillShowUI>OnError</WillShowUI>
</Login>
<!-- Selecting the Windows 7 Pro x64 Image -->
<ImageSelection>
<WillShowUI>OnError</WillShowUI>
<InstallImage>
<ImageName>MYIMAGENAME</ImageName>
<ImageGroup>MYISO</ImageGroup>
<Filename>install.wim</Filename>
</InstallImage>
<!-- Assume 1 HDD in Computer and Install OS on HDD. -->
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
</ImageSelection>
</WindowsDeploymentServices>
<!-- Disk Partitioning Schema -->
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<!-- Select the Assumed 1 HDD and Wipe it of all Previous Files -->
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<!-- Create one Partition of Windows OS and Files, set as Primary, Drive C, Label Local -->
<ModifyPartitions>
<ModifyPartition>
<Order>1</Order>
<PartitionID>1</PartitionID>
<Letter>C</Letter>
<Label>OS</Label>
<Format>NTFS</Format>
<Active>true</Active>
<Extend>false</Extend>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
</component>
<component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="amd64">
<!-- Language Selection is English -->
<SetupUILanguage>
<WillShowUI>OnError</WillShowUI>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<UILanguage>en-US</UILanguage>
</component>
</settings>
<!-- This is the section for Joining a Domain (Reserved - No info yet) -->
</unattend>
I should have removed all the personal info. The error message I get is:
"Windows could not set a partition active on disk 0. The specified partition does not exist on the target disk. The error occured while applying the unattend answer file's <DiskConfiguration> setting. Error code: 0x80300002"
I tried <Extend>false</Extend> and <Extend>true</Extend>.
Where am I going wrong and why? D: