We help IT Professionals succeed at work.

Windows Task Scheduler - modified XML task file in \Windows\System32\tasks... now says "corrupt"

Low Priority
345 Views
Last Modified: 2018-06-11
Hi, I have a Windows task (Task Scheduler) that was set up and running fine some months back.. it collected stock market data daily at a specified time from yahoo. I disabled it for a while as I didn't need it, but recently I do again so I re-enabled it. It then wouldn't launch when it was supposed to daily, so I went and fiddled with the XML task file itself in the \Windows\System32\tasks folder. Ever  since then, whenever I go into Task Scheduler it pops up an error windows saying that task is corrupt. It of course, won't run... but I think it is also preventing other tasks from running too. I just want to delete this old corrupted task and set it up again fresh, but it's no longer listed among the tasks. Should I just go and manually delete the XML file for it in  \Windows\System32\tasks ?

Thanks
    Shawn
Comment
Watch Question

Developer
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2018
Commented:
Hi Shawn,
Read this EE thread:

https://www.experts-exchange.com/questions/28970318

Take particular note of McKnife's comments on how to delete a task properly. Regards, Joe

Author

Commented:
Thanks Joe, that did the trick! And thanks to McKnife too!

Cheers
   Shawn
Joe WinogradDeveloper
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2018

Commented:
You're welcome, Shawn. Very glad to hear that worked for you. Yep...McKnife deserves all the kudos on that one! Regards, Joe