I don't totally understand what "deactivate " mean.
But Microsoft.Win32.TaskScheduler.Task has a property "Enable", and you can assign false to disable the task.
Is this helpful to solve you problem?
But Microsoft.Win32.TaskScheduler.Task has a property "Enable", and you can assign false to disable the task.
Is this helpful to solve you problem?