1500 characters remaining

# Order

Updated: August 1, 2012

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

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

oobeSystem

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

```<FirstLogonCommands>
<CommandLine>c:synccommands\command1.exe</CommandLine>
<Description>Description_of_command1</Description>
<Order>1</Order>
</SynchronousCommand>
<CommandLine>c:synccommands\command2.exe</CommandLine>
<Description>Description_of_command2</Description>
<Order>2</Order>
</SynchronousCommand>
</FirstLogonCommands>
```