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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla