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

AsynchronousCommand

Last Updated: 12/12/2016

AsynchronousCommand specifies a single command to run the first time that a user logs onto the computer.

Child Elements

CommandLine

Specifies the path to the asynchronous command to be run.

Description

Specifies a brief description of the asynchronous command to be run.

Order

Specifies a unique value for each command.

Important

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

RequiresUserInput

This setting is not used.

Valid Configuration Passes

oobeSystem

Parent Hierarchy

Microsoft-Windows-Shell-Setup | LogonCommands | AsynchronousCommand

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.

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

LogonCommands

SynchronousCommand

Send comments about this topic to Microsoft

© 2017 Microsoft