Table of contents
Collapse the table of content
Expand the table of content

Using the add-ImageDriverPackage Command

Corey Plett|Last Updated: 11/16/2016

Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

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.


wdsutil /add-ImageDriverPackage [/Server:<Server name>media:<Image namemediatype:Boot /Architecture:{x86 | ia64 | x64} 
[/Filename:<File name>] {/DriverPackage:<Package Name> | /PackageId:<ID>}


[/Server: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.
media:Specifies the name of the image to add the driver to.
mediatype:BootSpecifies 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:]Specifies the name of the file. If the image cannot be uniquely identified by name, the file name must be specified.
[/DriverPackage:Specifies the name of the driver package to add to the image.
[/PackageId:]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}.


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

wdsutil /add-ImageDriverPackagmedia:"WinPE Boot Imagemediatype:Boot /Architecture:x86 /DriverPackage:XYZ
wdsutil /verbose /add-ImageDriverPackagmedia:"WinPE Boot Image" /Server:MyWDSServemediatype:Boot /Architecture:x64 /PackageId:{4D36E972-E325-11CE-Bfc1-08002BE10318}

additional references

Command-Line Syntax KeyUsing the add-ImageDriverPackages Command

© 2017 Microsoft