4 Replies Latest reply on Sep 18, 2013 10:07 AM by dbarrett480

    Hanging during OSD

    Rookie

      I am trying to setup an image and have captured the image. I am having a hard time deploying it. It seems from the logs that it is hanging during the unattend.xml portion. Does anyone have any ideas?  I have attached the log file below.

       

       

      "Machine","CbaStatus","ExitCode","Duration","Begin","End","Command"

      "8851FB6EE1A0","OK",0,0:00:01,9/17/2013 4:42:37 PM,9/17/2013 4:42:38 PM,"WINPE, TIMEOUT=1800"

      "8851FB6EE1A0","OK",-2147024809,0:00:01,9/17/2013 4:42:39 PM,9/17/2013 4:42:40 PM,"diskpart /s X:\LDClient\rmvol.txt"

      "8851FB6EE1A0","OK",230227968,0:00:00,9/17/2013 4:42:41 PM,9/17/2013 4:42:41 PM,"ldrun drvmap.exe cypruscu\landesk 20CAB89CCF7D350225C159032AB10E75A845D641F77 I: """\\ldms.cypruscu.net\ldmain""", STATUS FACILITY=3513"

      "8851FB6EE1A0","OK",230227968,0:00:01,9/17/2013 4:42:42 PM,9/17/2013 4:42:43 PM,"ldrun drvmap.exe cypruscu\landesk 20CAB89CCF7D350225C159032AB10E75A845D641F77 H: """\\ldms.cypruscu.net\ldmain""", STATUS FACILITY=3513"

      "8851FB6EE1A0","OK",0,0:00:06,9/17/2013 4:42:44 PM,9/17/2013 4:42:50 PM,"ldrun sdclient /f /o /dest="X:\LDClient\LDPathExist.exe" /p="http://172.16.160.241/landesk/files/LDPathExist.exe" /disableclientqueue, STATUS"

      "8851FB6EE1A0","OK",0,0:00:00,9/17/2013 4:42:51 PM,9/17/2013 4:42:51 PM,"ldrun LDPathExist.exe """I:\ImageStore\HP 8200\LD8851FB6EE3EF.TBI""", STATUS"

      "8851FB6EE1A0","OK",0,0:00:00,9/17/2013 4:42:52 PM,9/17/2013 4:42:52 PM,"ldrun LDPathExist.exe """H:\osd\imagew 2\imagew_x64.exe""", STATUS"

      "8851FB6EE1A0","OK",0,0:00:02,9/17/2013 4:42:53 PM,9/17/2013 4:42:55 PM,"diskpart /s X:\LDClient\WIPECLEANDISK0.TXT"

      "8851FB6EE1A0","OK",-1,0:00:00,9/17/2013 4:42:56 PM,9/17/2013 4:42:56 PM,"ldrun h:\osd\IMAGEW~1\IMAGEW~1.EXE /r /o /d:0 /f:"""i:\IMAGES~1\HP8200~1\LD8851~1.TBI""" /rb:0"

      "8851FB6EE1A0","OK",0,0:00:06,9/17/2013 4:42:57 PM,9/17/2013 4:43:03 PM,"ldrun sdclient /f /o /dest="X:\LDClient\diskinfo.exe" /p="http://172.16.160.241/landesk/files/diskinfo.exe" /disableclientqueue, STATUS"

      "8851FB6EE1A0","OK",0,0:00:06,9/17/2013 4:43:04 PM,9/17/2013 4:43:10 PM,"ldrun sdclient /f /o /dest="X:\LDClient\assvol2.txt" /p="http://172.16.160.241/landesk/files/assvol.txt" /disableclientqueue, STATUS"

      "8851FB6EE1A0","OK",0,0:00:06,9/17/2013 4:43:11 PM,9/17/2013 4:43:17 PM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\RMVOLLETTER.TXT" /p="http://172.16.160.241/landesk/files/RMVOLLETTER.TXT" /disableclientqueue"

      "8851FB6EE1A0","OK",0,0:00:01,9/17/2013 4:43:18 PM,9/17/2013 4:43:19 PM,"ldrun tokreplw X:\LDClient\assvol2.txt partition=1"

      "8851FB6EE1A0","OK",-2147024809,0:00:00,9/17/2013 4:43:20 PM,9/17/2013 4:43:20 PM,"diskpart /s X:\LDClient\RMVOLLETTER.TXT"

      "8851FB6EE1A0","OK",-2147212265,0:00:00,9/17/2013 4:43:21 PM,9/17/2013 4:43:21 PM,"diskpart /s X:\LDClient\assvol2.txt"

      "8851FB6EE1A0","OK",0,0:00:06,9/17/2013 4:43:22 PM,9/17/2013 4:43:28 PM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\fixvista.bat" /p="http://172.16.160.241/landesk/files/FixVista.bat" /disableclientqueue"

      "8851FB6EE1A0","OK",0,0:00:08,9/17/2013 4:43:29 PM,9/17/2013 4:43:37 PM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\fixntfs.exe" /p="http://172.16.160.241/landesk/files/fixntfs.exe" /disableclientqueue"

      "8851FB6EE1A0","OK",0,0:00:06,9/17/2013 4:43:38 PM,9/17/2013 4:43:44 PM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\bcdedit.exe" /p="http://172.16.160.241/landesk/files/bcdedit.exe" /disableclientqueue"

      "8851FB6EE1A0","OK",0,0:00:07,9/17/2013 4:43:45 PM,9/17/2013 4:43:52 PM,"ldrun sdclient.exe /f /o /dest="x:\cba8\FixWindows.exe" /p="http://172.16.160.241/landesk/files/FixWindows.exe" /disableclientqueue"

      "8851FB6EE1A0","OK",1,0:00:01,9/17/2013 4:43:53 PM,9/17/2013 4:43:54 PM,"ldrun x:\cba8\FixWindows.exe 1"

      "8851FB6EE1A0","ERR_Fail",-1,0:00:06,9/17/2013 4:43:55 PM,9/17/2013 4:44:01 PM,"ldrun sdclient /f /o /dest="C:\unattend.xml" /p="http://172.16.160.241/landesk/files/HP%208300.xml" /disableclientqueue, STATUS"

      ; "Job Complete","0 Done","1 Failed","0 Off","0 Unknown"

        • 1. Re: Hanging during OSD
          Frank Wils ITSMMVPGroup

          Some commands are run multiple times... Can you also post your OSDscript? Also, what version LANDesk do you run?

           

           

          Frank

          • 2. Re: Hanging during OSD
            MrGadget Expert

            Unattend goes to C: (the OS partition) but C: is not always marked as the correct partitition. In other words somtimes the recovery partition gets marked as C: and the OS gets marked as D: in winpe

            • 3. Re: Hanging during OSD
              Rookie

              I am running 9.5sp1

               

              This is the ini portion of my osd script:

               

              [VALUES]

              Task=8

              ScriptName=HP 8300

              ScriptDescription=Win7

              MCast=0

              FallBackNIC=

              UseFallBackNIC=FALSE

              ImageUserName=landesk

              ImageDomain=cypruscu

              ImagePassword=20CAB89CCF7D350225C159032AB10E75A845D641F77

              ImageToolType=11

              ImageUNC=\\ldms\ldmain\ImageStore\HP 8200\LD8851FB6EE3EF.TBI

              ToolUNC=\\ldms\ldmain\osd\imagew 2\imagew_x64.exe

              Partition=1

              ImageToolCmd=h:\osd\IMAGEW~1\IMAGEW~1.EXE /r /o /d:0 /f:"""i:\IMAGES~1\HP8200~1\LD8851~1.TBI""" /rb:0

              ImageToolCmdsFile=\\LDMS\LDMAIN\LANDESK\FILES\HP 8300.txt

              IsSysPrepImage=1

              IsVistaSysPrep=1

              UseExistingSysPrep=0

              ExistingSysPrepFile=

              SysPrepFile=\\LDMS\LDMAIN\LANDESK\FILES\HP 8300.xml

              RemoteSysPrepCopyPath=c:\unattend.xml

              SysPrepTargetedType=8

              UseInventoryName=1

              ComputerNameTemplate=LD$MAC

              ComputerNameStartNumber=0

              ClientInstallDomain=cypruscu

              ClientInstallUsername=landesk

              ClientInstallPassword=20CAB89CCF7D350225C159032AB10E75A845D641F77

              ClientInstallUNC=\\ldms\ldlogon

              ConfigProcessors=0

              ImageHWType=0

              ImageOSType=0

              ImageProcessorType=0

              RemoteProcessorPath=%windir%\inf\hal.inf

              ConfigAdvancedMCast=0

              UseWOL=FALSE

              WOLSeconds=120

              DiscoveryType=0

              MaxTMCThreads=5

              MinTMCSleep=1

              MaxTMCSleep=200

              BANDWIDTH_WAN=100

              BANDWIDTH_LAN=100

              SubrepTTL=14

              TargetTTL=2

              [OWNER]

              GUID=920ac539-7bfb-41f5-8a58-5e9cbbc2cff1

              OSDPLUG=TRUE

              DESCRIPTION=Win7

              NAME=HP 8300

              TYPE=WinPE

              [JOBPARAM]

              ABORT_ON_CMD_FAILURE=1

              TASK_COMPLETION_ENABLED=FALSE

              AUTOCOMPUTERNAME=LD$MAC

              AUTOCOMPUTERNAMESTARTNUMBER=0

              [MACHINES]

              REMEXEC0=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/bootfile.exe" /disableclientqueue

              REMEXEC1=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tlibr16.dll" /disableclientqueue

              REMEXEC2=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tlibr32.dll" /disableclientqueue

              REMEXEC3=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/lddefrag.exe" /disableclientqueue

              REMEXEC4=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/cicfgmgr.vxd" /disableclientqueue

              REMEXEC5=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/cindis.vxd" /disableclientqueue

              REMEXEC6=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/copyfile.exe" /disableclientqueue

              REMEXEC7=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/tokreplw.exe" /disableclientqueue

              REMEXEC8=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/boot.img" /disableclientqueue

              REMEXEC9=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/vboot/ChangeBCD.exe" /disableclientqueue

              REMEXEC10=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /dest="%LDMS_CLIENT_DIR%\BCD" /p="http://%CUSTJOBHOSTIP%/landesk/vboot/BCD.dat" /disableclientqueue

              REMEXEC11=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /p="http://%CUSTJOBHOSTIP%/landesk/files/bcdedit.exe" /disableclientqueue

              REMEXEC12=<qt/>%LDMS_CLIENT_DIR%\ChangeBCD<qt/> <qt/>%LDMS_CLIENT_DIR%\bcdedit.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\BCD<qt/>

              REMEXEC13=<qt/>%LDMS_CLIENT_DIR%\sdclient.exe<qt/> /f /o /dest="C:\boot.wim" /p="http://%CUSTJOBHOSTIP%/landesk/vboot/boot.wim" /disableclientqueue

              REMEXEC14=<qt/>%LDMS_CLIENT_DIR%\copyfile.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/> <qt/>%LDMS_CLIENT_DIR%\BCD<qt/> \boot\BCD

              REMEXEC15=<qt/>%LDMS_CLIENT_DIR%\lddefrag.exe<qt/> <qt/>%LDMS_CLIENT_DIR%\boot.img<qt/>, STATUS

              REMEXEC16=<qt/>%LDMS_CLIENT_DIR%\bootfile.exe<qt/> %LDMS_CLIENT_DIR%\boot.img /keep /bootunsafe, ASYNC

              BEGINWINPE=TRUE

              REMPING17=WINPE, TIMEOUT=1800

              REMEXEC18=diskpart /s X:\LDClient\rmvol.txt

              REMEXEC19=ldrun drvmap.exe cypruscu\landesk 20CAB89CCF7D350225C159032AB10E75A845D641F77 I: """\\ldms.cypruscu.net\ldmain""", STATUS FACILITY=3513

              REMEXEC20=ldrun drvmap.exe cypruscu\landesk 20CAB89CCF7D350225C159032AB10E75A845D641F77 H: """\\ldms.cypruscu.net\ldmain""", STATUS FACILITY=3513

              REMEXEC21=ldrun sdclient /f /o /dest="X:\LDClient\LDPathExist.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/LDPathExist.exe" /disableclientqueue, STATUS

              REMEXEC22=ldrun LDPathExist.exe """I:\ImageStore\HP 8200\LD8851FB6EE3EF.TBI""", STATUS

              REMEXEC23=ldrun LDPathExist.exe """H:\osd\imagew 2\imagew_x64.exe""", STATUS

              REMEXEC24=diskpart /s X:\LDClient\WIPECLEANDISK0.TXT

              REMEXEC25=ldrun h:\osd\IMAGEW~1\IMAGEW~1.EXE /r /o /d:0 /f:"""i:\IMAGES~1\HP8200~1\LD8851~1.TBI""" /rb:0

              REMEXEC26=ldrun sdclient /f /o /dest="X:\LDClient\diskinfo.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/diskinfo.exe" /disableclientqueue, STATUS

              REMEXEC27=ldrun sdclient /f /o /dest="X:\LDClient\assvol2.txt" /p="http://%CUSTJOBHOSTIP%/landesk/files/assvol.txt" /disableclientqueue, STATUS

              REMEXEC28=ldrun sdclient.exe /f /o /dest="x:\ldclient\RMVOLLETTER.TXT" /p="http://%CUSTJOBHOSTIP%/landesk/files/RMVOLLETTER.TXT" /disableclientqueue

              REMEXEC29=ldrun tokreplw X:\LDClient\assvol2.txt partition=1

              REMEXEC30=diskpart /s X:\LDClient\RMVOLLETTER.TXT

              REMEXEC31=diskpart /s X:\LDClient\assvol2.txt

              REMEXEC32=ldrun sdclient.exe /f /o /dest="x:\ldclient\fixvista.bat" /p="http://%CUSTJOBHOSTIP%/landesk/files/FixVista.bat" /disableclientqueue

              REMEXEC33=ldrun sdclient.exe /f /o /dest="x:\ldclient\fixntfs.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/fixntfs.exe" /disableclientqueue

              REMEXEC34=ldrun sdclient.exe /f /o /dest="x:\ldclient\bcdedit.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/bcdedit.exe" /disableclientqueue

              REMEXEC35=ldrun sdclient.exe /f /o /dest="x:\cba8\FixWindows.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/FixWindows.exe" /disableclientqueue

              REMEXEC36=ldrun x:\cba8\FixWindows.exe 1

              REMEXEC37=ldrun sdclient /f /o /dest="C:\unattend.xml" /p="http://%CUSTJOBHOSTIP%/landesk/files/HP%208300.xml" /disableclientqueue, STATUS

              REMEXEC38=ldrun sdclient /f /o /dest="C:\ldsleep.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/ldsleep.exe" /disableclientqueue, STATUS

              REMEXEC39=ldrun tokreplw C:\unattend.xml COMPUTERNAME=%Computer - Device Name%

              REMEXEC40=cmd /c copy /y X:\LDClient\guid.pds C:\LDISCAN.CFG

              REMEXEC41=ldrun tokreplw C:\LDISCAN.CFG DEVICEID=%Computer - Device ID%

              REMEXEC42=ldrun tokreplw C:\LDISCAN.CFG IMAGEPATH=\\ldms.cypruscu.net\ldmain\ImageStore\HP 8200\LD8851FB6EE3EF.TBI

              REMEXEC43=sdclient.exe /f /o /dest="x:\ldclient\FixUnattend.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/FixUnattend.exe" /attemptpref /disableclientqueue

              REMEXEC44=ldrun x:\ldclient\FixUnattend.exe

              REMEXEC45=ldrun diskinfo extend_last_partition

              REMEXEC46=ldrun sdclient.exe /f /o /dest="x:\ldclient\HIIClient.exe" /p="http://%CUSTJOBHOSTIP%/landesk/files/HIIClient.exe" /disableclientqueue

              REMEXEC47=ldrun /qt HIIClient /uncpath

              REMEXEC48=ldrun reboot, timeout=2

              • 4. Re: Hanging during OSD
                Rookie

                This is the xml portion:

                 

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

                <unattend>

                  <settings pass="auditSystem">

                    <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">

                      <DriverPaths>

                        <PathAndCredentials wcm:keyValue="1" wcm:action="add">

                          <Path>c:\windows\LDDriverStore</Path>

                        </PathAndCredentials>

                      </DriverPaths>

                    </component>

                    <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                      <UserAccounts>

                        <AdministratorPassword>

                          <PlainText>true</PlainText>

                          <Value></Value>

                        </AdministratorPassword>

                      </UserAccounts>

                      <AutoLogon>

                        <Enabled>true</Enabled>

                        <Username>Administrator</Username>

                        <Password>

                          <PlainText>true</PlainText>

                          <Value></Value>

                        </Password>

                        <LogonCount>1</LogonCount>

                      </AutoLogon>

                    </component>

                  </settings>

                  <settings pass="auditUser">

                    <component name="Microsoft-Windows-Deployment" 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">

                      <RunSynchronous>

                        <RunSynchronousCommand wcm:action="add">

                          <Order>1</Order>

                          <Path>c:\windows\System32\sysprep\sysprep.exe /oobe /generalize /reboot </Path>

                        </RunSynchronousCommand>

                      </RunSynchronous>

                    </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">

                      <PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>

                    </component>

                  </settings>

                  <settings pass="oobeSystem">

                    <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                      <OOBE>

                        <HideEULAPage>true</HideEULAPage>

                        <ProtectYourPC>1</ProtectYourPC>

                        <SkipMachineOOBE>true</SkipMachineOOBE>

                        <SkipUserOOBE>true</SkipUserOOBE>

                      </OOBE>

                      <ProductKey></ProductKey>

                      <RegisteredOwner></RegisteredOwner>

                      <RegisteredOrganization></RegisteredOrganization>

                      <TimeZone>Mountain Standard Time</TimeZone>

                      <UserAccounts>

                        <AdministratorPassword>

                          <PlainText>true</PlainText>

                          <Value></Value>

                        </AdministratorPassword>

                      </UserAccounts>

                      <AutoLogon>

                        <Enabled>true</Enabled>

                        <Username>Administrator</Username>

                        <Password>

                          <PlainText>true</PlainText>

                          <Value></Value>

                        </Password>

                        <LogonCount>1</LogonCount>

                      </AutoLogon>

                      <FirstLogonCommands>

                        <SynchronousCommand>

                          <CommandLine>c:\ldsleep.exe 30</CommandLine>

                          <Description></Description>

                          <Order>1</Order>

                        </SynchronousCommand>

                        <SynchronousCommand>

                          <CommandLine>cmd /q /c del /q c:\ldsleep.exe</CommandLine>

                          <Description></Description>

                          <Order>2</Order>

                        </SynchronousCommand>

                        <SynchronousCommand>

                          <CommandLine>cmd /q /c del /q c:\unattend.xml</CommandLine>

                          <Description></Description>

                          <Order>3</Order>

                        </SynchronousCommand>

                        <SynchronousCommand>

                          <CommandLine>net use \\ldms\ldlogon [email protected]^D3sk$3V3r /u:cypruscu\landesk</CommandLine>

                          <Description></Description>

                          <Order>4</Order>

                        </SynchronousCommand>

                        <SynchronousCommand>

                          <CommandLine>cmd /q /c \\ldms\ldlogon\wscfg32.exe /F /L /STATUS /NOREBOOT</CommandLine>

                          <Description></Description>

                          <Order>5</Order>

                        </SynchronousCommand>

                        <SynchronousCommand>

                          <CommandLine>cmd /q /c del /q c:\ldiscan.cfg</CommandLine>

                          <Description></Description>

                          <Order>6</Order>

                        </SynchronousCommand>

                      </FirstLogonCommands>

                    </component>

                  </settings>

                  <settings pass="specialize">

                    <component name="Microsoft-Windows-Shell-Setup" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                      <ComputerName>%COMPUTERNAME%</ComputerName>

                    </component>

                    <component name="Microsoft-Windows-UnattendedJoin" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" processorArchitecture="x86">

                      <Identification>

                        <Credentials>

                          <Domain></Domain>

                          <Username></Username>

                          <Password></Password>

                        </Credentials>

                        <JoinWorkgroup>WORKGROUP</JoinWorkgroup>

                      </Identification>

                    </component>

                  </settings>

                </unattend>