This project has moved and is read-only. For the latest updates, please go here.

Run admin task at boot time

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

Great library!!!

Thanks!
Christian
Jan 18, 2016 at 6: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 6:13 PM
Thanks! Very helpful!