I'm trying to make an AutoAttend.xml file for a Windows 8 Pro installation, so we don't have to enter anything and Windows 8 Pro is installed. These computers have an OEM Windows 8 key from HP (So it is written to the BIOS). Anyway, when I try to use an
AutoAttend.xml file, I get the following error:
Windows cannot read the <Product Key> from the unattend answer file
I'm not sure what we've done wrong. We can't enter the product key because it is in the BIOS. If I remove the the AutoAttend.xml, it will install fine. Any help in pointing me to the right direction here will be much appreciated. Thanks!
The AutoAttend.xml I'm using is:
<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="generalize"><component name="Microsoft-Windows-Security-SPP" 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"><SkipRearm>1</SkipRearm></component></settings><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><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><PartitionID>1</PartitionID><Order>1</Order><Letter>C</Letter><Label>Local Disk</Label><Extend>false</Extend></ModifyPartition></ModifyPartitions><WillWipeDisk>true</WillWipeDisk><DiskID>0</DiskID></Disk></DiskConfiguration><ImageInstall><OSImage><InstallTo><DiskID>0</DiskID><PartitionID>1</PartitionID></InstallTo></OSImage></ImageInstall><UserData><AcceptEula>true</AcceptEula><FullName>Company</FullName><Organization>Company</Organization></UserData></component><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"><UILanguage>en-US</UILanguage><UserLocale>en-US</UserLocale><SystemLocale>en-US</SystemLocale><InputLocale>en-US</InputLocale></component></settings><settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-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">
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>thepasswordgoeshere=</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>User</DisplayName>
<Group>Administrators;Users</Group>
<Name>User</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>Company</RegisteredOrganization>
<RegisteredOwner>Company</RegisteredOwner>
</component></settings><cpi:offlineImage cpi:source="wim:i:/sources/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>