Adding New drivers to Sysprep Img for several desktops

I have built an image on an Dell Optiplex 9010. I install this img on Optiplex 755 and up. The image works perfect on the 755 and of course 9010; but noticed that the image asks for drivers for the Optiplex 960 and Optiplex 980. Is there a place in the answer file, I can tell the OS to look for the whatever drivers it may need if I place these all drivers on say the root of C:? or is there a script I can run to install those drivers? (BTW... I know zero about scripting, so if you know of an already working script, I would really appreciate it.)
Also, How does Windows know where to look for the drivers for a specific machine? are these stored in the System32 folder or similar? How do I add drivers to that and tell my image to look there?
PwrShellAsked:
Who is Participating?
 
James HaywoodConnect With a Mentor Commented:
In that case you will need to add the drivers to the image before you sysprep and capture.

dism /online /add-driver /driver:<driver path>
0
 
James HaywoodCommented:
Its a fairly straightforward process to add drivers to an image. There is a full description here (it says Windows 8 but the same commands for 7):

http://technet.microsoft.com/en-us/library/hh825070.aspx
0
 
PwrShellAuthor Commented:
Thank you for the comment James Haywood; but I forgot to mention that my ing file is in a ghost format and not a wim.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.