RunAsynchronousCommand specifies a single command to run asynchronously on the computer during the windowsPE configuration pass. RunAsynchronous 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.

All RunAsynchronous commands run in the system context.

Child Elements


Specifies the credentials used to access the command if the command is on a network share.


Specifies a description of the command to execute.


Specifies the order of the command to execute.


Specifies the path to the command to execute.

Valid Passes


Parent Hierarchy

Microsoft-Windows-Setup | RunAsynchronous | RunAsynchronousCommand

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.

   <!-- First asynchronous command to execute -->
<!-- Second asynchronous command to execute -->

See Also