Howdy,
I'm currently setting up and testing a deployment server utilizing ADK. Everything I need is working great except one problem. I am trying to automate running a script from my server in order to sysprep and create a restore partition. To do this I have commands setup in my answer file as synchronous and asynchronous commands. Unfortunately when they are included in my answer file I receiver the following error during the "audituser" pass:
*windows could not parse or process unattend answer file [c:\windows\panther\unattend.xml] for pass [audituser]. the settings specified in the answer file cannot be applied. the error was detected while processing settings for component [microsoft-windows-deployment].*
If I run the commands manually from an audited machine, the commands and scripts work beautifully. However, when trying to automate them ^ that happens.
Here is the answer file:
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<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">
<OEMInformation>
<HelpCustomized>true</HelpCustomized>
<Manufacturer>IT Liquidators</Manufacturer>
<SupportHours>8:00am - 5:00pm (MT)</SupportHours>
<SupportPhone>888-878-7867</SupportPhone>
<SupportURL>shop.trustnsr.com</SupportURL>
</OEMInformation>
</component>
<component name="Microsoft-Windows-HelpAndSupport" 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">
<HelpAndSupport>
<Manufacturer>IT Liquidators</Manufacturer>
<TileColor>6579300</TileColor>
<SearchContent>true</SearchContent>
</HelpAndSupport>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Deployment" 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">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
<settings pass="auditUser">
<component name="Microsoft-Windows-Deployment" 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">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>NET USE \\NSR_DEPLOYMENT\DistributionShare /User:Deploy1\NSR Catsrule1</Path>
<Credentials>
<Domain>NSR_Deployment.org</Domain>
<Password>"password"</Password>
<Username>NSR</Username>
</Credentials>
</RunSynchronousCommand>
</RunSynchronous>
<RunAsynchronous>
<RunAsynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>\\NSR_DEPLOYMENT\DistributionShare\BuildInWinRE7.cmd</Path>
<Credentials>
<Domain>NSR_Deployment.org</Domain>
<Password>"password"</Password>
<Username>NSR</Username>
</Credentials>
</RunAsynchronousCommand>
</RunAsynchronous>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
Any help would be greatly appreciated.
Regards,
Alex