This documentation is archived and is not being maintained.


LogonCommands specifies commands to run asynchronously when the user logs on.

This setting cannot be used to launch applications that require administrative privileges to run.

Child Elements



Specifies a command to run asynchronously with its description and the order in which it is run.

Valid Passes

Parent Hierarchy

Applies To

For the 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 logon commands.

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

See Also