none
Inconsistent DISM.EXE error when applying unattend.xml during LTI deployment - Possible bug! RRS feed

  • Question

  • I've been using MDT 2012 and 2012 update 1 with ADK for Windows 8 successfully for years.  This week I decided to uninstall those tools, and install ADK for Windows 8.1 and MDT 2013.  I'm running Windows 7 x64.  Instead of upgrading the current deployment share, I created a new share to start fresh.

    So, I created a new share, added Windows 7 OS, and created a client deployment task sequence. I modified the unattended.xml to enable telnet client and disable media center.  No drivers, no applications, and no packages for this test.  Stock, unmodified task sequence.

    Problem:

    It works as expected sometimes.  But, about 50% of the time, I get this error:

    From the BDD.LOG:

    <![LOG[About to run command: dism.exe /Image:C:\ /Apply-Unattend:C:\Windows\Panther\Unattend.xml /ScratchDir:C:\MININT\Scratch]LOG]!><time="00:16:51.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Command has been started (process ID 1224)]LOG]!><time="00:16:51.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Deployment Image Servicing and Management tool]LOG]!><time="00:16:51.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Version: 6.3.9600.16384]LOG]!><time="00:16:51.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Image Version: 6.1.7600.16385]LOG]!><time="00:16:52.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Disabling feature(s)]LOG]!><time="00:16:53.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Disabling feature(s)]LOG]!><time="00:16:58.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > Error: 0x80220013]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > DISM failed. No operation was performed. ]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > For more information, review the log file.]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[  Console > The DISM log file can be found at X:\windows\Logs\DISM\dism.log]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[Return code from command = -2145255405]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="1" thread="" file="LTIApply">
    <![LOG[FAILURE ( 5627 ): -2145255405  0x80220013: Run DISM.exe]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LTIApply" context="" type="3" thread="" file="LTIApply">
    <![LOG[Command completed, return code = -2147467259]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
    <![LOG[Litetouch deployment failed, Return Code = -2147467259  0x80004005]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LiteTouch" context="" type="3" thread="" file="LiteTouch">
    <![LOG[For more information, consult the task sequencer log ...\SMSTS.LOG.]LOG]!><time="00:16:59.000+000" date="10-30-2013" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

    From the DISM.LOG:

    2013-10-30 00:16:58, Error                 CSI    00000001 (F) 80220013 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=19 (0x0013)] #5# from CWcmEngineCore::GetNamespaceWithOptions(nsid = { name: Microsoft-Windows-PnpCustomizationsNonWinPE ver:  lang: neutral arch: amd64 pkt: 31bf3856ad364e35 verSc: nonSxS }, iMode = 1, iAccess = 2, iOption = 1, target = @0x4c792c0, context = NULL, namespace = { name: Microsoft-Windows-PnpCustomizationsNonWinPE ver:  lang: neutral arch: amd64 pkt: 31bf3856ad364e35 verSc: nonSxS })
    [gle=0x80004005]
    2013-10-30 00:16:58, Error                 CSI    00000002 (F) 80220013 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=19 (0x0013)] #3# from CUnattendDeserializer::ProcessComponentElement(...)[gle=0x80004005]
    2013-10-30 00:16:58, Error                 CSI    00000003 (F) 80220013 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=19 (0x0013)] #2# from CUnattendDeserializer::ProcessDocument(...)[gle=0x80004005]
    2013-10-30 00:16:58, Error                 CSI    00000004 (F) 80220013 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=19 (0x0013)] #1# from CUnattendDeserializer::Deserialize(stream = @0x40acf60, engine = @0x4301af0, target = @0x4c792c0, results = NULL, resultCount = 0)[gle=0x80004005]
    2013-10-30 00:16:58, Error                 DISM   DISM Smi Provider: PID=1264 Error deserializing SMI settings. - CSmiWrapper::ApplySettings(hr:0x80220013)
    2013-10-30 00:16:58, Error                 DISM   DISM Smi Provider: PID=1264 d:\w7rtm\base\ntsetup\opktools\dism\providers\smiprovider\dll\smimanager.cpp:166 - CSmiManager::Apply(hr:0x80220013)
    2013-10-30 00:16:58, Error                 DISM   DISM Unattend Manager: PID=1264 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:400 - CUnattendManager::Apply(hr:0x80220013)
    2013-10-30 00:16:58, Error                 DISM   DISM Unattend Manager: PID=1264 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:654 - CUnattendManager::InternalExecuteCmdLine(hr:0x80220013)
    2013-10-30 00:16:58, Error                 DISM   DISM Unattend Manager: PID=1264 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:603 - CUnattendManager::ExecuteCmdLine(hr:0x80220013)
    2013-10-30 00:16:58, Error                 DISM   DISM.EXE: DISM Unattend Manager processed the command line but failed. HRESULT=80220013

    I noticed that it never seems to happen if I don't enable/disable features with the unattended.xml

    unattended.xml that has the problem:

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <servicing>
            <package action="configure">
                <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7601.17514" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
                <selection name="TelnetClient" state="true" />
                <selection name="TFTP" state="true" />
                <selection name="FaxServicesClientPackage" state="false" />
                <selection name="MediaCenter" state="false" />
                <selection name="OpticalMediaDisc" state="false" />
            </package>
        </servicing>
        <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">
                <ImageInstall>
                    <OSImage>
                        <WillShowUI>OnError</WillShowUI>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                        <InstallFrom>
                            <Path>.\Operating Systems\Windows 7 Pro x64 SP1\Sources\install.wim</Path>
                            <MetaData>
                                <Key>/IMAGE/INDEX</Key>
                                <Value>1</Value>
                            </MetaData>
                        </InstallFrom>
                    </OSImage>
                </ImageInstall>
                <Display>
                    <ColorDepth>16</ColorDepth>
                    <HorizontalResolution>1024</HorizontalResolution>
                    <RefreshRate>60</RefreshRate>
                    <VerticalResolution>768</VerticalResolution>
                </Display>
                <ComplianceCheck>
                    <DisplayReport>OnError</DisplayReport>
                </ComplianceCheck>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <ProductKey>
                        <Key></Key>
                    </ProductKey>
                </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">
                <SetupUILanguage>
                    <UILanguage>en-US</UILanguage>
                </SetupUILanguage>
                <InputLocale>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </component>
        </settings>
        <settings pass="generalize">
            <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>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <Identification>
                    <Credentials>
                        <Username></Username>
                        <Domain></Domain>
                        <Password></Password>
                    </Credentials>
                    <JoinDomain></JoinDomain>
                    <JoinWorkgroup></JoinWorkgroup>
                    <MachineObjectOU></MachineObjectOU>
                </Identification>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <ComputerName></ComputerName>
                <ProductKey></ProductKey>
                <RegisteredOrganization>Inc.</RegisteredOrganization>
                <RegisteredOwner>Desktop</RegisteredOwner>
                <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
                <TimeZone>Pacific Standard Time</TimeZone>
            </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">
                <Home_Page>about:blank</Home_Page>
                <DisableWelcomePage>true</DisableWelcomePage>
                <DisableFirstRunWizard>false</DisableFirstRunWizard>
            </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">
                        <Description>EnableAdmin</Description>
                        <Order>1</Order>
                        <Path>cmd /c net user Administrator /active:yes</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Description>UnfilterAdministratorToken</Description>
                        <Order>2</Order>
                        <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Description>disable user account page</Description>
                        <Order>3</Order>
                        <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
            <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>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </component>
            <component name="Microsoft-Windows-TapiSetup" 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">
                <TapiConfigured>0</TapiConfigured>
                <TapiUnattendLocation>
                    <AreaCode>""</AreaCode>
                    <CountryOrRegion>1</CountryOrRegion>
                    <LongDistanceAccess>9</LongDistanceAccess>
                    <OutsideAccess>9</OutsideAccess>
                    <PulseOrToneDialing>1</PulseOrToneDialing>
                    <DisableCallWaiting>""</DisableCallWaiting>
                    <InternationalCarrierCode>""</InternationalCarrierCode>
                    <LongDistanceCarrierCode>""</LongDistanceCarrierCode>
                    <Name>Default</Name>
                </TapiUnattendLocation>
            </component>
            <component name="Microsoft-Windows-SystemRestore-Main" 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">
                <DisableSR>1</DisableSR>
            </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">
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>UABAAHMAcwB3AG8AcgBkAD0ANwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <AutoLogon>
                    <Enabled>true</Enabled>
                    <Username>Administrator</Username>
                    <Domain>.</Domain>
                    <Password>
                        <Value>UABAAHMAcwB3AG8AcgBkAD0ANwBQAGEAcwBzAHcAbwByAGQA</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <LogonCount>999</LogonCount>
                </AutoLogon>
                <Display>
                    <ColorDepth>32</ColorDepth>
                    <HorizontalResolution>1024</HorizontalResolution>
                    <RefreshRate>60</RefreshRate>
                    <VerticalResolution>768</VerticalResolution>
                </Display>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
                        <Description>Lite Touch new OS</Description>
                        <Order>1</Order>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <RegisteredOrganization>Inc.</RegisteredOrganization>
                <RegisteredOwner>Desktop</RegisteredOwner>
                <TimeZone></TimeZone>
            </component>
            <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>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </component>
        </settings>
        <settings pass="offlineServicing">
            <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
                <DriverPaths>
                    <PathAndCredentials wcm:keyValue="1" wcm:action="add">
                        <Path>\Drivers</Path>
                    </PathAndCredentials>
                </DriverPaths>
            </component>
        </settings>
    </unattend>

    unattended.xml that is problem-free:

    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <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">
                <ImageInstall>
                    <OSImage>
                        <WillShowUI>OnError</WillShowUI>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                        <InstallFrom>
                            <Path>.\Operating Systems\Windows 7 Pro x64 SP1\Sources\install.wim</Path>
                            <MetaData>
                                <Key>/IMAGE/INDEX</Key>
                                <Value>1</Value>
                            </MetaData>
                        </InstallFrom>
                    </OSImage>
                </ImageInstall>
                <Display>
                    <ColorDepth>16</ColorDepth>
                    <HorizontalResolution>1024</HorizontalResolution>
                    <RefreshRate>60</RefreshRate>
                    <VerticalResolution>768</VerticalResolution>
                </Display>
                <ComplianceCheck>
                    <DisplayReport>OnError</DisplayReport>
                </ComplianceCheck>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                    <ProductKey>
                        <Key></Key>
                    </ProductKey>
                </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">
                <SetupUILanguage>
                    <UILanguage>en-US</UILanguage>
                </SetupUILanguage>
                <InputLocale>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </component>
        </settings>
        <settings pass="generalize">
            <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>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <Identification>
                    <Credentials>
                        <Username></Username>
                        <Domain></Domain>
                        <Password></Password>
                    </Credentials>
                    <JoinDomain></JoinDomain>
                    <JoinWorkgroup></JoinWorkgroup>
                    <MachineObjectOU></MachineObjectOU>
                </Identification>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
                <ComputerName></ComputerName>
                <ProductKey></ProductKey>
                <RegisteredOrganization>Inc.</RegisteredOrganization>
                <RegisteredOwner>Desktop</RegisteredOwner>
                <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
                <TimeZone>Pacific Standard Time</TimeZone>
            </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">
                <Home_Page>about:blank</Home_Page>
                <DisableWelcomePage>true</DisableWelcomePage>
                <DisableFirstRunWizard>false</DisableFirstRunWizard>
            </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">
                        <Description>EnableAdmin</Description>
                        <Order>1</Order>
                        <Path>cmd /c net user Administrator /active:yes</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Description>UnfilterAdministratorToken</Description>
                        <Order>2</Order>
                        <Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Description>disable user account page</Description>
                        <Order>3</Order>
                        <Path>reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE /v UnattendCreatedUser /t REG_DWORD /d 1 /f</Path>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
            <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>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </component>
            <component name="Microsoft-Windows-TapiSetup" 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">
                <TapiConfigured>0</TapiConfigured>
                <TapiUnattendLocation>
                    <AreaCode>""</AreaCode>
                    <CountryOrRegion>1</CountryOrRegion>
                    <LongDistanceAccess>9</LongDistanceAccess>
                    <OutsideAccess>9</OutsideAccess>
                    <PulseOrToneDialing>1</PulseOrToneDialing>
                    <DisableCallWaiting>""</DisableCallWaiting>
                    <InternationalCarrierCode>""</InternationalCarrierCode>
                    <LongDistanceCarrierCode>""</LongDistanceCarrierCode>
                    <Name>Default</Name>
                </TapiUnattendLocation>
            </component>
            <component name="Microsoft-Windows-SystemRestore-Main" 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">
                <DisableSR>1</DisableSR>
            </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">
                <UserAccounts>
                    <AdministratorPassword>
                        <Value>UABAAHMAcwB3AG8AcgBkAD0ANwBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <AutoLogon>
                    <Enabled>true</Enabled>
                    <Username>Administrator</Username>
                    <Domain>.</Domain>
                    <Password>
                        <Value>UABAAHMAcwB3AG8AcgBkAD0ANwBQAGEAcwBzAHcAbwByAGQA</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <LogonCount>999</LogonCount>
                </AutoLogon>
                <Display>
                    <ColorDepth>32</ColorDepth>
                    <HorizontalResolution>1024</HorizontalResolution>
                    <RefreshRate>60</RefreshRate>
                    <VerticalResolution>768</VerticalResolution>
                </Display>
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
                        <Description>Lite Touch new OS</Description>
                        <Order>1</Order>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <NetworkLocation>Work</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
                <RegisteredOrganization>Inc.</RegisteredOrganization>
                <RegisteredOwner>Desktop</RegisteredOwner>
                <TimeZone></TimeZone>
            </component>
            <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>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </component>
        </settings>
        <settings pass="offlineServicing">
            <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">
                <DriverPaths>
                    <PathAndCredentials wcm:keyValue="1" wcm:action="add">
                        <Path>\Drivers</Path>
                    </PathAndCredentials>
                </DriverPaths>
            </component>
        </settings>
    </unattend>
    Please help!

    • Edited by Tony MCP Wednesday, October 30, 2013 5:51 AM
    Wednesday, October 30, 2013 4:59 AM

