Add a Device Driver to an Offline Windows PE Image (Standard 7 SP1)
7/8/2014
You can use the Deployment Image Servicing and Management (DISM) tool to add a device driver (.inf) to an offline image of Windows Preinstallation Environment (Windows PE) 3.0. For more information about DISM, see Deployment Image Servicing and Management Technical Reference.
To add a device driver to an offline Windows PE image
Mount the base Windows PE image to a local directory by using the DISM tool. Consider the following example:
dism /Mount-WIM /WimFile:c:\winpe_x86\winpe.wim /index:1 /MountDir:c:\winpe_x86\mount
Add the .inf file to the base Windows PE image by using the
/Add-Driver
option. Consider the following example:dism /image:<path_to_image> /Add-Driver /Driver:c:\winpe_x86\mount\Windows\driver.inf
For more information about adding drivers by using the
/Add-Driver
option, see Driver Servicing Command-Line Options.After you finish modifying the Windows PE image, dismount the image. Consider the following example:
dism /unmount-wim /Mountdir:c:\winpe_x86\mount /commit
See Also
Tasks
Create a Custom Windows PE Image
Add a Device Driver to an Online Windows PE Image