10 Replies Latest reply on Oct 11, 2012 9:31 AM by diamond121

    Newbie to Win 7 Deployment with LANDESK

    Rookie

      Hi Guys

       

      i was hoping there was a structured document on how to deploy a win7 Image using Imagex and OSD Script.

       

      I have captured my image but when attempting to deploy imagex deploys the image creates the partition C:\ but as soon as it seem fixwindows.exe runs then the c:\ partition goes missing and therefore unable to boot.  I'm hoping am doing it the right way but would be grateful if there was a strucutred guide for a newbie.

       

      My Log file created after the image is deploy is below, the machine does not then reboot from WINPE and stays sitting with no other actions.

       

       

       

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

      "180373266D2D","OK",0,0:00:00,8/29/2012 10:16:19 AM,8/29/2012 10:16:19 AM,"WINPE, TIMEOUT=1800"

      "180373266D2D","OK",5,0:00:01,8/29/2012 10:16:20 AM,8/29/2012 10:16:21 AM,"diskpart /s X:\LDClient\rmvol.txt"

      "180373266D2D","OK",230227968,0:00:00,8/29/2012 10:16:22 AM,8/29/2012 10:16:22 AM,"ldrun drvmap.exe hq_nt\_LANdesk 20A1C0F400E41BAA0391BCFE84866C8F5781D6B7223 I: """\\***SRV***.********server.co.uk\images""", STATUS FACILITY=3513"

      "180373266D2D","OK",230227968,0:00:01,8/29/2012 10:16:23 AM,8/29/2012 10:16:24 AM,"ldrun drvmap.exe hq_nt\_LANdesk 20A1C0F400E41BAA0391BCFE84866C8F5781D6B7223 H: """\\***core***.********server.co.uk\softwaredistribution""", STATUS FACILITY=3513"

      "180373266D2D","OK",0,0:00:02,8/29/2012 10:16:25 AM,8/29/2012 10:16:27 AM,"ldrun sdclient /f /o /dest="X:\LDClient\LDPathExist.exe" /p="http://***core***/landesk/files/LDPathExist.exe" /disableclientqueue, STATUS"

      "180373266D2D","OK",0,0:00:00,8/29/2012 10:16:28 AM,8/29/2012 10:16:28 AM,"ldrun LDPathExist.exe """I:\win7\win7x64.wim""", STATUS"

      "180373266D2D","OK",0,0:00:00,8/29/2012 10:16:29 AM,8/29/2012 10:16:29 AM,"ldrun LDPathExist.exe """H:\epos\imagex.exe""", STATUS"

      "180373266D2D","OK",0,0:00:06,8/29/2012 10:16:30 AM,8/29/2012 10:16:36 AM,"diskpart /s X:\LDClient\wipeDisk0.txt"

      "180373266D2D","OK",0,0:00:03,8/29/2012 10:16:37 AM,8/29/2012 10:16:40 AM,"cmd /c format /Y /FS:NTFS /Q /V:C-DRIVE c:"

      "180373266D2D","OK",230227968,0:23:58,8/29/2012 10:16:41 AM,8/29/2012 10:40:39 AM,"ldrun cmd /c RunBatch -1 h:\epos imagex.exe /apply i:\win7\win7x64.wim 1 C:, STATUS FACILITY=3513, SYNC"

      "180373266D2D","OK",0,0:00:02,8/29/2012 10:40:40 AM,8/29/2012 10:40:42 AM,"ldrun sdclient /f /o /dest="X:\LDClient\diskinfo.exe" /p="http://***core***/landesk/files/diskinfo.exe" /disableclientqueue, STATUS"

      "180373266D2D","OK",0,0:00:01,8/29/2012 10:40:43 AM,8/29/2012 10:40:44 AM,"ldrun sdclient /f /o /dest="X:\LDClient\assvol2.txt" /p="http://***core***/landesk/files/assvol.txt" /disableclientqueue, STATUS"

      "180373266D2D","OK",0,0:00:01,8/29/2012 10:40:46 AM,8/29/2012 10:40:47 AM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\RMVOLLETTER.TXT" /p="http://***core***/landesk/files/RMVOLLETTER.TXT" /disableclientqueue"

      "180373266D2D","OK",0,0:00:01,8/29/2012 10:40:48 AM,8/29/2012 10:40:49 AM,"ldrun tokreplw X:\LDClient\assvol2.txt partition=3"

      "180373266D2D","OK",5,0:00:29,8/29/2012 10:40:50 AM,8/29/2012 10:41:19 AM,"diskpart /s X:\LDClient\RMVOLLETTER.TXT"

      "180373266D2D","OK",2,0:00:08,8/29/2012 10:41:20 AM,8/29/2012 10:41:28 AM,"diskpart /s X:\LDClient\assvol2.txt"

      "180373266D2D","OK",0,0:00:01,8/29/2012 10:41:29 AM,8/29/2012 10:41:30 AM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\fixvista.bat" /p="http://***core***/landesk/files/FixVista.bat" /disableclientqueue"

      "180373266D2D","OK",0,0:00:02,8/29/2012 10:41:31 AM,8/29/2012 10:41:33 AM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\fixntfs.exe" /p="http://***core***/landesk/files/fixntfs.exe" /disableclientqueue"

      "180373266D2D","OK",0,0:00:02,8/29/2012 10:41:34 AM,8/29/2012 10:41:36 AM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\bcdedit.exe" /p="http://***core***/landesk/files/bcdedit.exe" /disableclientqueue"

      "180373266D2D","OK",0,0:00:02,8/29/2012 10:41:37 AM,8/29/2012 10:41:39 AM,"ldrun sdclient.exe /f /o /dest="x:\cba8\FixWindows.exe" /p="http://***core***/landesk/files/FixWindows.exe" /disableclientqueue"

      "180373266D2D","OK",1,0:00:01,8/29/2012 10:41:40 AM,8/29/2012 10:41:41 AM,"ldrun x:\cba8\FixWindows.exe 3"

      "180373266D2D","ERR_Fail",-1,0:00:01,8/29/2012 10:41:42 AM,8/29/2012 10:41:43 AM,"ldrun sdclient /f /o /dest="C:\unattend.xml" /p="http://***core***/landesk/files/Win%207%20x64.xml" /disableclientqueue, STATUS"

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

       

       

       

       

       

       

      My Advanced Edit is as below

       

       

       

       

      [VALUES]

      Task=8

      ScriptName=Deploy Win 7 x64

      ScriptDescription=Deploy Win 7 x64

      MCast=0

      FallBackNIC=

      UseFallBackNIC=FALSE

      ImageUserName=_LANdesk

      ImageDomain=hq_nt

      ImagePassword=20A1C0F400E41BAA0391BCFE84866C8F5781D6B7223

      ImageToolType=4

      ImageUNC=\\***SRV***\images\win7\win7x64.wim

      ToolUNC=\\***core***\softwaredistribution\epos\imagex.exe

      Partition=1

      ImageToolCmd=cmd /c RunBatch -1 h:\epos imagex.exe /apply i:\win7\win7x64.wim 1 C:, STATUS FACILITY=3513, SYNC

      ImageToolCmdsFile=\\***core***\LDMAIN\LANDESK\FILES\Deploy Win 7 x64.txt

      IsSysPrepImage=1

      IsVistaSysPrep=1

      UseExistingSysPrep=0

      ExistingSysPrepFile=

      SysPrepFile=\\***core***\LDMAIN\LANDESK\FILES\Deploy Win 7 x64.xml

      RemoteSysPrepCopyPath=c:\unattend.xml

      SysPrepTargetedType=8

      UseInventoryName=1

      ComputerNameTemplate=LD$MAC

      ComputerNameStartNumber=0

      ClientInstallDomain=hq_nt

      ClientInstallUsername=_LANdesk

      ClientInstallPassword=20A1C0F400E41BAA0391BCFE84866C8F5781D6B7223

      ClientInstallUNC=\\***core***\packages\LANDesk

      ConfigProcessors=0

      ImageHWType=0

      ImageOSType=0

      ImageProcessorType=0

      RemoteProcessorPath=%windir%\inf\hal.inf

      ConfigAdvancedMCast=0

      UseWOL=FALSE

      WOLSeconds=120

      DiscoveryType=0

      MaxTMCThreads=5

      MinTMCSleep=100

      MaxTMCSleep=200

      BANDWIDTH_WAN=100

      BANDWIDTH_LAN=100

      SubrepTTL=14

      TargetTTL=2

      [OWNER]

      GUID=42261229-bef2-4aa8-a146-a9f2a792995b

      OSDPLUG=TRUE

      DESCRIPTION=Deploy Win 7 x64

      NAME=Deploy Win 7 x64

      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 /p="http://%CUSTJOBHOSTIP%/landesk/vboot/BCD" /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 hq_nt\_LANdesk 20A1C0F400E41BAA0391BCFE84866C8F5781D6B7223 I: """\\***SRV***.********server.co.uk\images""", STATUS FACILITY=3513

      REMEXEC20=ldrun drvmap.exe hq_nt\_LANdesk 20A1C0F400E41BAA0391BCFE84866C8F5781D6B7223 H: """\\***core***.********server.co.uk\softwaredistribution""", 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:\win7\win7x64.wim""", STATUS

      REMEXEC23=ldrun LDPathExist.exe """H:\epos\imagex.exe""", STATUS

      REMEXEC24=diskpart /s X:\LDClient\wipeDisk0.txt

      REMEXEC25=cmd /c format /Y /FS:NTFS /Q /V:C-DRIVE c:

      REMEXEC26=ldrun cmd /c RunBatch -1 h:\epos imagex.exe /apply i:\win7\win7x64.wim 1 C:, STATUS FACILITY=3513, SYNC

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

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

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

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

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

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

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

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

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

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

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

      REMEXEC38=ldrun sdclient /f /o /dest="C:\unattend.xml" /p="http://%CUSTJOBHOSTIP%/landesk/files/Deploy%20Win%207%20x64.xml" /disableclientqueue, STATUS

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

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

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

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

      REMEXEC43=ldrun tokreplw C:\LDISCAN.CFG IMAGEPATH=\\***SRV***.********server.co.uk\images\win7\win7x64.wim

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

      REMEXEC45=ldrun x:\ldclient\FixUnattend.exe

      REMEXEC46=ldrun diskinfo extend_last_partition

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

      REMEXEC48=ldrun /qt HIIClient /uncpath

      REMEXEC49=ldrun reboot, timeout=2

        • 1. Re: Newbie to Win 7 Deployment with LANDESK
          MarXtar ITSMMVPGroup

          In your wizard for this script, play about with the partition number that is meant to be your boot partition. Depending on what you have you may have an OEM partition, a reserved partition etc. If it is 3, try 2.

           

          For beginner guides, take a look here:

           

          http://community.landesk.com/support/docs/DOC-23842

           

          Lots of docs about getting started with different modules.

           

          Mark McGinn

          MarXtar Ltd

          http://landesk.marxtar.co.uk

          LANDesk Silver ESP

           

          The One-Stop Shop for LANDesk Enhancements

          - Wake-On-WAN - Distributed Wake-On-LAN, Scheduled Power Down, and SWDist Sequencing

          - State Notifier - Real-Time Device & User State Inventory Updating & Alerting

          Update - WoW & State Notifier now integrate for even more functionality

          Update - State Notifier now detects machine and user Idle states

          • 2. Re: Newbie to Win 7 Deployment with LANDESK
            Rookie

            After removing HIIClient and only using Sysprep for imaging the machine reboots image deploys but then machine state is BOOTMGR is missing.

             

            New Log file

             

             

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

            "180373266D2D","OK",0,0:00:00,8/29/2012 11:59:41 AM,8/29/2012 11:59:41 AM,"WINPE, TIMEOUT=1800"

            "180373266D2D","OK",5,0:00:03,8/29/2012 11:59:42 AM,8/29/2012 11:59:45 AM,"diskpart /s X:\LDClient\rmvol.txt"

            "180373266D2D","OK",230227968,0:00:01,8/29/2012 11:59:46 AM,8/29/2012 11:59:47 AM,"ldrun drvmap.exe hq_nt\_LANdesk 20A1C0F400E41BAA0391BCFE84866C8F5781D6B7223 I: """\\hoap44.***SERVER***.co.uk\images""", STATUS FACILITY=3513"

            "180373266D2D","OK",230227968,0:00:00,8/29/2012 11:59:48 AM,8/29/2012 11:59:48 AM,"ldrun drvmap.exe hq_nt\_LANdesk 20A1C0F400E41BAA0391BCFE84866C8F5781D6B7223 H: """\\hoap50.***SERVER***.co.uk\softwaredistribution""", STATUS FACILITY=3513"

            "180373266D2D","OK",0,0:00:02,8/29/2012 11:59:49 AM,8/29/2012 11:59:51 AM,"ldrun sdclient /f /o /dest="X:\LDClient\LDPathExist.exe" /p="http://***CORE***/landesk/files/LDPathExist.exe" /disableclientqueue, STATUS"

            "180373266D2D","OK",0,0:00:01,8/29/2012 11:59:52 AM,8/29/2012 11:59:53 AM,"ldrun LDPathExist.exe """I:\win7\win7x64.wim""", STATUS"

            "180373266D2D","OK",0,0:00:00,8/29/2012 11:59:54 AM,8/29/2012 11:59:54 AM,"ldrun LDPathExist.exe """H:\epos\imagex.exe""", STATUS"

            "180373266D2D","OK",0,0:00:19,8/29/2012 11:59:55 AM,8/29/2012 12:00:14 PM,"diskpart /s X:\LDClient\wipeDisk0.txt"

            "180373266D2D","OK",0,0:00:03,8/29/2012 12:00:15 PM,8/29/2012 12:00:18 PM,"cmd /c format /Y /FS:NTFS /Q /V:C-DRIVE c:"

            "180373266D2D","OK",230227968,0:22:04,8/29/2012 12:00:19 PM,8/29/2012 12:22:23 PM,"ldrun cmd /c RunBatch -1 h:\epos imagex.exe /apply i:\win7\win7x64.wim 1 C:, STATUS FACILITY=3513, SYNC"

            "180373266D2D","OK",0,0:00:02,8/29/2012 12:22:24 PM,8/29/2012 12:22:26 PM,"ldrun sdclient /f /o /dest="X:\LDClient\diskinfo.exe" /p="http://***CORE***/landesk/files/diskinfo.exe" /disableclientqueue, STATUS"

            "180373266D2D","OK",0,0:00:02,8/29/2012 12:22:27 PM,8/29/2012 12:22:29 PM,"ldrun sdclient /f /o /dest="X:\LDClient\assvol2.txt" /p="http://***CORE***/landesk/files/assvol.txt" /disableclientqueue, STATUS"

            "180373266D2D","OK",0,0:00:02,8/29/2012 12:22:30 PM,8/29/2012 12:22:32 PM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\RMVOLLETTER.TXT" /p="http://***CORE***/landesk/files/RMVOLLETTER.TXT" /disableclientqueue"

            "180373266D2D","OK",0,0:00:00,8/29/2012 12:22:33 PM,8/29/2012 12:22:33 PM,"ldrun tokreplw X:\LDClient\assvol2.txt partition=1"

            "180373266D2D","OK",5,0:00:24,8/29/2012 12:22:34 PM,8/29/2012 12:22:58 PM,"diskpart /s X:\LDClient\RMVOLLETTER.TXT"

            "180373266D2D","OK",0,0:00:07,8/29/2012 12:22:59 PM,8/29/2012 12:23:06 PM,"diskpart /s X:\LDClient\assvol2.txt"

            "180373266D2D","OK",0,0:00:02,8/29/2012 12:23:07 PM,8/29/2012 12:23:09 PM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\fixvista.bat" /p="http://***CORE***/landesk/files/FixVista.bat" /disableclientqueue"

            "180373266D2D","OK",0,0:00:03,8/29/2012 12:23:10 PM,8/29/2012 12:23:13 PM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\fixntfs.exe" /p="http://***CORE***/landesk/files/fixntfs.exe" /disableclientqueue"

            "180373266D2D","OK",0,0:00:01,8/29/2012 12:23:14 PM,8/29/2012 12:23:15 PM,"ldrun sdclient.exe /f /o /dest="x:\ldclient\bcdedit.exe" /p="http://***CORE***/landesk/files/bcdedit.exe" /disableclientqueue"

            "180373266D2D","OK",0,0:00:01,8/29/2012 12:23:17 PM,8/29/2012 12:23:18 PM,"ldrun sdclient.exe /f /o /dest="x:\cba8\FixWindows.exe" /p="http://***CORE***/landesk/files/FixWindows.exe" /disableclientqueue"

            "180373266D2D","OK",1,0:00:01,8/29/2012 12:23:19 PM,8/29/2012 12:23:20 PM,"ldrun x:\cba8\FixWindows.exe 1"

            "180373266D2D","OK",0,0:00:02,8/29/2012 12:23:21 PM,8/29/2012 12:23:23 PM,"ldrun sdclient /f /o /dest="C:\unattend.xml" /p="http://***CORE***/landesk/files/Deploy%20Win%207%20x64.xml" /disableclientqueue, STATUS"

            "180373266D2D","OK",0,0:00:02,8/29/2012 12:23:24 PM,8/29/2012 12:23:26 PM,"ldrun sdclient /f /o /dest="C:\ldsleep.exe" /p="http://***CORE***/landesk/files/ldsleep.exe" /disableclientqueue, STATUS"

            "180373266D2D","OK",0,0:00:00,8/29/2012 12:23:27 PM,8/29/2012 12:23:27 PM,"ldrun tokreplw C:\unattend.xml COMPUTERNAME=LD180373266D2D"

            "180373266D2D","OK",0,0:00:00,8/29/2012 12:23:28 PM,8/29/2012 12:23:28 PM,"cmd /c copy /y X:\LDClient\guid.pds C:\LDISCAN.CFG"

            "180373266D2D","OK",0,0:00:01,8/29/2012 12:23:29 PM,8/29/2012 12:23:30 PM,"ldrun tokreplw C:\LDISCAN.CFG DEVICEID="

            "180373266D2D","OK",0,0:00:00,8/29/2012 12:23:31 PM,8/29/2012 12:23:31 PM,"ldrun tokreplw C:\LDISCAN.CFG IMAGEPATH=\\hoap44.***SERVER***.co.uk\images\win7\win7x64.wim"

            "180373266D2D","OK",0,0:00:02,8/29/2012 12:23:32 PM,8/29/2012 12:23:34 PM,"sdclient.exe /f /o /dest="x:\ldclient\FixUnattend.exe" /p="http://***CORE***/landesk/files/FixUnattend.exe" /attemptpref /disableclientqueue"

            "180373266D2D","OK",0,0:00:00,8/29/2012 12:23:35 PM,8/29/2012 12:23:35 PM,"ldrun x:\ldclient\FixUnattend.exe"

            "180373266D2D","OK",5,0:00:24,8/29/2012 12:23:36 PM,8/29/2012 12:24:00 PM,"ldrun diskinfo extend_last_partition"

            "180373266D2D","OK",1073807364,0:00:00,8/29/2012 12:24:01 PM,8/29/2012 12:24:01 PM,"ldrun reboot, timeout=2"

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

            • 3. Re: Newbie to Win 7 Deployment with LANDESK
              Rookie

              Thanks guys it was the partition that was wrong.  Capturing showed 3 partitions but changing to 1 partion for deploying has resolved issue.

               

              also needed to add the following to resolve the bootmgr added the below on the last line.

               

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

              REMEXEC48=ldrun x:\ldclient\bcdboot.exe C:\Windows

              REMEXEC49=ldrun reboot, timeout=2

               

              One thing I'm after now is to how to setup a script to execute on firstboot into windows...

              • 4. Re: Newbie to Win 7 Deployment with LANDESK
                Rookie

                Hi Bobby - I am a noob as well trying to use ImageX to deploy our images.  I received the same error in your initial post and I followed your suggestions by changing the partitions in my OSD from 2 to 1.  That got me passed the initial error but still received the bootmgr error.  I also changed the line in the advanced edit but I still received the bootmgr missing.  Did you do anything else to get it working?

                • 5. Re: Newbie to Win 7 Deployment with LANDESK
                  Rookie

                  Hi Thomas

                   

                  I've found Landesk to be really poor with image deployment so far.  Some images have worked for me some have failed. Issues with both Win 7 and XP and when it comes to hardware independance its a nightmare.....

                   

                  Is it possible to post your script, have you been able to check the deployment log as well in \\coreserver\ldlog if there any failures listed in there?

                  • 6. Re: Newbie to Win 7 Deployment with LANDESK
                    Rookie

                    Heya Thomas

                     

                    another thing I have noticed if deploying XP to the same model ignore adding

                     

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

                    REMEXEC48=ldrun x:\ldclient\bcdboot.exe C:\Windows

                    • 7. Re: Newbie to Win 7 Deployment with LANDESK
                      Rookie

                      Hi Bobby - Below is my script.  I checked the deployment log and it did not throw an error.  Have you been successful with deploying an image using ImageX?  I spoke with support, they said ImageX is not supported, and I would need to manually add command(s) for ImageX to create the two partitions for Win7.  If you have these command(s) can you post those?  Thanks in advance.

                       

                       

                      [VALUES]

                      Task=8

                      ScriptName=02_Deploy_Windows_7_ImageX

                      ScriptDescription=Deploy Windows 7 using ImageX

                      MCast=0

                      FallBackNIC=

                      UseFallBackNIC=FALSE

                      ImageUserName=landesk

                      ImageDomain=*domain*

                      ImagePassword=***********

                      ImageToolType=4

                      ImageUNC=\\*ImageServer*\g$\Images\Win7GeneralizedOOBE\IMAGES TO USE\7-25-2012.wim

                      ToolUNC=\\*ImageServer*\g$\GImageX\imagex.exe

                      Partition=3

                      ImageToolCmd=cmd /c RunBatch -1 h:\GImageX imagex.exe /apply i:\Images\WIN7GE~1\IMAGES~1\7-25-2~1.WIM 1 C:, STATUS FACILITY=3513, SYNC

                      ImageToolCmdsFile=\\*LDCoreServer*\LDMAIN\LANDESK\FILES\02_Deploy_Windows_7_ImageX.txt

                      IsSysPrepImage=1

                      IsVistaSysPrep=1

                      UseExistingSysPrep=1

                      ExistingSysPrepFile=\\*ImageServer*\g$\Images\Win7GeneralizedOOBE\SysPrep_answer_file\Unattend.xml

                      SysPrepFile=\\*LDCoreServer*\LDMAIN\LANDESK\FILES\02_Deploy_Windows_7_ImageX.xml

                      RemoteSysPrepCopyPath=c:\unattend.xml

                      SysPrepTargetedType=8

                      UseInventoryName=1

                      ComputerNameTemplate=LandeskImageX

                      ComputerNameStartNumber=0

                      ClientInstallDomain=*domain*

                      ClientInstallUsername=landesk

                      ClientInstallPassword=***********

                      ClientInstallUNC=\\*LDCoreServer*\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=7f2014c9-ba1b-445f-b9e5-337b094ad3fc

                      OSDPLUG=TRUE

                      DESCRIPTION=Deploy Windows 7 using ImageX

                      NAME=02_Deploy_Windows_7_ImageX

                      TYPE=WinPE

                      [JOBPARAM]

                      ABORT_ON_CMD_FAILURE=1

                      TASK_COMPLETION_ENABLED=FALSE

                      AUTOCOMPUTERNAME=LandeskImageX

                      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 /p="http://%CUSTJOBHOSTIP%/landesk/vboot/BCD" /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 *domain*\landesk *********** I: """\\*ImageServer*.*domain*.com\g$""", STATUS FACILITY=3513

                      REMEXEC20=ldrun drvmap.exe *domain*\landesk *********** H: """\\*ImageServer*.*domain*.com\g$""", 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:\Images\Win7GeneralizedOOBE\IMAGES TO USE\7-25-2012.wim""", STATUS

                      REMEXEC23=ldrun LDPathExist.exe """H:\GImageX\imagex.exe""", STATUS

                      REMEXEC24=diskpart /s X:\LDClient\wipeDisk0.txt

                      REMEXEC25=cmd /c format /Y /FS:NTFS /Q /V:C-DRIVE c:

                      REMEXEC26=ldrun cmd /c RunBatch -1 h:\GImageX imagex.exe /apply i:\Images\WIN7GE~1\IMAGES~1\7-25-2~1.WIM 1 C:, STATUS FACILITY=3513, SYNC

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

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

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

                      REMEXEC30=ldrun tokreplw X:\LDClient\assvol2.txt partition=3

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

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

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

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

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

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

                      REMEXEC37=ldrun x:\cba8\FixWindows.exe 3

                      REMEXEC38=ldrun sdclient /f /o /dest="C:\unattend.xml" /p="http://%CUSTJOBHOSTIP%/landesk/files/02_Deploy_Windows_7_ImageX.xml" /disableclientqueue, STATUS

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

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

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

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

                      REMEXEC43=ldrun tokreplw C:\LDISCAN.CFG IMAGEPATH=\\*ImageServer*.*domain*.com\g$\Images\Win7GeneralizedOOBE\IMAGES TO USE\7-25-2012.wim

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

                      REMEXEC45=ldrun x:\ldclient\FixUnattend.exe

                      REMEXEC46=ldrun diskinfo extend_last_partition

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

                      REMEXEC48=ldrun x:\ldclient\bcdboot.exe C:\Windows

                      REMEXEC49=ldrun reboot, timeout=2

                      • 8. Re: Newbie to Win 7 Deployment with LANDESK
                        Rookie

                        Hi Thomas replace the line

                         

                        Partition=3 with  Partition=1 instead.

                         

                        Windows 7 creates its own OS partition itself and your image deploys to partition 2.

                         

                        Yep got Windows 7 deployment working for like for like models having a nitemare with hardware independance and landesk.

                         

                         

                        Try using the following modifying the bits for your environment and let me know how it goes.

                         

                        Good Luck also let me know if you crack Hardware Independance with win7/xp !

                         

                        [VALUES]

                        Task=8

                        ScriptName=Deploy Win 7 x64 version 2

                        ScriptDescription=Deploy Win 7 x64

                        MCast=0

                        FallBackNIC=

                        UseFallBackNIC=FALSE

                        ImageUserName=*DOMAINACCOUNT*

                        ImageDomain=*Domain*

                        ImagePassword=20B273666B26006F74BBE4C5787EB1CA4205863743C

                        ImageToolType=4

                        ImageUNC=\\IMAGESRV\images\win7\win7x64.wim

                        ToolUNC=\\CORE\softwaredistribution\epos\imagex.exe

                        Partition=1

                        ImageToolCmd=cmd /c RunBatch -1 h:\epos imagex.exe /apply i:\win7\win7x64.wim 1 C:, STATUS

                         

                         

                        FACILITY=3513, SYNC

                        ImageToolCmdsFile=\\CORE\LDMAIN\LANDESK\FILES\Deploy Win 7 x64 version 2.txt

                        IsSysPrepImage=1

                        IsVistaSysPrep=1

                        UseExistingSysPrep=0

                        ExistingSysPrepFile=

                        SysPrepFile=\\CORE\LDMAIN\LANDESK\FILES\Deploy Win 7 x64 version 2.xml

                        RemoteSysPrepCopyPath=c:\unattend.xml

                        SysPrepTargetedType=8

                        UseInventoryName=1

                        ComputerNameTemplate=LD$MAC

                        ComputerNameStartNumber=0

                        ClientInstallDomain=*DOMAIN*

                        ClientInstallUsername=lnimage

                        ClientInstallPassword=20B273666B26006F74BBE4C5787EB1CA4205863743C

                        ClientInstallUNC=\\CORE\packages\LANDesk

                        ConfigProcessors=0

                        ImageHWType=0

                        ImageOSType=0

                        ImageProcessorType=0

                        RemoteProcessorPath=%windir%\inf\hal.inf

                        ConfigAdvancedMCast=0

                        UseWOL=FALSE

                        WOLSeconds=120

                        DiscoveryType=0

                        MaxTMCThreads=5

                        MinTMCSleep=100

                        MaxTMCSleep=200

                        BANDWIDTH_WAN=100

                        BANDWIDTH_LAN=100

                        SubrepTTL=14

                        TargetTTL=2

                        [OWNER]

                        GUID=8a1f56a5-a84a-488e-b100-fe2796069b17

                        OSDPLUG=TRUE

                        DESCRIPTION=Deploy Win 7 x64

                        NAME=Deploy Win 7 x64 version 2

                        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 /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/vboot/BCD" /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 *DOMAIN*\lnimage 20B273666B26006F74BBE4C5787EB1CA4205863743C I: """\

                         

                         

                        \IMAGESRV.FQDN.co.uk\images""", STATUS FACILITY=3513

                        REMEXEC20=ldrun drvmap.exe *DOMAIN*\lnimage 20B273666B26006F74BBE4C5787EB1CA4205863743C H: """\

                         

                         

                        \CORE.FQDN.co.uk\softwaredistribution""", 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:\win7\win7x64.wim""", STATUS

                        REMEXEC23=ldrun LDPathExist.exe """H:\epos\imagex.exe""", STATUS

                        REMEXEC24=diskpart /s X:\LDClient\wipeDisk0.txt

                        REMEXEC25=cmd /c format /Y /FS:NTFS /Q /V:C-DRIVE c:

                        REMEXEC26=ldrun cmd /c RunBatch -1 h:\epos imagex.exe /apply i:\win7\win7x64.wim 1 C:, STATUS

                         

                         

                        FACILITY=3513, SYNC

                        REMEXEC27=ldrun sdclient /f /o /dest="X:\LDClient\diskinfo.exe" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/diskinfo.exe" /disableclientqueue, STATUS

                        REMEXEC28=ldrun sdclient /f /o /dest="X:\LDClient\assvol2.txt" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/assvol.txt" /disableclientqueue, STATUS

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

                         

                         

                        %/landesk/files/RMVOLLETTER.TXT" /disableclientqueue

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

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

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

                        REMEXEC33=ldrun sdclient.exe /f /o /dest="x:\ldclient\fixvista.bat" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/FixVista.bat" /disableclientqueue

                        REMEXEC34=ldrun sdclient.exe /f /o /dest="x:\ldclient\fixntfs.exe" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/fixntfs.exe" /disableclientqueue

                        REMEXEC35=ldrun sdclient.exe /f /o /dest="x:\ldclient\bcdedit.exe" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/bcdedit.exe" /disableclientqueue

                        REMEXEC36=ldrun sdclient.exe /f /o /dest="x:\cba8\FixWindows.exe" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/FixWindows.exe" /disableclientqueue

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

                        REMEXEC38=ldrun sdclient /f /o /dest="C:\unattend.xml" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/Deploy%20Win%207%20x64%20version%202.xml" /disableclientqueue, STATUS

                        REMEXEC39=ldrun sdclient /f /o /dest="C:\ldsleep.exe" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/ldsleep.exe" /disableclientqueue, STATUS

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

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

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

                        REMEXEC43=ldrun tokreplw C:\LDISCAN.CFG IMAGEPATH=\\IMAGESRV.FQDN.co.uk\images\win7\win7x64.wim

                        REMEXEC44=sdclient.exe /f /o /dest="x:\ldclient\FixUnattend.exe" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/FixUnattend.exe" /attemptpref /disableclientqueue

                        REMEXEC45=ldrun x:\ldclient\FixUnattend.exe

                        REMEXEC46=ldrun diskinfo extend_last_partition

                        REMEXEC47=ldrun sdclient.exe /f /o /dest="x:\ldclient\bcdboot.exe" /p="http://%CUSTJOBHOSTIP

                         

                         

                        %/landesk/files/bcdboot.exe"

                        REMEXEC48=ldrun x:\ldclient\bcdboot.exe C:\Windows

                        REMEXEC49=cmd /c md c:\HNWIN7

                        REMEXEC50=cmd /c copy /y h:\HNWIN7\*.* C:\HNWIN7

                        REMEXEC51=ldrun reboot, timeout=2

                        • 9. Re: Newbie to Win 7 Deployment with LANDESK
                          Rookie

                          Thanks for the suggestion.  I had tried partitions 1-3   I switched back to 1 and I will add your additional items.  I noticed you have the two commands below.  What is in the HNWIN7 folder or is this something I should ignore?

                           

                          REMEXEC49=cmd /c md c:\HNWIN7

                          REMEXEC50=cmd /c copy /y h:\HNWIN7\*.* C:\HNWIN7

                          • 10. Re: Newbie to Win 7 Deployment with LANDESK
                            Rookie

                            You can ignore lines 49 & 50