RunAsynchronousCommand
specifies a single command
to run during the auditUser Configuration Pass or specialize
Configuration Pass.
To run services or commands that can start at the same time, use asynchronous commands. To run commands that need to finish before other commands can start, use RunSynchronousCommand instead.
RunAsynchronous
commands run in the user context in
the auditUser Configuration Pass and in the system context in the
specialize Configuration Pass.
Child Elements
Specifies the credentials to use when accessing paths. |
|||
Specifies a description of the command to execute. |
|||
Specifies a unique value for each command.
|
|||
Specifies the path to the command to execute. |
Valid Configuration Passes
auditUser
specialize
Parent Hierarchy
Microsoft-Windows-Deployment | RunAsynchronous | RunAsynchronousCommand
Applies To
For the list of the supported Windows editions and architectures this component supports, see Microsoft-Windows-Deployment.
XML Example
The following XML output shows how to set asynchronous commands.
Copy Code | |
---|---|
<RunAsynchronous> <RunAsynchronousCommand wcm:action="add"> <Credentials> <Domain>MyDomain</Domain> <Password>MyPassword</Password> <Username>MyUsername</Username> </Credentials> <Description>AsynchCommand1</Description> <Order>1</Order> <Path>\\network\server\share\filename</Path> </RunAsynchronousCommand> <RunAsynchronousCommand wcm:action="add"> <Credentials> <Domain>MyDomain</Domain> <Password>MyPassword</Password> <Username>MyUsername</Username> </Credentials> <Description>AsynchCommand2</Description> <Order>2</Order> <Path>\\network\server\share\filename</Path> </RunAsynchronousCommand> </RunAsynchronous> |