Fix The Task Image Is Corrupt Or Has Been Tampered With Errors - gHacks Tech News

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

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.

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
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.
Ghacks Technology News

  • We need your help

    Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

    We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.

    If you like our content, and would like to help, please consider making a contribution:


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

      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. Martin Brinkmann said on September 5, 2011 at 8:57 am

        Glad I could be of help.

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

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


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

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

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

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

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

      It is very useful thanks for it

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

      Great stuff, thank you!

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

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

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

      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!

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

      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.

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

      My problem is gone thank You

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

      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 :)

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

      Thanks! Problem is off!

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

      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??

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

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

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

      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

        Try System Restore.

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

      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! :)

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

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

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

      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 :)



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

      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:

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

      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.

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

      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!

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

      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

        The steps described in 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

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

          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.

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

          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!

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

      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.

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

      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.

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

      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 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

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

      Will successfully repair all Corrupt Scheduled Tasks

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

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

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

      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?!

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

      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?

    Leave a Reply