All replies

  • Above, my MDT folder was created new, but was customized.  I wanted to ensure that the problem was not related to my customizations.

    So...

    • I created a new share, and customized nothing.
    • Imported Windows 7 Pro x64 VLM OS.
    • Created a standard client task sequence.  Just accepted the defaults as much as possible.
    • I edited the task sequence's unattended.xml using SIM.  Added foundation package and enabled telnet client and tftp client.  Disabled media center, optical media disc, and fax services client.
    • I updated the deployment share.
    • Booted a VM off the boot ISO in the share.

    Same problem.

    Remove the foundation package from the unattended.xml, and no problem.

    I think it's a bug.  Maybe an incompatibility with dism 6.3 and wim 6.1?


    Reminder:  This was not a problem with MDT 2010, 2012, or 2012 update 1 using WAIK or ADK Win8.

    The above test was done using MDT 2013 and ADK Win8.1 on Windows 7.


    • Edited by Tony MCP Wednesday, October 30, 2013 5:48 AM
    Wednesday, October 30, 2013 5:43 AM
  • Hi Tony,

    Have you progressed any further with this? i am currently having the same issue and wondered if you have heard anything or are you implementing a workaround for this in the meantime..

    Tuesday, November 12, 2013 7:47 PM
  • To be honest, I've never tried to modify the installer packages via unattend.xml.  And come to think of it, it appears that the /applyunattend switch may not understand how to install packages (might not know where the sxs folder is located ). What is confusing to me is how it *does* work 50% of the time.

    did you import the *full* sources or just the *.wim file?

    Here is a post in the configmgr group which suggests to perform the package management *online* http://social.technet.microsoft.com/Forums/systemcenter/en-US/42eb50b6-7059-431c-ae84-2e5753507a90/unattendxml-and-microsoftwindowsfoundationpackage


    Keith Garner - keithga.wordpress.com

    Thursday, November 14, 2013 3:32 AM
    Moderator
  • This thread has been basically ignored. It's my fault for providing too much, useless details.

    So, I created another thread in the MDT forum concerning this same problem.  The other thread contains a better, more concise description and provides detailed steps to reproduce the problem.  Hopefully, it will receive more attention than this thread.

    Please refer to this new thread for updates to this problem:

    DISM.EXE error while applying unattend.xml during LTI deployment with MDT 2013 - Reproducible bug


    -Tony


    • Edited by Tony MCP Friday, November 15, 2013 3:59 AM
    Friday, November 15, 2013 3:58 AM
  • Hi Tony,

    Have you progressed any further with this? i am currently having the same issue and wondered if you have heard anything or are you implementing a workaround for this in the meantime..

    Not really.  I've been busy with other projects, but I have created another question in the forums that describe exactly how to reproduce the problem.  Hopefully, someone at Microsoft will try the steps, discover, and fix the bug!

    As a workaround, I suspect that adding "Install Roles and Features" and/or  "Uninstall Roles and Features" task sequence items may provide similar functionality, but I haven't tried it.  However, this does not fix the bug.


    -Tony

    Friday, November 15, 2013 4:01 AM
  • To be honest, I've never tried to modify the installer packages via unattend.xml.  And come to think of it, it appears that the /applyunattend switch may not understand how to install packages (might not know where the sxs folder is located ). What is confusing to me is how it *does* work 50% of the time.

    did you import the *full* sources or just the *.wim file?

    Here is a post in the configmgr group which suggests to perform the package management *online* http://social.technet.microsoft.com/Forums/systemcenter/en-US/42eb50b6-7059-431c-ae84-2e5753507a90/unattendxml-and-microsoftwindowsfoundationpackage


    Keith Garner - keithga.wordpress.com

    Thanks for the reply Keith.

    I imported the full source, and I'm also not sure why it is not consistent with failure or success either.

    To narrow down the problem, I created a reproducible set of steps (for a possible future call to Microsoft support). Those steps are described in this thread.  When following the steps in the thread, the problem appeared every time.  I only tried it 6, or so, times though.

    The enabling/disabling of features via the unattend.xml is a supported and documented feature.  In fact, following the hyperlink in the solution of the thread you mentioned documents the process.


    -Tony

    Friday, November 15, 2013 4:13 AM
  • And come to think of it, it appears that the /applyunattend switch may not understand how to install packages (might not know where the sxs folder is located ).

    Oh, I forgot to mention...

    In my latest testing scenario, I am only removing features.  So, no access to sxs should be needed.


    -Tony

    Friday, November 15, 2013 6:04 AM
    • Marked as answer by Tony MCP Monday, November 18, 2013 11:43 PM
    • Unmarked as answer by Tony MCP Thursday, January 9, 2014 5:00 AM
    Monday, November 18, 2013 11:42 PM
  • A workaround has been posted in this thread:

    DISM.EXE error while applying unattend.xml during LTI deployment with MDT 2013 - Reproducible bug


    -Tony


    The workaround has been deemed unusable.  See other thread for details.

    -Tony

    Thursday, January 9, 2014 5:00 AM