Order specifies a unique value for each AsynchronousCommand.

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 SynchronousCommand instead.

Synchronous commands are always run before asynchronous commands in the same configuration pass.

Values

Asynchronous_command_order

Specifies a unique value for each command.

Important
The computer does not wait for one command to finish before it starts the next command.

Valid Configuration Passes

oobeSystem

Parent Hierarchy

Applies To

For a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML Example

The following XML output shows how to set logon commands.

  Copy Code
<LogonCommands>
   <AsynchronousCommand wcm:action="add">
	<CommandLine>c:asynccommands\command1.exe</CommandLine>
	<Description>Description_of_command1</Description>
	<Order>1</Order>
   </AsynchronousCommand>
   <AsynchronousCommand wcm:action="add">
	<CommandLine>c:asynccommands\command2.exe</CommandLine>
	<Description>Description_of_command2</Description>
	<Order>2</Order>
   </AsynchronousCommand>
</LogonCommands>

See Also