Table of contents
TOC
Collapse the table of content
Expand the table of content

RunAsynchronous

Last Updated: 12/12/2016

RunAsynchronous specifies one or more commands to run during the windowsPE configuration pass.

To run services or commands that can start at the same time, use asynchronous commands. To run commands that need to finish before other commands can start, use RunSynchronous instead.

All RunAsynchronous commands run in the system context.

Child Elements

RunAsynchronousCommand

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

Valid Configuration Passes

windowsPE

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.

<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>

microsoft-windows-setup-

RunSynchronous

Send comments about this topic to Microsoft

© 2017 Microsoft