This documentation is archived and is not being maintained.

Credentials

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

Child Elements

 

Domain

Specifies the domain of the account used for authentication. If the account is not a domain account, then the computer name should be used instead of the domain name.

Password

Specifies the password of the account used for authentication.

Username

Specifies the user name of the account.

Valid Passes

Parent Hierarchy

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

Show: