Muistiinpano
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoa.
Tämän sivun käyttö edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoa.
LogonCommands specifies one or more commands to run the first time a user logs on to the computer.
Note
This setting cannot be used to launch applications that require administrative privileges to run.
Child Elements
| Setting | Description |
|---|---|
| AsynchronousCommand | Specifies a single command to run the first time a user logs on to the computer. |
Valid Configuration Passes
oobeSystem
Parent Hierarchy
Microsoft-Windows-Shell-Setup | LogonCommands
Applies To
For a 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.
<LogonCommands>
<AsynchronousCommand wcm:action="add">
<CommandLine>c:\asynccommands\command1.exe</CommandLine>
<Description>Description_of_command1</Description>
<Order>1</Order>
</AsynchronousCommand>
<AsynchronousCommand wcm:action="add">
<CommandLine>c:\asynccommands\command2.exe</CommandLine>
<Description>Description_of_command2</Description>
<Order>2</Order>
</AsynchronousCommand>
</LogonCommands>