Share via


/add-ImageDriverPackage

 

Applies To: Windows Server 2008 R2, Windows Server 2012 R2, Windows Server 2012, Windows 8

Adds a driver package that is in the driver store to an existing boot image on the server. The image version must be Windows 7 or Windows Server 2008 R2 or later.

Syntax

WDSUTIL /Add-ImageDriverPackage [/Server:<Server name>] /Image:<Image name> /ImageType:Boot /Architecture:{x86 | ia64 | x64} 

[/Filename:<File name>] {/DriverPackage:<Package Name> | /PackageId:<ID>}

Parameters

Parameter

Description

[/Server:<Server name>

Specifies the name of the server. This can be the NetBIOS name or the FQDN. If no server name is specified, the local server is used.

/Image:<Image name>

Specifies the name of the image to add the driver to.

/ImageType:Boot

Specifies the type of image to add the driver to. Driver packages can only be added to boot images.

/Architecture:{x86 | ia64 | x64}

Specifies the architecture of the boot image. Because it is possible to have the same image name for boot images in different architectures, you should specify the architecture to ensure the correct image is used.

/Filename:<File name>]

Specifies the name of the file. If the image cannot be uniquely identified by name, the file name must be specified.

[/DriverPackage:<Name>

Specifies the name of the driver package to add to the image.

[/PackageId:<ID>]

Specifies the Windows Deployment Services ID of the driver package. You must specify this option if the driver package cannot be uniquely identified by name. To find the Package ID, click the driver group that the package is in (or the All Packages node), right-click the package, and then click Properties. The Package ID is listed on the General tab. For example: {DD098D20-1850-4FC8-8E35-EA24A1BEFF5E}.

Examples

To add a driver package to a boot image, type one of the following:

WDSUTIL /Add-ImageDriverPackage /Image:"WinPE Boot Image" /ImageType:Boot /Architecture:x86 /DriverPackage:XYZ

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

Additional references

Command-Line Syntax Key

-add-ImageDriverPackages