Run admin task at boot time

Topics: Examples
Jan 17, 2016 at 10:24 PM
Is it possible to run a task when a system boots up with admin rights?

Great library!!!

Thanks!
Christian
Coordinator
Jan 18, 2016 at 5:11 PM
Yes. You will need to connect to the TaskService with admin rights and then register a task with a BootAction with either a TaskLogonType that takes an admin account and password or a S4U or ServiceAccount value.
Marked as answer by dahall on 1/18/2016 at 10:11 AM
Jan 18, 2016 at 5:13 PM
Thanks! Very helpful!