Fix The Task Image Is Corrupt Or Has Been Tampered With Errors

Martin Brinkmann
Jul 28, 2011
Updated • Jun 20, 2016
Windows, Windows tips
|
35

While testing a new program I noticed that the Task Scheduler of my Windows 7 operating system was displaying an error message on startup.

It displayed "Task X; The task image is corrupt or has been tampered with, with X listing the name of the task that was affected.

Up to this point I was not aware of any Task Scheduler related issues, and you may not too as errors are only revealed when you open the Task Scheduler usually.

You can run the Task Scheduler and check for corruption by tapping on the Windows-key, typing Task Scheduler and hitting the Enter-key when the result appears.

The error message was puzzling, as I was not able to identify the task at all.

The first idea that I had was to run Autoruns to see if the task was listed in the program.

the task image is corrupt or has been tampered with

To do that run Autoruns and switch to the Scheduled Task tab. You should see some, but not all, of the tasks configured on the system. The task that caused the corruption error was unfortunately not in the list.

Fixing "The Task Image Is Corrupt Or Has Been Tampered With" Errors

windows registry

The next step was the Windows Registry. All scheduled Windows tasks, custom and default, have an entry in the Registry.

Open the Windows Registry Editor. An easy way to do that is to press Windows-r to open the run box, type in regedit and hit enter. Navigate to the following key in the tree structure in the folder view on the left side.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree

You will see a list of scheduled tasks, more than what Autoruns displayed in its interface. The task that is causing the error message when opening the Task Scheduler should be listed as a key underneath the main folder.

You can identify it easily as it uses the same name used when the error is thrown in the Windows Task Scheduler.

Backup first

export delete task

My advise is to backup the Registry key first before you start deleting it. Right-click the key that is causing the problems and select Export. The Registry Editor saves the key and all of its information in a Registry file on the system.

A double-click on that file imports the information back to the Registry. Please note that you need the right permissions to import the Registry information at a later point in time.

Once you have backed up the Registry key you can delete it  by selecting it with the left mouse button and a tap on the delete key. Deleting the key should delete the task in the Task Scheduler.

Restart your Task Scheduler to see if that fixed the issue. If you do not get the The Task Image Is Corrupt Or Has Been Tampered With error anymore you have fixed the issue. If it still appears double-check the Registry again to see if the key has really been deleted, and that you picked the correct key.

Sometimes, there are multiple entries for the same program.

Update: The free program Repair Tasks has been designed to fix corrupt tasks automatically. It is easy to use, and will take care of most task corruptions when you run it.

