pyGPOAbuse
pyGPOAbuse copied to clipboard
Deleting a scheduled task?
Hi,
Is there any way to delete a scheduled task from a existing GPO? I would like to delete the scheduled task itself, not the entire GPO. Preferebly only the scheduled task I added, not any pre-existing scheduled tasks.
Thanks!
There's no way to delete a schedule task as for now. This could be a good idea, if you want to PR ;)
Trust me, you don't want a PR from me. My job is to break things :)
I tried to manually edit the elements "DeleteExpiredTaskAfter" and/or "ExecutionTimeLimit" in the file ScheduledTask.xml created by pyGPOAbuse but the task/file is not deleted after the task has ran.