We are getting the invalid parameter specified
We are running the HII job
on the create hardware independent image
on the prepare storage drivers job
REM Prepare Storage Drivers
REM Delete the old Temporary Storage Drivers if they exist
RD /S /Q .\Temp\HII\%ID%S
REM Create temp directories
MD .\Temp\HII\%ID%S\Drivers
REM Create OS Version file
echo.NT%PROCTYPE%.%#*"SELECT SUBSTRING(os, CHARINDEX('.', os) - 1, 3) FROM computer WHERE computer_id = %ID%"%>.\Temp\HII\%ID%S\Drivers\OS_Ver.txt
echo.%#*"SELECT 'SP' + SUBSTRING(os, CHARINDEX('Service Pack', os) + 13, 1) FROM computer WHERE computer_id = %ID% AND CHARINDEX('Service Pack', os) > 0"%>>.\Temp\HII\%ID%S\Drivers\OS_Ver.txt
REM Prepare Mass Storage Drivers
.\HII\DriverPrep.exe -src:.\HII\Drivers -dst:.\Temp\HII\%ID%S -ver:.\Temp\HII\%ID%S\Drivers\OS_Ver.txt -msd > .\HII\Logs\%ID%S.log
We are getting the following error
Invalid parameter specified
DriverPrep 3.2.0
This utility will read the specified PMQ File and copy files from the source Driver Library to the destination location
DriverPrep.exe -src:source -dst:destination -ver:osverfile { -pmq:pmqfile | -msd:msdpath }
source Root path (Relative or UNC) of the driver to copy
destination Root path (Relative or UNC) to sort the driver into
osverfile .VER file that contains OS Version information
pmqfile .PMQ file to use in order to determine which drivers to copy
msdpath Path (such as C:\Drivers) to use as the base driver location when creating the MSD.INF file
.\HII\DriverPrep.exe -src:.\HII\Drivers -dst:.\Temp\HII\%ID%S -ver:.\Temp\HII\%ID%S\Drivers\OS_Ver.txt -msd > .\HII\Logs\%ID%S.log