Export (0) Print
Expand All

Add Device Drivers on an Offline Windows PE Image

Published: October 22, 2009

Updated: October 22, 2009

Applies To: Windows 7, Windows Server 2008 R2

noteNote
This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.

The following procedure demonstrates how to use the Deployment Image Servicing and Management (DISM) tool to add a device driver (.inf) to an offline Windows® PE image. Before you can run a DISM command, you must first mount the Windows PE image.

To add a device driver to an offline Windows PE image

  1. Mount the base image by using the DISM tool to a local Windows PE directory. For example:

    Dism /Mount-WIM /WimFile:c:\winpe_x86\winpe.wim /index:1 /MountDir:c:\winpe_x86\mount
    
  2. Add the .inf file to the base image by using the dism command with the /Add-Driver option. For example:

    Dism /image:<path_to_image> /Add-Driver /Driver:c:\winpe_x86\mount\Windows\driver.inf
    
    To learn more about adding drivers offline using /Add-Driver option, see Driver Servicing Command-Line Options.

  3. Repeat steps 1 and 2 for each additional device driver.

  4. You must unmount the image after you have modified it.

    dism /unmount-wim /Mountdir:c:\winpe_x86\mount /commit
    

After you unmount the image, you can burn it to the designated media.

To learn more about driver servicing commands using DISM, see Driver Servicing Command-Line Options.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft