Domain

Domain specifies the domain name of the account to use for authentication. If the account is not a domain account, then the computer name should be used instead of the domain name. For example, if a computer named SYSTEM1 is connected to the FABRIKAM domain, then you can specify credentials in one of the following ways:

  • FABRIKAM\User_Name and the account password. In this case, the value for the Domain setting is FABRIKAM.
  • SYSTEM1\User_Name and the user name password on the SYSTEM1 computer. You can use any account on the computer. In this case, the value for the Domain setting is SYSTEM1.

Values

Domain_name

Specifies the domain name or the computer name of the account used to authenticate the Path.

Domain_name is a string.

This string type supports empty elements.

Valid Passes

auditSystem

offlineServicing

Parent Hierarchy

Microsoft-Windows-PnpCustomizationsNonWinPE | DriverPaths | PathAndCredentials | Credentials | Domain

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 Universal Naming Convention (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>

See Also

Concepts

Credentials