RunAsynchronous specifies one or more commands to run asynchronously on the computer during the windowsPE configuration pass. Asynchronous commands are executed in the order specified in the section, but the computer does not wait for the previous command to finish before it runs. Running a service is an example of an asynchronous command.
RunAsynchronous commands are always executed after RunSynchronous commands in the same pass.
RunAsynchronous commands run in the system context.
Specifies the path, the order, and the credentials of the command to run asynchronously.
Microsoft-Windows-Setup | RunAsynchronous
For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Setup.
The following XML output shows how to set asynchronous commands.
<RunAsynchronous> <!-- First asynchronous command to execute --> <RunAsynchronousCommand> <Order>1</Order> <Path>\\MyNetworkShare\MyApplication.exe</Path> <Description>DescriptionOfMyApplication</Description> <Credentials> <Domain>FabrikamDomain</Domain> <UserName>MyUserName</UserName> <Password>MyPassword</Password> </Credentials> </RunAsynchronousCommand> <!-- Second asynchronous command to execute --> <RunAsynchronousCommand> <Order>2</Order> <Path>C:\AnotherApplication.exe</Path> <Description>DescriptionOfMyApplication</Description> </RunAsynchronousCommand> </RunAsynchronous>