Deploying Win 7 (X64) via WDS - Parse error on XML file
I've searched around for an answer to this, but can't seem to resolve my issue. I am trying to do an unattended install of Windows 7 Pro (x64) via WDS from a Windows 2008 Server. I have made sure the unattend file is in the <share>\WdsclientUNattend folder. Ran through the SIM to verify there were no errors inthe unattend.xml file and it STILL comes up with this error "Windows cannot parse the unattend answer file's <DiskConfiguration> setting." I am trying to put this on a Dell Optiplex 760 with a single 80GB SATA HDD with 1 single partition. Initially the drive has 3 partitions, which in theory should be wiped with the WillWipeDisk command. Below is my unattend file. Any help would be appreciated. <?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DiskConfiguration> <Disk wcm:action="add"> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Label>OS</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> <TypeID>Primary</TypeID> </ModifyPartition> </ModifyPartitions> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>80000</Size> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> </DiskConfiguration> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/image/test.wim#Windows 7 x64 (Dell Optiplex 760)" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
November 19th, 2009 1:52am
Hi,
Windows 7 requires a 100 MB System Reserved partition. I suggest trying below:
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition -->
<Order>1</Order>
<Type>Primary</Type>
<Size>100</Size>
</CreatePartition>
<!-- Create the Windows partition -->
<CreatePartition>
<Order>2</Order>
<Type>Primary</Type>
<Size>80000</Size>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition -->
<ModifyPartition>
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>System</Label>
<Active>true</Active>
</ModifyPartition>
<!-- Modify the Windows partition -->
<ModifyPartition>
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
Hope it helps.
Tim Quan - MSFT
Free Windows Admin Tool Kit Click here and download it now
November 19th, 2009 11:28am
Hi,
How are things going? I have not heard back from you in a few days and wanted to check on the status of the issue. Please let me know how things turned out.
Tim Quan - MSFT
November 23rd, 2009 5:17am
Hi Tim Quan! I tried your solution and it seems to be working good! thanx a lot for your help!
Free Windows Admin Tool Kit Click here and download it now
February 17th, 2010 7:53am
HI Tim Quan,
I also faced same problem while installing amd X64bit win7 from Windows 2008R2 server(WDS).Can you help me in fixing this issue.
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition -->
<Order>1</Order>
<Type>Primary</Type>
<Size>512</Size>
</CreatePartition>
<!-- Create the Windows partition -->
<CreatePartition>
<Order>2</Order>
<Type>Primary</Type>
<Size>80000</Size>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition -->
<ModifyPartition>
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>System</Label>
<Active>true</Active>
</ModifyPartition>
<!-- Modify the Windows partition -->
<ModifyPartition>
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Label>Windows_OS</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
July 11th, 2011 2:13pm
Windows 7 requires a 100 MB System Reserved partition.
Follow the Tim Suggestion said above.
<DiskConfiguration>
<WillShowUI>OnError</WillShowUI>
<Disk>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
<CreatePartitions>
<CreatePartition>
<!-- Create the system partition -->
<Order>1</Order>
<Type>Primary</Type>
<Size>100</Size>
</CreatePartition>
<!-- Create the Windows partition -->
<CreatePartition>
<Order>2</Order>
<Type>Primary</Type>
<Size>80000</Size>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<!-- Modify the system partition -->
<ModifyPartition>
<Order>1</Order>
<PartitionID>1</PartitionID>
<Format>NTFS</Format>
<Label>System</Label>
<Active>true</Active>
</ModifyPartition>
<!-- Modify the Windows partition -->
<ModifyPartition>
<Order>2</Order>
<PartitionID>2</PartitionID>
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
Thanks
Free Windows Admin Tool Kit Click here and download it now
July 11th, 2011 2:42pm