Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writing a task that starts an executable when a user logs on is done by defining a logon trigger and an executable action.
Logon Trigger
Logon triggers are activated by their start boundary but they do not start the executable until a specified user logs on. You can specify the logon trigger to start when a certain user logs on by specifying the user in the UserId property of the ILogonTrigger interface (LogonTrigger for scripting).
LogonTrigger Examples
The following examples start Notepad after a user logs on.
Related topics