none
Sysprep Fatal Error on Generalize Pass IIS_Generalize (Not Licence Rearm Step) RRS feed

  • Question

  • Hi all,


    I am getting a Fatal Error Occured message when SysPreping a new POS terminal with Windows Embedded POS Ready 7. I have read several posts relating to the slmgr rearm process, but this is not the case in this instance as this is a clean build, and running slmrg /dlv shows remaining Windows rearm count as 3.

    Any help would be greatly appreciated.

    setuperr.log

    2016-12-29 12:58:03, Error      [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing 'C:\Windows\System32\inetsrv\iissyspr.dll,IIS_Generalize', returned error code -2146893818
    2016-12-29 12:58:03, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -2146893818
    2016-12-29 12:58:03, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x80090006
    Last part of setupact.log
    2016-12-29 12:53:51, Info       [0x0f008b] SYSPRP RunRegistryDlls:Found entrypoint in registry at SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SysPrep\Generalize\{13147057-dcb0-12f0-2d00-e35ade2ecb27}; will try to launch 'C:\Windows\System32\inetsrv\iissyspr.dll,IIS_Generalize'
    2016-12-29 12:53:51, Info       [0x0f0080] SYSPRP LaunchDll:Found 'C:\Windows\System32\inetsrv\iissyspr.dll,IIS_Generalize'; executing it
    2016-12-29 12:58:03, Error      [0x0f0082] SYSPRP LaunchDll:Failure occurred while executing 'C:\Windows\System32\inetsrv\iissyspr.dll,IIS_Generalize', returned error code -2146893818
    2016-12-29 12:58:03, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = -2146893818
    2016-12-29 12:58:03, Error      [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x80090006
    2016-12-29 13:00:05, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
    2016-12-29 13:00:05, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2016-12-29 13:00:05, Info       [0x0f004d] SYSPRP The time is now 2016-12-29 13:00:05
    Unattand.xml reads as follows
    <?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="x86" 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-GB</UILanguage>
                </SetupUILanguage>
                <InputLocale>en-GB</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>en-GB</UserLocale>
            </component>
            <component name="Microsoft-Windows-Setup" processorArchitecture="x86" 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">
                                <Format>NTFS</Format>
                                <Label>SymPOS</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <Active>true</Active>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                        <InstallToAvailablePartition>false</InstallToAvailablePartition>
                        <WillShowUI>OnError</WillShowUI>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <FullName>REMOVED</FullName>
                    <Organization>REMOVED</Organization>
                </UserData>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" 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-GB</InputLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>en-GB</UserLocale>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Enabled>false</Enabled>
                    <Username>REMOVED</Username>
                </AutoLogon>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <RequiresUserInput>false</RequiresUserInput>
                        <Order>1</Order>
                        <Description>Disable Auto Updates</Description>
                        <CommandLine>reg add &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update&quot; /v AUOptions /t REG_DWORD /d 1 /f</CommandLine>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>3</ProtectYourPC>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                </OOBE>
                <RegisteredOrganization />
                <RegisteredOwner>REMOVED</RegisteredOwner>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>SymPOS-Till</ComputerName>
                <TimeZone>GMT Standard Time</TimeZone>
                <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
                <RegisteredOwner />
                <RegisteredOrganization></RegisteredOrganization>
                <CopyProfile>true</CopyProfile>
            </component>
        </settings>
        <settings pass="generalize">
            <component name="Microsoft-Windows-PnpSysprep" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
                <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
            </component>
            <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>
        <cpi:offlineImage cpi:source="wim://laptop/users/engineer/desktop/install.wim#Windows Embedded Standard 7" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    



    Thursday, December 29, 2016 1:09 PM

All replies

  • Did you ever find a solution?  I'm trying to disable IIS before boot to work around a IIS logging timestamp issue and I think when sysprep tries to run IIS_Generalize it's failing because services are disabled and stopped.
    Thursday, August 1, 2019 12:53 PM