/build/static/layout/Breadcrumb_cap_w.png

Failed Unattend xml

I have captured and created and unattended xml answer file i have used the kace tool. after attempting to deploy the image and during its first setup/ configuration I receive and error " windows could not parse or process unattend answer file C:\windows\Panther\unattend.xml" for pass [oobe system] the answer file is invalid


Any clue on to why this would be happening 



2 Comments   [ + ] Show comments
  • Please post your answer file. - chucksteel 5 years ago
  • <?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>
    <component name="Microsoft-Windows-PnpSysprep" 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">
    <PersistAllDeviceInstalls>false</PersistAllDeviceInstalls>
    <DoNotCleanUpNonPresentDevices>false</DoNotCleanUpNonPresentDevices>
    </component>
    <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">
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <RegisteredOrganization>CRVI</RegisteredOrganization>
    <RegisteredOwner>CrviUser</RegisteredOwner>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Security-SPP-UX" 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">
    <SkipAutoActivation>true</SkipAutoActivation>
    </component>
    <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">
    <ComputerName>*</ComputerName>
    <CopyProfile>true</CopyProfile>
    <TimeZone>Eastern Standard Time</TimeZone>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
    <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" 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">
    <BlockPopups>yes</BlockPopups>
    <DisableFirstRunWizard>true</DisableFirstRunWizard>
    <ShowLeftAddressToolbar>true</ShowLeftAddressToolbar>
    <ShowInformationBar>true</ShowInformationBar>
    <Home_Page>www.crvi.org</Home_Page>
    </component>
    <component name="Microsoft-Windows-UnattendedJoin" 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">
    <Identification>
    <JoinWorkgroup>THEAMAZON</JoinWorkgroup>
    </Identification>
    </component>
    <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 user Administrator /active:yes</Path>
    <WillReboot>Never</WillReboot>
    </RunSynchronousCommand>
    </RunSynchronous>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" 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">
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UserLocale>en-US</UserLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    </component>
    <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">
    <AutoLogon>
    <Password>
    <Value>{REMOVED FOR SECURITY}</Value>
    <PlainText>true</PlainText>
    </Password>
    <LogonCount>0</LogonCount>
    <Enabled>true</Enabled>
    <Username>Administrator</Username>
    </AutoLogon>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <Description>Disable UAC</Description>
    <Order>1</Order>
    <CommandLine>reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Description>Disable Consumer Features</Description>
    <Order>2</Order>
    <CommandLine>reg add HKLM\Software\Policies\Microsoft\Windows\CloudContent /v DisableWindowsConsumerFeatures /t REG_DWORD /d 1 /f</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Description>Control Panel Icon Size</Description>
    <Order>3</Order>
    <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 0 /f</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Description>Control Panel View</Description>
    <Order>4</Order>
    <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 0 /f</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    </FirstLogonCommands>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <ProtectYourPC>3</ProtectYourPC>
    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
    <HideLocalAccountScreen>true</HideLocalAccountScreen>
    <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
    </OOBE>
    <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
    <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
    <UserAccounts>
    <AdministratorPassword>
    <Value>REMOVED</Value>
    <PlainText>true</PlainText>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>REMOVED</Value>
    <PlainText>true</PlainText>
    </Password>
    <Description>Local Administrator</Description>
    <DisplayName>Administrator</DisplayName>
    <Group>Administrators</Group>
    <Name>Administrator</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <WindowsFeatures>
    <ShowMediaCenter>false</ShowMediaCenter>
    <ShowInternetExplorer>true</ShowInternetExplorer>
    </WindowsFeatures>
    <RegisteredOrganization>CRVI</RegisteredOrganization>
    <RegisteredOwner>CrviUser</RegisteredOwner>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    </component>
    </settings>
    </unattend> - MiguelT 5 years ago

Answers (2)

Answer Summary:
Posted by: SMal.tmcc 5 years ago
Red Belt
1

Top Answer

the wsim validator finds this problem:



Comments:
  • The 'LogonCount' element is invalid - The value '0' is invalid according to its datatype 'LogonCountType' - The MinInclusive constraint failed. Components/oobeSystem/amd64_Microsoft-Windows-Shell-Setup_neutral/AutoLogon/LogonCount - SMal.tmcc 5 years ago
    • I was unaware i could not set that to 0 and then during set autologin count mid level task would not override that.

      Once I changed that setting it addressed the issue i was having. - MiguelT 5 years ago
Posted by: SMal.tmcc 5 years ago
Red Belt
0

What version of windows and release number?

while in the kbe env go to that directory and get the setuperr.log and post the last few lines where the failure occurs

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