Credentials

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

Credentials specifies the credentials to use when accessing the Path.

Child Elements

Domain

Specifies the domain of the account to use for authentication.

Password

Specifies the password of the account to use for authentication.

Username

Specifies the user name of the account to use for authentication.

Valid Passes

auditUser

specialize

Parent Hierarchy

Microsoft-Windows-Deployment | RunAsynchronous | RunAsynchronousCommand | Credentials

Applies To

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

XML Example

The following XML output shows how to set asynchronous commands.

<RunAsynchronous>
   <RunAsynchronousCommand wcm:action="add">
      <Credentials>
         <Domain>MyDomain</Domain>
         <Password>MyPassword</Password>
         <Username>MyUsername</Username>
      </Credentials>
      <Description>AsynchCommand1</Description>
      <Order>1</Order>
      <Path>\\network\server\share\filename</Path>
   </RunAsynchronousCommand>
   <RunAsynchronousCommand wcm:action="add">
      <Credentials>
         <Domain>MyDomain</Domain>
         <Password>MyPassword</Password>
         <Username>MyUsername</Username>
      </Credentials>
      <Description>AsynchCommand2</Description>
      <Order>2</Order>
      <Path>\\network\server\share\filename</Path>
   </RunAsynchronousCommand>
</RunAsynchronous>

See Also

Concepts

RunAsynchronousCommand