ghacks Technology 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 XXX; The task image is corrupt or has been tampered with. Up to this point I was not aware of any Task Scheduler related issues. 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.

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 folder underneath the Tree folder.

windows registry

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 into that structure.

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.

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.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

The image [...] cannot be displayed, because it contains errors
Fix Your Task Manager if it is Disabled
Customize Task Manager Appearance in Windows 7 with Task Manager Modder
Fix Microsoft Outlook Can’t Create File Errors
Task Manager Replacement



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Thursday July 28, 2011 -
Tags:, , , ,


Responses so far:

  1. Fred says:

    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!

  2. HuBin says:

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

  3. Bob says:

    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!

  4. Nurul Islam says:

    It is very useful thanks for it

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us