Starting an Executable When a User Logs On
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for