none
Windows 10 Sysprep Error - Windows could not parse or process the unattend answer file for pass [Specialize] RRS feed

  • Question

  • I need assistance with Sysprep and the unattend answer file.

    I am using DISM to image the computer and have use WSIM to create the answer file.   The reference system runs Sysprep without any errors but when the image is installed on another computer the error "Windows could not parse or process the unattend answer file for pass [Specialize]" is returned.

    The searches I have done have not yielded any resolution to the issue. 

    setuperr.log has the following;

    2018-01-16 12:07:10, Error      [0x0f0043] SYSPRP WinMain:The sysprep dialog box returned FALSE
    2018-01-16 12:15:08, Error                 SYSPRP setupdigetclassdevs failed with error 0
    2018-01-16 12:15:34, Error                 TOOL   BCD: BiExportBcdObjects failed c000000d
    2018-01-16 12:15:34, Error                 TOOL   BCD: BiExportStoreAlterationsToEfi failed c000000d
    2018-01-16 12:15:34, Error                 TOOL   BCD: Failed to export alterations to firmware. Status: c000000d
    2018-01-16 12:15:36, Error                 SYSPRP ClipCleanUpState resetting WNF_OLIC_OS_LICENSE_TERMS_ACCEPTED failed with NTSTATUS=c0000022

    The unattend file is as follows;

    <?xml version="1.0" encoding="UTF-8"?>

    -<unattend xmlns="urn:schemas-microsoft-com:unattend">

    -<settings pass="specialize">

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Deployment">

    -<ExtendOSPartition>

    <Extend>true</Extend>

    </ExtendOSPartition>

    </component>

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">

    <ComputerName>%COMPUTERNAME%</ComputerName>

    <RegisteredOrganization>xxxxxxx</RegisteredOrganization>

    <RegisteredOwner>xxxxxxx User</RegisteredOwner>

    <TimeZone>Easter Standard Time</TimeZone>

    <CopyProfile>false</CopyProfile>

    </component>

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-UnattendedJoin">

    -<Identification>

    -<Credentials>

    <Domain>XXXXXXX.com</Domain>

    <Password>X?X?X?X?X?X?X?X?X?X</Password>

    <Username>X?X?X?X?X?X?X?X?X?X?X</Username>

    </Credentials>

    <JoinDomain>xxxxxxx.com</JoinDomain>

    </Identification>

    </component>

                    </settings>

    -<settings pass="oobeSystem">

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-International-Core">

    <InputLocale>en-US</InputLocale>

    <SystemLocale>en-US</SystemLocale>

    <UILanguage>en-US</UILanguage>

    <UserLocale>en-US</UserLocale>

    </component>

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">

    -<UserAccounts>

    -<LocalAccounts>

    -<LocalAccount wcm:action="add">

    +<Password>

    <Description>ZZZXXXXZZZZXXX</Description>

    <DisplayName>XXXXZZZZZZZXXX</DisplayName>

    <Group>Administrators</Group>

    <Name>XXXXZZZZXXXXXXZZZZ</Name>

    </LocalAccount>

    </LocalAccounts>

    </UserAccounts>

    -<OOBE>

    <HideEULAPage>true</HideEULAPage>

    <HideLocalAccountScreen>true</HideLocalAccountScreen>

    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>

    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>

    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

    <ProtectYourPC>1</ProtectYourPC>

    </OOBE>

    </component>

    </settings>

    <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/winimaging/images/$oem$%20folders/windows10base/sources/install.wim#Windows 10 Enterprise"/>

    </unattend>

    Any assistance would be greatly appreciated.

    THANKS!!!!!

    <localaccounts><localaccount wcm:action="add" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"><password></password></localaccount></localaccounts>
    Tuesday, January 16, 2018 10:43 PM

All replies

  • Please post your unattend.xml in a more readable format (for example using the integrated code formatting system). The error message points to the specialize part of your xml either being malformated or missing critical info. The log file indicates missing AcceptEula property: https://docs.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-setup-userdata-accepteula

    Cheers,
    Anton

    Vacuum Breather Blog | Wing Commander Saga | Twitter

    Note: Posts are provided "AS IS" without warranty of any kind. If posts are helpful please don't forget to rate them as "Helpful" or as "Answer".


    • Edited by Anton Romanyuk Wednesday, January 17, 2018 5:28 AM typo
    • Marked as answer by OwenStedding Wednesday, January 17, 2018 8:20 PM
    • Unmarked as answer by OwenStedding Wednesday, January 17, 2018 8:20 PM
    Wednesday, January 17, 2018 5:28 AM
  • THANKS, for replying;

    I added userdata-accepteula to the unattended file, but I still received the same error.

    As requested, below is the unattended file
    Wednesday, January 17, 2018 8:20 PM
  • As requested, below is the unattended file

     

    <?xml version="1.0" encoding="UTF-8"?>

    -<unattend xmlns="urn:schemas-microsoft-com:unattend">

    -<settings pass="specialize">

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Deployment">

    -<ExtendOSPartition>

    <Extend>true</Extend>

    </ExtendOSPartition>

    </component>

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">

    <ComputerName>%COMPUTERNAME%</ComputerName>

    <RegisteredOrganization>Pennoni</RegisteredOrganization>

    <RegisteredOwner>Pennoni User</RegisteredOwner>

    <TimeZone>Easter Standard Time</TimeZone>

    <CopyProfile>false</CopyProfile>

    </component>

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-UnattendedJoin">

    -<Identification>

    -<Credentials>

    <Domain>XXXXXXXXX.com</Domain>

    <Password>XXXXXXXXXXXX</Password>

    <Username>XXXXXXXX</Username>

    </Credentials>

    <JoinDomain>Company</JoinDomain>

    </Identification>

    </component>

    </settings>

    -<settings pass="oobeSystem">

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-International-Core">

    <InputLocale>en-US</InputLocale>

    <SystemLocale>en-US</SystemLocale>

    <UILanguage>en-US</UILanguage>

    <UserLocale>en-US</UserLocale>

    </component>

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Shell-Setup">

    -<UserAccounts>

    -<LocalAccounts>

    -<LocalAccount wcm:action="add">

    -<Password>

    <Value>xxxxxxxxxxx</Value>

    <PlainText>false</PlainText>

    </Password>

    <Description>XXXXXXX</Description>

    <DisplayName>XXXXXXX</DisplayName>

    <Group>Administrators</Group>

    <Name>XXXXXXXXXXXXXXX</Name>

    </LocalAccount>

    </LocalAccounts>

    </UserAccounts>

    -<OOBE>

    <HideEULAPage>true</HideEULAPage>

    <HideLocalAccountScreen>true</HideLocalAccountScreen>

    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>

    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>

    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

    <ProtectYourPC>1</ProtectYourPC>

    </OOBE>

    </component>

    </settings>

    -<settings pass="windowsPE">

    -<component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Setup">

    -<UserData>

    <AcceptEula>true</AcceptEula>

    <FullName/>

    </UserData>

    </component>

    </settings>

    <cpi:offlineImage xmlns:cpi="urn:schemas-microsoft-com:cpi" cpi:source="wim:c:/winimaging/images/$oem$%20folders/windows10base/sources/install.wim#Windows 10 Enterprise"/>

    </unattend>

    Wednesday, January 17, 2018 8:21 PM
  • Install MDT 8450 and use the template "C:\Program Files\Microsoft Deployment Toolkit\Templates\Unattend_x64.xml.10.0"
    Thursday, March 22, 2018 10:59 PM