MDT – Storage driver injection, do you need to rebuild windows image

driversmdt-2012

I'm trying to install an image to a machine. I keep getting storage driver errors where it can't find the hard drives. That's fine, so I went and got the drivers and added them. I regenerated the boot image completely. Do I need to do another sysprep or should I be able to get by with just injecting the drivers into the boot image (i.e., regenerating the boot image)?

I also checked the inf file to make sure the proper device ID shows up in there compared to the RAID device ID and it's in there. Still doesn't seem to recognize it though.

Best Answer

Yes. You need the drivers in the boot image and the install image.

There's no need to recapture an image if you're just adding drivers or Windows Updates, though. You can use dism.exe to add drivers and updates to an offline wim file. This process is documented on TechNet.

Here are the basics. Obviously modify them for your own enviroment:

Dism /Mount-Wim /WimFile:C:\test\images\install.wim /Name:"Windows 7 Enterprise" /MountDir:C:\test\offline

Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.INF

Dism /Unmount-Wim /MountDir:C:\test\offline /Commit

This way you can integrate new drivers into an image without wasting a rearm and spending all of that time doing an install, update, sysprep, and capture.