2 Replies Latest reply on Oct 8, 2009 5:44 AM by ahe

    Batch File to Deploy PXE Rep

    Apprentice

      Can anyone think of a reason why you can't deploy the PXE Rep via a batch file instead of a .ini script from the core?  I was disappointed in how long it took to download the ldvpe1.img file when I used an .ini script so I created a batch file instead and it was much faster.  See below...

       


      MsiExec.exe /q /X{F238CE99-6614-4072-9D20-1D2FA7ED951A}

        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\ldvpe1.img" "C:\Program Files\LANDesk\LDClient\ldvpe1.img" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\bootmenu.1" "C:\Program Files\LANDesk\LDClient\bootmenu.1" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\bstrap.0" "C:\Program Files\LANDesk\LDClient\bstrap.0" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\dosundi.1" "C:\Program Files\LANDesk\LDClient\dosundi.1" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\bootmenu.0" "C:\Program Files\LANDesk\LDClient\bootmenu.0" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\dosundi.0" "C:\Program Files\LANDesk\LDClient\dosundi.0" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\default.boot" "C:\Program Files\LANDesk\LDClient\default.boot" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\default.menu" "C:\Program Files\LANDesk\LDClient\default.menu" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\ntdetect.com" "C:\Program Files\LANDesk\LDClient\ntdetect.com" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\ntldr" "C:\Program Files\LANDesk\LDClient\ntldr" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\startrom.0" "C:\Program Files\LANDesk\LDClient\startrom.0" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\winnt_pxe.sif" "C:\Program Files\LANDesk\LDClient\winnt_pxe.sif" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\winnt_pxemenu.sif" "C:\Program Files\LANDesk\LDClient\winnt_pxemenu.sif" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\prov_winnt.sif" "C:\Program Files\LANDesk\LDClient\prov_winnt.sif" /y
        copy "\\%coreIP%\Packages\LANDesk\Provisioning\PXE\osdrep.msi" "C:\Program Files\LANDesk\LDClient\osdrep.msi" /y

      MsiExec.exe /I "C:\Program Files\LANDesk\LDClient\osdrep.msi" /quiet /norestart
      "C:\Program Files\LANDesk\LDClient\LDISCN32.EXE" /NTT=%coreIP%:5007 /S=%coreIP% /F /SYNC /NOUI

       

      Thanks,

       

             Brandon