Export (0) Print
Expand All

Add Driver Packages to a Boot Image

Applies To: Windows Server 2008 R2

This topic contains information about adding driver packages to a boot image, as well as links to information about how to view the drivers in an image. For more information, see Managing Driver Packages (http://go.microsoft.com/fwlink/?LinkID=143313).

Adding driver packages to boot images

You can use Windows Deployment Services to add driver packages (such as network adapter drivers, mass storage drivers, and bus drivers) to your Windows 7 and Windows Server 2008 R2 boot images. This means that you do not have to export the image, use the tools in the Windows Automated Installation Kit to add driver packages manually, and then add the updated boot image. You can add packages using the command line or the MMC snap-in.

To add driver packages to a boot image using the Windows interface
  1. Add the driver package to the server. For more information, see Extract and Add Driver Packages.

  2. In the Windows Deployment Services MMC snap-in, expand the Boot Images node.

  3. Right-click the image that you want to add the driver to, and click Add Driver Packages to Image.

  4. Follow the instructions in the wizard to search for the package and then add it to the image.

noteNote
If the image that you are updating is currently being downloaded to a client when you perform this procedure, Windows Deployment Services will ensure that the client receives a consistent copy of the file.

To add driver packages to a boot image using a command line
  1. Click Start, right-click Command Prompt, and then click Run as administrator.

  2. Add the image using the following syntax: WDSUTIL /Add-ImageDriverPackage [/Server:<Server name>] /Image:<Image name> /ImageType:Boot /Architecture:{x86 | ia64 | x64} [/Filename:<File name>] {/DriverPackage:<Package Name> | /PackageId:<ID>}

    For example:

    WDSUTIL /Add-ImageDriverPackage /Image:"WinPE Boot Image" /ImageType:Boot /Architecture:x86 /DriverPackage:”My Driver Package”

    or

    WDSUTIL /verbose /Add-ImageDriverPackage /Image:"WinPE Boot Image" /Server:MyWDSServer /ImageType:Boot /Architecture:x64 /PackageId:{4D36E972-E325-11CE-BFC1-08002BE10318}

Viewing the drivers in a boot image

After you add driver packages to your boot image, you can use the following procedure to view the drivers that are currently in the image. For more information about modifying a boot image, see Modify a Boot or Install Image.

To view packages in a boot image
  1. Export the image. To do this, right-click the image, click Export Image, name the file, and click Save.

  2. Click Start, right-click Command Prompt, and click Run as administrator.

  3. Mount the second image in the boot image to a local directory using the following syntax:

    Dism /Mount-Wim /WimFile:<path_to WIM_file> /index:<image_index_number> /MountDir:<path_to_mount_directory>

    Example: Dism /Mount-Wim /WimFile:C:\test\images\boot.wim /index:2 /MountDir:C:\test\offline

  4. Run the dism /Get-Drivers command to view all driver packages in the current image. For example:

    dism /image:c:\test\offline /Get-Drivers

  5. Unmount the image and commit any changes. For example:

    DISM /Unmount-Wim /MountDir:C:\test\offline /commit

  6. Add the image back to the Windows Deployment Services server. There are two ways to accomplish this:

    • Replace the existing image (as long as all installations using it have completed) (Recommended). To do this, right-click the image and click Replace Image.

    • Add the image as a new image and remove the old image at a later time.

For more information about Deployment Image Servicing and Management (DISM.exe), see http://go.microsoft.com/fwlink/?LinkId=143441.

Additional references

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

Community Additions

ADD
Show:
© 2014 Microsoft