Page 1 of 1

Trigger a scheduled task at logoff or shutdown

Posted: Mon Jul 27, 2020 9:07 am
by dfornet@eprod.com
I am attempting to run a scheduled task when the user begins the logoff process so that a scheduled task is run while the users profile is still active. I cannot find any reference to a command that would perform this function. I found -atlogon but thats it.

Any help will be greatly appreciated!

Re: Trigger a scheduled task at logoff or shutdown

Posted: Mon Jul 27, 2020 11:45 am
by jvierra
There is no command that can do this. You can only run scripts at logoff via Group Policy.