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.