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.

All RunAsynchronous commands run in the system context.

Child Elements


Specifies the path, the order, and the credentials of the command to run asynchronously.

Valid Passes


Parent Hierarchy

Microsoft-Windows-Setup | RunAsynchronous

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 set asynchronous commands.

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

See Also