Windows cannot parse the unattend answer file's <DiskConfiguration> setting
-
Tuesday, May 08, 2012 8:06 AM
Hi,
I am using Windows Deployment Services, and WAIK to create an unattend file.
I have set in WDS under Server Name - Client - Unattend file - Enable unattended installation and choosed the unattend.xml for x64 architecture.
Clients boot fine and i am able to select the image i want to install, but when the deploy process starts i receive the following error:
"Windows cannot parse the unattend answer file's <DiskConfiguration> setting."
I have read here that it is because it needs a system partition so i have changed my unattend file accordingly but still no joy. Here is the file, what am i missing?
<?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> <UILanguageFallback>en-US</UILanguageFallback> <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"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>2</Order> <Extend>true</Extend> <Type>Primary</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>100</Size> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>SYSTEM</Label> <Order>1</Order> <PartitionID>1</PartitionID> <TypeID /> </ModifyPartition> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>WINDOWS</Label> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> <WillWipeDisk>true</WillWipeDisk> <DiskID>0</DiskID> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <InstallToAvailablePartition>true</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>Never</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>ACME International</FullName> <Organization>ACME International</Organization> </UserData> <WindowsDeploymentServices> <Login> <Credentials> <Domain>CORP</Domain> <Password>Pass##word@!</Password> <Username>deploy</Username> </Credentials> </Login> </WindowsDeploymentServices> <EnableFirewall>false</EnableFirewall> <EnableNetwork>true</EnableNetwork> </component> </settings> <cpi:offlineImage cpi:source="wim://nlamssv11/reminst/distributionshare/laptops_win7.wim#Laptops_Win7" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
All Replies
-
Tuesday, May 08, 2012 8:55 AM
Hi,
try again with this xml:
<?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> <UILanguageFallback>en-US</UILanguageFallback> <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> <WillShowUI>OnError</WillShowUI> <Disk> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <CreatePartitions> <CreatePartition> <Order>1</Order> <Type>Primary</Type> <Size>100</Size> </CreatePartition> <CreatePartition> <Order>2</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition> <Order>1</Order> <PartitionID>1</PartitionID> <Format>NTFS</Format> <Label>System</Label> </ModifyPartition> <ModifyPartition> <Order>2</Order> <PartitionID>2</PartitionID> <Format>NTFS</Format> <Label>Windows</Label> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>Never</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>ACME International</FullName> <Organization>ACME International</Organization> </UserData> <WindowsDeploymentServices> <Login> <Credentials> <Domain>CORP</Domain> <Password>Pass##word@!</Password> <Username>deploy</Username> </Credentials> </Login> </WindowsDeploymentServices> <EnableFirewall>false</EnableFirewall> <EnableNetwork>true</EnableNetwork> </component> </settings> <cpi:offlineImage cpi:source="wim://nlamssv11/reminst/distributionshare/laptops_win7.wim#Laptops_Win7" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
Kind regards,
Tim
MCITP, MCTS
http://directoryadmin.blogspot.comThis posting is provided 'AS IS' with no warranties or guarantees and confers no rights.
- Edited by butim Tuesday, May 08, 2012 9:06 AM
-
Tuesday, May 08, 2012 10:00 AM
Thanks!
I tried with this settings below, it works better but i am still presented with the disk manager and i have to delete old partitions manually, how can i get the old partitions to be removed silently as i already set the wipe option <WillWipeDisk>true</WillWipeDisk> ?
<?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> <UILanguageFallback>en-US</UILanguageFallback> <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"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>100</Size> <Type>Primary</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Extend>true</Extend> <Order>2</Order> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>SYSTEM</Label> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Format>NTFS</Format> <Label>WINDOWS</Label> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> <WillWipeDisk>true</WillWipeDisk> <DiskID>0</DiskID> </Disk> <WillShowUI>OnError</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>Never</WillShowUI> </ProductKey> <AcceptEula>true</AcceptEula> <FullName>ACME International</FullName> <Organization>ACME International</Organization> </UserData> <WindowsDeploymentServices> <Login> <Credentials> <Domain>CORP</Domain> <Password>pass#word@!</Password> <Username>admin</Username> </Credentials> </Login> </WindowsDeploymentServices> <EnableFirewall>false</EnableFirewall> <EnableNetwork>true</EnableNetwork> </component> </settings> <cpi:offlineImage cpi:source="wim://nlamssv11/reminst/distributionshare/laptops_win7.wim#Laptops_Win7" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
-
Tuesday, May 08, 2012 10:30 AM
Hi,
if you using WDS did you added the xml AMD64 architecture?
Copy your XML to RemoteInstall\WdsClientUnattend\
In the WDS console right-click at the servername, select Properties.
Go to the Client tab:
Select "Enable unattend installation" and browse to your xml.
What I see in my XML files the amd64 is written in capital letters AMD64.
Kind regards,
Tim
MCITP, MCTS
http://directoryadmin.blogspot.comThis posting is provided 'AS IS' with no warranties or guarantees and confers no rights.
-
Tuesday, May 08, 2012 10:39 AM
I did that. I have set in WDS under Server Name - Client - Unattend file - Enable unattended installation and choosed the unattend.xml for x64 architecture.
The unattend file is read but for some reason the wipe part is not done.
-
Tuesday, May 08, 2012 11:50 AM
Hm this is working for me:
<?xml version="1.0" encoding="utf-8"?> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <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> <WillShowUI>OnError</WillShowUI> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Type>Primary</Type> <Extend>true</Extend> </CreatePartition> </CreatePartitions> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Format>NTFS</Format> <Label>System</Label> <Letter>C</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> </ModifyPartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> </Disk> </DiskConfiguration> <WindowsDeploymentServices> <Login> <Credentials> <Domain></Domain> <Username></Username> <Password></Password> </Credentials> </Login> <ImageSelection> <WillShowUI>OnError</WillShowUI> <InstallImage> <ImageName></ImageName> <ImageGroup></ImageGroup> <FileName></FileName> </InstallImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </ImageSelection> </WindowsDeploymentServices> </component> </settings> </unattend>
Kind regards,
Tim
MCITP, MCTS
http://directoryadmin.blogspot.comThis posting is provided 'AS IS' with no warranties or guarantees and confers no rights.
- Marked As Answer by Leo HuangMicrosoft Contingent Staff, Moderator Thursday, May 24, 2012 3:02 AM

