Using C# (.net Framework 4.0) and Windows XP is it possible to enable/disable a Schedulled Task programatically?
Asked
Active
Viewed 5,292 times
1 Answers
2
Use the Task Scheduler Managed Wrapper:
This project provides a single assembly wrapper for the 1.0 and 2.0 versions of Task Scheduler found in all Microsoft operating systems post Windows 98. It simplifies the coding, aggregates the multiple versions, provides an editor and allows for localization support.

Oded
- 489,969
- 99
- 883
- 1,009
-
1As the project description state it's just a wrapper around the COM component. You can access the scheduler directly through COM if you don't want to use this 3rd party library. – Dan Busha Apr 13 '12 at 13:38
-
@DanBusha indeed, but it makes it easier this way and I got what I needed. Thanks :) – aF. Apr 13 '12 at 13:43
-
I do not see this working in .Net framework 4.5.2. I am unable to get list of all the tasks. – V.B May 15 '18 at 09:49