DriverPaths

DriverPaths specifies one or more paths that contain out-of-box drivers. These out-of-box drivers are copied to the Windows image during the windowsPE configuration pass. DriverPaths is a container for one or more PathAndCredentials list items.

By using this setting, you can add boot-critical and non-boot-critical drivers to your Windows image before it is installed.

Child Elements

PathAndCredentials

Specifies a local or Universal Naming Convention (UNC) path to the out-of-box drivers and, optionally, the Credentials used to access them.

Valid Passes

windowsPE

Parent Hierarchy

Microsoft-Windows-PnpCustomizationsWinPE | DriverPaths

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-PnpCustomizationsWinPE.

XML Example

The following XML output specifies the UNC paths to additional locations for device drivers and the credentials used to access those paths.

<DriverPaths>
<!-- First PathAndCredentials list item -->
   <PathAndCredentials wcm:action="add" wcm:keyValue="1">
      <Path>\\myFirstDriverPath\DriversFolder</Path>
      <Credentials>
         <Domain>MyDomain</Domain>
         <Username>MyUsername</Username>
         <Password>MyPassword</Password>
      </Credentials>
   </PathAndCredentials>
<!-- Second PathAndCredentials list item -->
   <PathAndCredentials wcm:action="add" wcm:keyValue="2">
      <Path>C:\Drivers</Path>
      <Credentials>
         <Domain>MyComputerName</Domain>
         <Username>MyUsername</Username>
         <Password>MyPassword</Password>
      </Credentials>
   </PathAndCredentials>
</DriverPaths>

See Also

Concepts

Microsoft-Windows-PnpCustomizationsWinPE