Deployment solution 6.9 sp2
Here is the script we run for our image deployment that works fine with any other Dell and HP models:
@echo off
REM Copy Sysprep.inf and Inject Drivers
REM ReplaceTokens .\deploy\sysprep\sysprep.inf .\temp\%ID%.inf
Echo Copying Updated Sysprep.inf and drivers for
%#!computer@prod_name%
.\Rdeploy\windows\firm.exe copy .\temp\%ID%.inf prod:sysprep\sysprep.inf
set model=%#*"SELECT prod_name FROM computer WHERE computer_id=%ID%"%
.\RDeploy\Windows\firm.exe -recurse copy ".\Deploy\Drivers\%model%" PROD:\drivers
The three lines which are not working are the following:
.\Rdeploy\windows\firm.exe copy .\temp\%ID%.inf prod:sysprep\sysprep.inf (The %ID% is not being recognized if I put the ID# in there manually it will copy the sysprep.inf like it should)
set model=%#*"SELECT prod_name FROM computer WHERE computer_id=%ID%"% (Same issue as above I have to input the ID# manually)
.\RDeploy\Windows\firm.exe -recurse copy ".\Deploy\Drivers\%model%" PROD:\drivers (%model% needs to be replaced with the folder name we are using for the model which is
"Precision Workstation T1500" in order for it to copy the drivers up to the workstation)
If I use all three of these modifications the job will complete without issue.