PathAndCredentials

PathAndCredentials is a list item type and specifies the local or Universal Naming Convention (UNC) path to an additional location for out-of-box device drivers and the credentials (optional) used to access that path.

Child Elements

Credentials

Specifies the credentials (optional) used to access the path specified by the Path.

Key

Specifies a unique string identifier for the driver path.

Path

Specifies a local or UNC path that contains additional out-of-box device drivers that you copy to the Windows installation.

Valid Passes

auditSystem

offlineServicing

Parent Hierarchy

Microsoft-Windows-PnpCustomizationsNonWinPE | DriverPaths | PathAndCredentials

Applies To

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

XML Example

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

<DriverPaths>
<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-PnpCustomizationsNonWinPE