none
wds-mdt-lti-error 5640 RRS feed

  • Question

  • I cannot deploy a captured image using wdt deployment share using lti method.

    error 5640 says The network path was not found.

    The path is real and accessible ----------------  net use K: \'\wds-rpm\reminst\

    I have a copy of the log file.

    What could be the issue here?????????????????

    #server 2012r2 #mdt 2012 #adk 8.0 #win 8.1   

    ###########################################################################

    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="08:08:34.213+000" date="03-12-2015" component="TSManager" context="" type="1" thread="1588" file="instruction.cxx:2957">
    <![LOG[Expand a string: WinPEandFullOS]LOG]!><time="08:08:34.213+000" date="03-12-2015" component="TSManager" context="" type="0" thread="1588" file="executionenv.cxx:782">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf"]LOG]!><time="08:08:34.213+000" date="03-12-2015" component="TSManager" context="" type="1" thread="1588" file="commandline.cpp:805">
    <![LOG[Process completed with exit code 5640]LOG]!><time="08:09:49.687+000" date="03-12-2015" component="TSManager" context="" type="1" thread="1588" file="commandline.cpp:1102">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="08:09:49.687+000" date="03-12-2015" component="TSManager" context="" type="1" thread="1588" file="instruction.cxx:3010">
    <![LOG[Failed to run the action: Install Operating System. 
    Unknown error (Error: 00001608; Source: Unknown)]LOG]!><time="08:09:49.701+000" date="03-12-2015" component="TSManager" context="" type="3" thread="1588" file="instruction.cxx:3101">
    <![LOG[Sending status message . . .]LOG]!><time="08:09:49.701+000" date="03-12-2015" component="TSManager" context="" type="1" thread="1588" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="08:09:49.701+000" date="03-12-2015" component="TSManager" context="" type="1" thread="1588" file="utility.cxx:302">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=5640]LOG]!><time="08:09:49.701+000" date="03-12-2015" component="TSManager" context="" type="0" thread="1588" file="executionenv.cxx:668">

    ###########################################################################

    Tuesday, March 10, 2015 4:03 AM

All replies

  • <![LOG[Process completed with exit code 5640]
    <![LOG[Failed to run the action: Install Operating System.

    This is different than a network path not found error. When are you getting the network path error?


    -Nick O.

    Tuesday, March 10, 2015 2:49 PM
  • Thanks for the reply Nick, i managed to solve the issue, but i don't have the exact method i used.

    WDS was a tricky one for me, the guides on the unattended file aren't great.

    For anyone's reference here is my completed work. 

    ______________________________________________________________

    WDSCLinetUnattend.xml

    <?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="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>en-us</InputLocale>
                <SystemLocale>en-us</SystemLocale>
                <UILanguage>en-us</UILanguage>
                <UILanguageFallback>en-us</UILanguageFallback>
                <UserLocale>en-us</UserLocale>
            </component>
            <component name="Microsoft-Windows-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">
                <WindowsDeploymentServices>
                    <Login>
                        <Credentials>
                            <Domain>rpmprojects.com.au</Domain>
                            <Password>Fred1234</Password>
                            <Username>administrator</Username>
                        </Credentials>
                    </Login>
                    <ImageSelection>
                        <InstallImage>
                            <Filename>B240-ST01-VHDX.vhdx</Filename>
                            <ImageName>B240-VHDX</ImageName>
                            <ImageGroup>DellT7610</ImageGroup>
                        </InstallImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>1</PartitionID>
                        </InstallTo>
                    </ImageSelection>
                </WindowsDeploymentServices>
                <DiskConfiguration>
                    <Disk wcm:action="add">
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Format>NTFS</Format>
                                <Label>Windows</Label>
                                <Letter>C</Letter>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Extend>true</Extend>
                                <Order>1</Order>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <DiskID>0</DiskID>
                        <WillWipeDisk>true</WillWipeDisk>
                    </Disk>
                </DiskConfiguration>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim://wds/DellT7610/B240-ST01-VHDX.vhdx#B240-VHDX" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    ______________________________________________________________

    ______________________________________________________________

    ImageUnattend.xml

    <?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\DellT7610\B240-ST01-VHDX.vhdx</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>
                <WindowsDeploymentServices>
                    <Login>
                        <Credentials>
                            <Domain>contoso.com</Domain>
                            <Password>Password</Password>
                            <Username>Administrator</Username>
                        </Credentials>
                    </Login>
                </WindowsDeploymentServices>
            </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>
                <RegisteredOwner>TafeNsw</RegisteredOwner>
            </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>0409:00000409</InputLocale>
                <SystemLocale>en-US</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UserLocale>en-US</UserLocale>
            </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">
                <OOBE>
                    <SkipMachineOOBE>true</SkipMachineOOBE>
                    <SkipUserOOBE>true</SkipUserOOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                </OOBE>
                <RegisteredOwner>ME</RegisteredOwner>
            </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>
        <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">
                <RegisteredOwner>ME</RegisteredOwner>
                <ComputerName>%MACHINENAME%</ComputerName>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim://wds/DellT7610/B240-ST01-VHDX.vhdx#B240-VHDX" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    ________________________________________________________________

    I hope this works for you as it took me about 48 hours to get this working...!

    Thursday, November 12, 2015 1:06 AM