Summary
Fix The Task Image Is Corrupt Or Has Been Tampered With Errors
Article Name
Fix The Task Image Is Corrupt Or Has Been Tampered With Errors
Description
Find out how to fix the error message The Task Image Is Corrupt Or Has Been Tampered With when you open the Task Scheduler on Windows.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Bjorn said on October 21, 2017 at 10:46 pm
    Reply

    Sorry but I followed that to the detail and when I finally got to the Tree folder and in the root I jut fond (Default) type REG_SZ and (value not set) there are many folders in the Tree folder and I have no clue as to which folder if any I should open thereafter?

  2. Nikki said on February 21, 2017 at 7:50 pm
    Reply

    User_Feed_Synchronization-{D2FA1159-B267-4453-BC4E-0A4E72EEF2FC}: The task image is corrupt or has been tampered with.

    I cannot find this in the registry editor! Please help! I’ve been searching through each file individually looking for it but there are soooooooo many! How do I possibly find it?!

  3. G_Craig said on June 20, 2016 at 3:33 am
    Reply

    https://repairtasks.codeplex.com/

    Will successfully repair all Corrupt Scheduled Tasks

    1. L Meile said on February 18, 2021 at 2:09 pm
      Reply

      Wnen the Repair Tasks Site was shut down in 2021, this project migrated to
      https://github.com/Dijji/RepairTasks

    2. Artie said on June 29, 2016 at 6:37 pm
      Reply

      Didn’t works fixing my Corrupt Scheduled Tasks. :(

  4. Mary J DAVE said on May 21, 2016 at 3:31 pm
    Reply

    First of all thank you so much for all the information which I have diligently tried to help solve my problem.
    But, well I’m still stuck and wondered if there is a further fix for me – I also went back to Windows 7 from Windows 10 as my external drive (mybooklive) was nowhere to be found on my network.
    So now that I have returned to Windows 7 I am finding so many new problems one of which is that I am unable to back up or use task scheduler, there’s possibly more that I haven’t come across yet and dread the event when I do….
    I tried the RepairTasks.zip but it threw a popup with N-A all over it so unable to run that.
    As for registry key – there are two
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\User_Feed_Synchronization-{0E626F3C-8A24-4FFB-84FD-07195C3D7244}
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\User_Feed_Synchronization-{81F085D1-3849-4907-8029-5F67E39D385D}
    Plus I’m not a very savvy pensioner with the PC but would be most grateful for any step by step guidance anyone can give me
    Many thanks
    Mary

  5. JLB said on May 16, 2016 at 7:04 pm
    Reply

    Win-10 auto-updated on my wife’s desktop but I was able to kill it by not accepting the win-10 license. Got back Win-7 Pro OK but it lost the backup task. The registry delete process worked perfectly – thanks a bunch for this help – too bad Microsoft auto-loads stuff without testing or desire to fix the problems that they cause. See other blog listings to cut-off the win-10 auto-update process.

  6. RA said on September 24, 2015 at 3:50 am
    Reply

    Hello, I’m a bit lost. Trying to perform a windows backup and received the error: The task image is corrupt or has been tampered with 0x80041321. I looked through the registry tree that was recommended, but I don’t know what I’m doing and cannot figure out what to delete in there? Any help is much appreciated.

  7. G said on September 20, 2015 at 2:36 pm
    Reply

    Trying to help my grandad…he installed windows 10 but went back to 7 because he hated it, then found he could no longer back up. I’ve deleted the registry key “back up to SD card” but it still wont work – any ideas what the other registry keys that are causing the problem could be? Thank you

    1. Dijji said on September 28, 2015 at 2:14 pm
      Reply

      The steps described in http://support.microsoft.com/kb/2305420 are the best answer for this problem. However, they are rather laborious, especially if you are looking at 40 or more corrupt tasks, as seems to be the typical case if you have rolled back from Windows 10 to Windows 7. You may therefore find my free and open source tool to automate these steps to be useful. You can find it at https://repairtasks.codeplex.com/

      1. Terry said on March 23, 2016 at 3:48 pm
        Reply

        OMG! This really worked! I was going crazy for months trying to fix this problem. I too reverted back to windows 7 from windows 10. I had over 50 errors. I’m so glad I came across this website. Thanks so much!

      2. Tom said on September 28, 2015 at 8:39 pm
        Reply

        You’re a hero, just what I was looking for. Glad someone made a program to automate this trivial process, and I can now report that this issue is resolved. Thanks again.

  8. RM said on August 19, 2015 at 4:43 pm
    Reply

    I installed Windows 10 but had some issues so rewound to Windows 7. I then found that I could no longer create back-ups using Windows. I kept getting Error 0x80041321. The advice here sorted out the issue brilliantly – thanks very much!

  9. Zeke said on August 18, 2015 at 9:05 pm
    Reply

    The problem I have is that the ‘error’ messages has so far indicated 60 (so far) ‘Registry Keys’ are corrupted, making it pretty well impossible
    short of deleting them all. Is there a more expedient way of solving this issue? Thanks in advance for any information you may offer.

  10. PJ said on February 25, 2015 at 1:37 pm
    Reply

    I noticed that the ‘Skip UAC Warning’ option was unticked in CCleaner (v 5.03.5128, portable). When I tried to tick it, CCleaner popped up the error message “The task image is corrupt or has been tampered with”. As such, the Skip UAC option was essentially disabled.

    The problem was resolved by deleting the following CCleaner registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\CCleanerSkipUAC

    When CCleaner is restarted, the registry key is recreated with a totally different “Id” (REG_SZ) string value. The original value was presumably “corrupt” or “tampered with”, although I don’t know by what.

    On a related note, it seems that ticking the ‘Skip UAC Warning’ in CCleaner can subsequently cause unspecified Task Scheduler errors (task image is corrupt or tampered with, but no task or program indicated) in some Windows OS versions, or certain setups of some Win OS versions. See Dr. Strangelove’s 3 comments (24 Nov 2012 – 12 Jan 2013) at the bottom of:

    https://social.technet.microsoft.com/Forums/en-US/5e3849da-e186-40c3-acb5-238342c642b8/win-7-problem-after-intstalation-of-sp1-task-scheduler-the-task-image-is-corrupt

  11. Naim said on December 16, 2014 at 10:59 pm
    Reply

    Thanks a lot. This really works. It solves this problem “An Error has occurred for task Microsoft Office 15 Sync Maintenance for (and then it has the user name-PC-user name again then the user name a 3rd time-PC. Error message: The specified account name is not valid.”

    Have a nice day always :)

    Regards,

    Naim

  12. Evert said on November 8, 2014 at 8:23 pm
    Reply

    Thanks a lot. Saved a lot of time running different scanners and cleaners.

  13. Marky said on September 1, 2014 at 2:10 am
    Reply

    Yep, this did the trick for me…Received this error via a virus…Got rid of the virus but not the error until this, so thanks! :)

  14. Ollie said on June 11, 2014 at 9:38 am
    Reply

    PLEASE HELP!! I had the “task image has been corrupted or tampered with problem” and I tried to fix it with this method ^^^
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache
    But when I did I accidentally deleted the whole of the TaskCache, now my task scheduler has no tasks at all and i dont know how to restore it to default settings??

    1. Martin Brinkmann said on June 11, 2014 at 9:55 am
      Reply

      Try System Restore.

  15. Victor said on March 22, 2014 at 1:12 am
    Reply

    WOW, amazing, I don’t speak english very well, but you helped me. Tks.

  16. luke said on December 27, 2013 at 3:06 am
    Reply

    I have the a similar problem. but when I open the schedule tasks boy! it has lots and lots of tasks errors, I kept clicking those errors until it clear up. After using your method HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree ” I don’t see any files that matches the same error files that I found when I open the tasks scheduler application. So I don’t want to delete something that I don’t know. This is a complicated issue and I don’t know how??

  17. gap84 said on December 16, 2013 at 7:52 am
    Reply

    Thanks! Problem is off!

  18. Faye said on December 9, 2013 at 7:02 am
    Reply

    Thanks so much for your easy to follow directions. So glad it could fix it on my own with your help and not have to spend money :)

  19. Sandeep said on November 4, 2013 at 1:55 am
    Reply

    My problem is gone thank You

  20. mstone said on December 30, 2012 at 6:31 pm
    Reply

    This also fixed my error when opening task scheduler, but how do you replace the corrupted User_Feed_Syncronization key? Won’t this missing key affect other things?

    Thanks for your help.

  21. 1nd1g0 (@1nd1g0) said on June 19, 2012 at 4:54 am
    Reply

    Great Stuff. Good insight. I had exactly the same task:
    (HKEY_LOCAL_MACHINE-SOFTWARE-Microsoft-Windows NT-CurrentVersion-Schedule-TaskCache-Tree-User_Feed_Synchronization-{078F7EAD-92F6-46D2-B982-B672E4DC84B8})
    but with a different ClasID, which was the cause of my Task Scheduler corruption!

  22. John Jenkins said on April 26, 2012 at 1:33 pm
    Reply

    Brilliant! I looked at many different solutions to this problem but yours fixed it the first time.
    Many thanks
    J.J.

  23. Gonzo said on March 8, 2012 at 2:21 am
    Reply

    Great stuff, thank you!

  24. Nurul Islam said on January 14, 2012 at 11:36 am
    Reply

    It is very useful thanks for it

  25. Bob said on January 3, 2012 at 5:03 pm
    Reply

    Thank you Martin – your solution sorted out my problem immediately.
    Wunderbar!!!
    Boy, I really love the internet! – Especially when there’s a problem that needs fixing!

  26. HuBin said on December 7, 2011 at 10:38 am
    Reply

    It is a good solution, resolve a problem boring me ,Thanks!

  27. Fred said on September 5, 2011 at 7:32 am
    Reply

    Exactly what I was looking for. I had the exact same problem and this is the exact solution. From reading other articles, I had the impression that I had to laboriously delete all tasks and re-enter them one by one to find the problem entry. When I read your article, it dawned on me that the registry entry was stated in the error message I was getting. Except for your timely tip, I could have wasted many tedious hours working on this
    Thank you for an excellent article!

    1. bramoss said on May 5, 2014 at 7:42 pm
      Reply

      Ikea having the same problem you have, can help how did you manage to fix it.

      Please

    2. Martin Brinkmann said on September 5, 2011 at 8:57 am
      Reply

      Glad I could be of help.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.