This documentation is archived and is not being maintained.


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.



Specifies the order in which commands are to be run at first logon. Synchronous_command_order is an integer from 1 through 500.

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

The following XML output shows how to set first logon commands.

   <SynchronousCommand wcm:action="add">
   <SynchronousCommand wcm:action="add">

See Also