1 Reply Latest reply on Sep 3, 2010 9:18 AM by JDarrah

    1 site out of 30 is unable to reimage.

    Apprentice

      Hello,

       

      We have 1 site out of about 30 that is unable to reimage.  It's pertinent to note that this site frequently has network issues.  All sites have the same setup as far as OSD is concerned.  We are using LANDesk 8.8 SP1.  The log says:

       

      "Machine","CbaStatus","ExitCode","Duration","Begin","End","Command"
      "<mac address>","CBA_ERROR:-1917761385",-1917761385,0:30:01,7/23/2010 2:36:08 PM,7/23/2010 3:06:09 PM,"WINPE, TIMEOUT=1800"
      ; "Job Complete","0 Done","1 Failed","0 Off","0 Unknown"

       

      I had the local admin ping our core by dns name successfully via Go>New Console.  I recreated the script via this article's suggestion:

       

      http://community.landesk.com/support/message/16649

       

      Same result.  I deleted the inventory record of the IP from the console.  Same result.  I repushed the PXE rep to the site.  Same result.  I REM'd out the failing line above and got the following log:

       

      "Machine","CbaStatus","ExitCode","Duration","Begin","End","Command"
      "<mac address>","OK",230227968,0:00:08,8/3/2010 12:15:59 PM,8/3/2010 12:16:07 PM,"drvmap.exe <domain>\<account> 20CB3222392BBC82659C41149C18EAEF6237968637B I: <qt/>\\<local server>\image<qt/>, STATUS FACILITY=3513"
      "<mac address>","OK",230227968,0:00:02,8/3/2010 12:16:07 PM,8/3/2010 12:16:09 PM,"drvmap.exe <domain>\<account> 20CB3222392BBC82659C41149C18EAEF6237968637B H: <qt/>\\<core server>\ldmain<qt/>, STATUS FACILITY=3513"
      "<mac address>","OK",0,0:00:15,8/3/2010 12:16:09 PM,8/3/2010 12:16:24 PM,"SLEEP"
      "<mac address>","OK",0,0:00:01,8/3/2010 12:16:24 PM,8/3/2010 12:16:25 PM,"diskpart /s X:\LDClient\wipeDisk0.txt"
      "<mac address>","OK",0,0:00:15,8/3/2010 12:16:25 PM,8/3/2010 12:16:40 PM,"SLEEP"
      "<mac address>","OK",230031360,0:00:22,8/3/2010 12:16:40 PM,8/3/2010 12:17:02 PM,"RunBatch -1 i:\tools imagew.exe /RNX /O i:\Prod\CoreImag.IMG, STATUS FACILITY=3510, SYNC"
      "<mac address>","OK",0,0:00:15,8/3/2010 12:17:02 PM,8/3/2010 12:17:17 PM,"SLEEP"
      "<mac address>","OK",0,0:00:01,8/3/2010 12:17:17 PM,8/3/2010 12:17:18 PM,"diskpart /s X:\LDClient\assvol.txt"
      "<mac address>","OK",0,0:00:15,8/3/2010 12:17:18 PM,8/3/2010 12:17:33 PM,"SLEEP"
      "<mac address>","OK",1,0:00:01,8/3/2010 12:17:33 PM,8/3/2010 12:17:34 PM,"cmd /c copy /y "H:\landesk\files\<sysprep>.inf" "C:\sysprep\sysprep.inf""
      "<mac address>","OK",1,0:00:00,8/3/2010 12:17:34 PM,8/3/2010 12:17:34 PM,"cmd /c copy /y "H:\landesk\files\ldsleep.exe" "C:\ldsleep.exe""
      "<mac address>","OK",0,0:00:01,8/3/2010 12:17:34 PM,8/3/2010 12:17:35 PM,"tokreplw C:\sysprep\sysprep.inf COMPUTERNAME=<site+servicetag+D>"
      "<mac address>","OK",0,0:00:05,8/3/2010 12:17:35 PM,8/3/2010 12:17:40 PM,"cscript X:\LDCLIENT\Haldetect.vbs"
      "<mac address>","OK",1,0:00:01,8/3/2010 12:17:40 PM,8/3/2010 12:17:41 PM,"cmd /c copy /y X:\LDClient\guid.pds C:\LDISCAN.CFG"
      "<mac address>","OK",0,0:00:00,8/3/2010 12:17:41 PM,8/3/2010 12:17:41 PM,"tokreplw C:\LDISCAN.CFG DEVICEID="
      "<mac address>","OK",0,0:00:01,8/3/2010 12:17:41 PM,8/3/2010 12:17:42 PM,"tokreplw C:\LDISCAN.CFG IMAGEPATH=\\<server>\<path>\<filename>.IMG"
      "<mac address>","OK",1,0:00:00,8/3/2010 12:17:42 PM,8/3/2010 12:17:42 PM,"cmd /c copy /y i:\tools\5400\32bit\iaStor.inf c:\windows\inf\iaStor.inf"
      "<mac address>","OK",1,0:00:01,8/3/2010 12:17:42 PM,8/3/2010 12:17:43 PM,"cmd /c copy /y i:\tools\5400\32bit\iaStor.sys c:\windows\system32\drivers\iaStor.sys"
      "<mac address>","OK",1,0:00:00,8/3/2010 12:17:43 PM,8/3/2010 12:17:43 PM,"reg load HKLM\System1 C:\windows\system32\config\system"
      "<mac address>","OK",1,0:00:00,8/3/2010 12:17:43 PM,8/3/2010 12:17:43 PM,"reg import i:\tools\E6500\1.reg"
      "<mac address>","OK",1,0:00:01,8/3/2010 12:17:43 PM,8/3/2010 12:17:44 PM,"reg unload HKLM\System1"
      "<mac address>","OK",16,0:00:00,8/3/2010 12:17:44 PM,8/3/2010 12:17:44 PM,"cmd /c I:\tools\robocopy I:\drivers c:\drivers /E /NP /NC /NS /TEE /LOG:"C:\Drivers\Robocopy.log""
      "<mac address>","OK",1,0:00:00,8/3/2010 12:17:44 PM,8/3/2010 12:17:44 PM,"reg load HKLM\Software1 C:\Windows\system32\config\software"
      "<mac address>","OK",1,0:00:06,8/3/2010 12:17:44 PM,8/3/2010 12:17:50 PM,"x:\ldclient\ldprep /c /reg=Software1 /path=c:\drivers"
      "<mac address>","OK",-2147481750,0:00:06,8/3/2010 12:17:50 PM,8/3/2010 12:17:56 PM,"reboot, timeout=2"
      ; "Job Complete","1 Done","0 Failed","0 Off","0 Unknown"

       

      Note the bold line - the actual reimage was only 22 seconds.  Same result over and over again.  I verified the image files are good at this location.  I'm going to have the local admin manually map the drives, run the WipeDisk line, then kick off the reimage and see what happens.

       

      Any ideas?

       

      Thanks,

      Jason

        • 1. Re: 1 site out of 30 is unable to reimage.
          Apprentice

          When I said I validated the image files were good, I should have specified that the Robocopy log files said the copy succeeded and the files looked good on the server, as far as file size, date modified/created/accessed.  When using imagew.exe to run a Validate on the image files, it returned "Image Stream is Corrput".  I copied the image files to the server again and Robocopy "succeeded", but I still got "Image Stream is Corrupt".  I copied the image files to a desktop at that site and that ended up fixing it.

           

          Anyone know of a better copying tool than Robocopy?

           

          In the meantime, we'll add in something like this is our Robocopy batch files to ensure the image files are good after the Robocopy:

           

          @echo off

          \\%computername%\image\tools\imagew /V \\%computername%\image\prod\<imagefilename>

          echo %computername% Errorlevel %errorlevel% >> \\<coreserverlogfilelocation>\ValidateErrorLevel.txt

           

          I still haven't gotten it to work if validation fails.  It will just hang and not exit.