How to add a Device Driver to an Offline Windows PE Image

To add a device driver to an offline Windows PE image
Apply the base image (Winpe.wim) by using ImageX to a local Windows PE directory. For example:
imagex /apply WinPE.wim 1 c:\winpe_x86\mount\
-OR-
imagex /mountrw WinPE.wim 1 c:\winpe_x86\mount\
Add the .inf file to the base image by using the peimg /inf command. For example:
peimg /inf= c:\winpe_x86\mount\Windows
where is the location of the .inf file.
Repeat steps 1 and 2 for each additional device driver.
When you finish customizing the image, prepare the image for deployment by using the peimg /prep command.
More details