I recently had to move my computer from one domain to another and doing so caused a few glitches, one of which was it broke a scheduled task I had created. Every time I ran the Task Scheduler in Windows 7, I got the error message “The task image is corrupt or has been tampered with”:
Unfortunately this wasn’t listed in the tasks within Task Scheduler to enable me to delete it. In Windows 7, the location of Tasks has changed from C:\Windows\Tasks\ to C:\Windows\System32\Tasks – if you check there, you should be able to find and delete the corrupt task, ridding yourself of the pesky warning!
you are truly a gentlemen…thanks a lot…i have tried lots of bizarre steps…but after this i tried yours …..it worked… thanks a lot…
thanks a ton. this solved my issue. i scoured tons of forums and articles and they all gave me the wrong advice. this worked like a charm.
Thanks. Wrong advise from many hours of searching. Worked first time.
In tasks but how to know which one/s is/are corrupt?
I second Chris’s comment…how do I know which one is corrupt?
I Marie, all I can suggest is trial and error – move half of your tasks to a different location and see if you get the error, if so, you know its one of the remaining tasks so remove half and so on.
Sorry, but this still did not help me to find how to get my disk defragment back. It was not in either folder.
Hi Sandra, this isn’t anything to do with disk fragmentation so I think you may be looking in the wrong area.
Interestingly, the files found under the C:\Windows\System32\Tasks folder in Windows 7 are xml files but with no file extension. You can rename the file to something to take it out of the Task Manager, i.e. rename “SomeTask” (no extension) to “SomeTask.old”. Open Task Manager and the task will no longer be present. Now you can rename the file to have an xml extension, i.e. “SomeTask.xml”, go back into Task Manager, and import the task and it will now be valid. Open Task Manager again and no error occurs and the task is present again.