Credentials (microsoft-windows-setup-runasynchronous-runasynchronouscommand-credentials)
Credentials
specifies the credentials to use when accessing a data image file specified by Path.
All RunAsynchronous commands run in the system context.
Child Elements
Setting | Description |
---|---|
Domain | Specifies the domain of the account used for authentication. |
Password | Specifies the password of the account used for authentication. |
Username | Specifies the user name of the account used for authentication. |
Valid Configuration Passes
windowsPE
Parent Hierarchy
Microsoft-Windows-Setup | RunAsynchronous | RunAsynchronousCommand | Credentials
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>