Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: How to enable a task in task scheduler using C#?

$
0
0
When you register a task and specify HighestPrivilege, that setting applies to the running of the task and doesn't have any effect on registration. That right comes from the privileges assigned to the account used to connect to the TaskService. If you have permissions to modify tasks, you should be able to use the code above to enable or disable tasks. Of course to disable a task, you will set the Enabled property to false.

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>