pyGPOAbuse icon indicating copy to clipboard operation
pyGPOAbuse copied to clipboard

Deleting a scheduled task?

Open jsdhasfedssad opened this issue 2 years ago • 2 comments

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!

jsdhasfedssad avatar Dec 23 '22 12:12 jsdhasfedssad

There's no way to delete a schedule task as for now. This could be a good idea, if you want to PR ;)

Hackndo avatar Jan 20 '23 19:01 Hackndo

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.

jsdhasfedssad avatar Jan 23 '23 14:01 jsdhasfedssad