Topic: Copying The Correct Drivers
Greetings,
I"m posting here because after googling I found that this site has the most out of the box thinking when it comes to figuring things out. I have posted this question in 2 forums (I changed the question slightly) and I realized that although those folks were helping, I could not use their advise due to the unique scenario I have.
For my question, please do not suggest MDT, WDS, SCCM Acronis etc as I can't use it. Well I can, however, I'm working on an image for a remote site that currently does not have servers. Eventually they will so I need to create a (probably) USB flash drive that is self contained with the images/drivers etc. I can figure out the rest as long as I can overcome the following
I think I need to use the "SetupComplete.cmd" script to do the following
use WMIC to detect the hardware and either do the following
1. Copy the appropriate folder with the drivers into c:\windows\inf or
2. Use Dism to inject the appropriate drivers or
3. Add the folders that contained the drivers each in its own model into c:\windows\inf
Reason
We are doing massive imaging. My plan is to have a SysPrep image. So when it boots up the SetupComplete.cmd will detect the hardware and install the correct drivers based on my 3 questions (unless you can think of a different way)
Once I have the logic of installing the drivers, I will have the WIM and applied to 1 drive which will be the master. Using this master we will close many hard drives using a Disk Duplicator machine which can do multiple hard drives at one. Since we have 4 of these duplications we can prep many drives
I know I can use in SetupComplete.cmd -> wmic computesystem to find the model
Then I can't figure out the rest.
Or should I just store the 3 folders with the drivers for 3 models of desktops in c:\windows\inf and let windows pick. I much rather use logic in a the script and make it install the correct drivers.
Thank you