Order
specifies the order in which the SynchronousCommand
is to be run at first logon.
Synchronous commands start in the order specified in the unattended installation answer file, and each command must finish before the next command starts. Synchronous commands are always run before asynchronous commands in the same configuration pass.
To start a command that needs to finish before other commands can start, use synchronous commands. To run services or commands that can start at the same time, use AsynchronousCommand instead.
Values
Synchronous_command_order |
Specifies the order in which commands are to be run at first logon. Synchronous_command_order is an integer from 1 through 500. |
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 first logon commands.
Copy Code | |
---|---|
<FirstLogonCommands> <SynchronousCommand wcm:action="add"> <CommandLine>c:synccommands\command1.exe</CommandLine> <Description>Description_of_command1</Description> <Order>1</Order> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <CommandLine>c:synccommands\command2.exe</CommandLine> <Description>Description_of_command2</Description> <Order>2</Order> </SynchronousCommand> </FirstLogonCommands> |