Domain (microsoft-windows-setup-runasynchronous-runasynchronouscommand-credentials-domain)

Domain specifies the domain of the account used to authenticate access to the location specified by Path.

All RunAsynchronous commands run in the system context.

Values

Domain

Specifies the name of the domain used when authenticating an account. Domain is a string.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Configuration Passes

windowsPE

Parent Hierarchy

microsoft-windows-setup- | RunAsynchronous | RunAsynchronousCommand | Credentials | Domain

Applies To

For the list of the supported Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML Example

The following XML output shows how to configure asynchronous commands to run.

<RunAsynchronous>
   <RunAsynchronousCommand>
      <Order>1</Order>
      <Path>\\MyNetworkShare\MyApplication.exe</Path>
      <Description>DescriptionOfMyApplication</Description>
      <Credentials>
         <Domain>FabrikamDomain</Domain>
         <UserName>MyUserName</UserName>
         <Password>MyPassword</Password>
      </Credentials>
   </RunAsynchronousCommand>
   <RunAsynchronousCommand>
      <Order>2</Order>
      <Path>C:\AnotherApplication.exe</Path>
      <Description>DescriptionOfMyApplication</Description>
   </RunAsynchronousCommand>
</RunAsynchronous>

Credentials