FirstLogonCommands (Standard 7 Package Reference)
7/8/2014
The FirstLogonCommands
setting specifies commands to run the first time a user logs on to the computer. These commands run only once.
When a user with administrative privileges logs in for the first time, these commands are run with elevated access privileges.
If you create a user account that does not include administrative privileges, the following commands may not be executed:
- If User Account Control is enabled, then when that user logs in for the first time, a dialog box appears, prompting the user with an option to allow an administrator to apply the commands. If the user selects Cancel, these commands are not executed.
- If User Account Control is disabled, these commands are not executed.
The commands run after logon, prior to showing the desktop.
The commands run in the order specified. Each command must finish before the next command runs.
If the command launches a separate system process, the system process will run independently of the commands. This enables you to create commands that terminate quickly, allowing the user to reach the desktop faster.
Other processes, such as services, are not restricted by FirstLogonCommands
and will continue to start or to terminate independently.
Child Elements
Specifies a command to run the first time a user logs on to the computer, its description, and the order in which it is run. |