Credentials (microsoft-windows-pnpcustomizationsnonwinpe-driverpaths-pathandcredentials-credentials)

Credentials is an optional setting that is used to access the Universal Naming Convention (UNC) path specified by the Path.

Child Elements

Setting Description
Domain Specifies the domain of the account used for authentication. Can optionally be used to specify the name of the computer.
Password Specifies the password of the account to use for authentication.
Username Specifies the user name of the account to use for authentication.

Valid Configuration Passes

auditSystem

offlineServicing

Parent Hierarchy

Microsoft-Windows-PnpCustomizationsNonWinPE | DriverPaths | PathAndCredentials | Credentials

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>
<!-- 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>

PathAndCredentials