A. You can use the Pkgmgr and Peimg commands to inject drivers into Windows OS or Windows Preinstallation Environment (WinPE) images, respectively. However, some devices require multiple drivers to properly function. For example, some NICs require both the NIC driver and a virtual bus driver (VBD). If you extract the device-driver installation package contents (using msiexec /a <msi driver file>) you should find the driver’s .inf and associated files. Copy them to a central import folder. Then use the wildcard .inf import to inject the files into the OS or WinPE images. Below is an example of the code used to inject the files into the images:

peimg /inf=C:\Temp\Driver\*.inf /image=C:\Temp\Mount