Path (microsoft-windows-deployment-runasynchronous-runasynchronouscommand-path)

Path specifies the path and the name of the command to execute. RunAsynchronous commands run in the user context in the auditUser configuration pass and in the system context in the specialize configuration pass.



Specifies the path and the file name of the command to execute asynchronously. The path can be a local path or a Universal Naming Convention (UNC) path. If the path is a UNC path, the Credentials setting must be specified.

Path is a string with a maximum length of 259 characters.

This string type does not support empty elements. Do not create an empty value for this setting.

Valid Configuration Passes



Parent Hierarchy

Microsoft-Windows-Deployment | RunAsynchronous | RunAsynchronousCommand | Path

Applies To

For a 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.

The first command runs an application on the local hard drive. The command includes the environment variable %ProgramFiles%. The second command runs a command from the network.

   <RunAsynchronousCommand wcm:action="add">
      <Path>%ProgramFiles%\FabriKam\FabriKam First Run Application.exe</Path>
   <RunAsynchronousCommand wcm:action="add">