This documentation is archived and is not being maintained.


RunSynchronousCommand specifies a single command to run synchronously on the system during the specified configuration pass. RunSynchronous commands are executed in the order specified in the section. Each command must finish before the next command runs.

RunSynchronous commands always run before RunAsynchronous commands in the same pass.

All RunSynchronous commands run in the system context.

Child Elements



Specifies the credentials used to access the command if the command is on a network share.


Specifies a description of the command to execute.


Specifies the order of the command to execute.


Specifies the path to the command to execute.

Valid Passes

Parent Hierarchy

Microsoft-Windows-Setup | RunSynchronous | RunSynchronousCommand

Applies To

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

XML Example

The following XML output shows how to set synchronous commands.

   <!-- First synchronous command to execute -->
<!-- Second synchronous command to execute -->

See Also