Windows Vista Forums

Error: "The task image is corrupt or has been tampered with."

  1. #1
    Shadowjk's Avatar

    Network Enthusiast



    Join Date : May 2010
    Northamptonshire, England
    Posts : 2,180
    Windows 7 Professional x64; Windows Server 2012 R2 Standard
    Local Time: 02:16 AM
    uk uk england

    Error: "The task image is corrupt or has been tampered with."

    Hey,

    I would like some help to do with this error it happens whenever I open Task scheduler and when I try to create a Task

    Help would be appreciated,
    Josh

      My System SpecsSystem Spec

  2.   


  3. #2
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,163
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:16 PM
    usa us texas

     

    re: Error: "The task image is corrupt or has been tampered with."

    Hello Josh,

    You might see if doing a system restore using a restore point dated before you think you had this error to see if it may be able to fix it for you. You may need to try a few restore points before finding one old enough before this error.

    Hope this helps,
    Shawn

      My System SpecsSystem Spec

  4. #3
    Shadowjk's Avatar

    Network Enthusiast



    Join Date : May 2010
    Northamptonshire, England
    Posts : 2,180
    Windows 7 Professional x64; Windows Server 2012 R2 Standard
    Local Time: 02:16 AM
    uk uk england

      Thread Starter

    re: Error: "The task image is corrupt or has been tampered with."

    Okay I will try that Thanks

      My System SpecsSystem Spec

  5. #4
    Shadowjk's Avatar

    Network Enthusiast



    Join Date : May 2010
    Northamptonshire, England
    Posts : 2,180
    Windows 7 Professional x64; Windows Server 2012 R2 Standard
    Local Time: 02:16 AM
    uk uk england

      Thread Starter

    re: Error: "The task image is corrupt or has been tampered with."

    I did the System Restore and it worked Great Thanks

    Many Thanks,
    Josh

      My System SpecsSystem Spec

  6. #5
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,163
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:16 PM
    usa us texas

     

    re: Error: "The task image is corrupt or has been tampered with."

    You're most welcome Josh. I'm happy to hear that you got it sorted.

      My System SpecsSystem Spec

  7. #6



    Newbie
    Join Date : Jul 2011
    Posts : 2
    Vista Ultimate x64
    Local Time: 07:16 PM


     

    Re: Error: "The task image is corrupt or has been tampered with."

    Hi I know the thread is old, but this is just an FYI in case other people encounter this in future.

    In order to fix this, you have to delete the actual task XML file that contains the task settings, then rerun the Task Scheduler to confirm that the error is gone, then import a non-corrupted version of the task back into the Task Scheduler.
    Most of the work you have to do is to locate the task file in question.
    The task files are located in C:\Windows\System32\Tasks.
    If you try to open the task folder, you might get a UAC prompt asking you for permission to access the folder, this is OK, just click continue to access the folder.
    In my case, the corrupt task was "Microsoft-Windows-DiskDiagnosticDataCollector".
    This was a Microsoft task, therefore I had to go into the C:\Windows\System32\Tasks\Microsoft\Windows\DiskDiagnostic folder to locate the actual task xml file,
    which was named "Microsoft-Windows-DiskDiagnosticDataCollector".

    Once you have located the task file, close the task scheduler, back up the corrupted task file to any location of your choice, then delete it, then open the task scheduler to confirm that the error has gone.

    What you now need to do is to export the non-corrupted task from another computer or virtual machine, and import it into the task scheduler.
    To export the task in question from another computer, follow these steps.

    1. Open the Task Scheduler, then drill down into the task in question, then right-click on the task and select "Export...".
    2. Save the exported XML file to a location of your choosing, then copy it over to the affected computer.
    3. Once you are back on the affected computer, make sure that the task scheduler is closed, then you need to run the task scheduler as an Administrator.
    4. To run the task scheduler as an Administrator, click Start>All Programs>Accessories>System Tools, then locate "Task Scheduler", right-click it and select "Run as Administrator".
    5. Once the task scheduler is open, drill down to the folder where the task is supposed to be located, right-click on a blank portion of the window, and select "Import Task...".
    6. Once you have imported the task, a "Create task" window will open as shown below, just click OK to it.
    7. The task should then be successfully imported, you can then close the task scheduler, and the problem should be fully resolved.

      My System SpecsSystem Spec

  8. #7



    Newbie
    Join Date : Jul 2008
    Posts : 1
    Vista Ultimate x64
    Local Time: 05:16 PM


     

    Re: Error: "The task image is corrupt or has been tampered with."

    Thanks TechMan1975.

    I was surprised to find out that each task is a separate file in the folder that you indicated, i.e., C:\Windows\System32\Tasks. The offending task in my case was one that I had created and so I was able to delete the file (by the same name) and then recreate it in the Task Scheduler. Very quick and easy - and worked perfectly.

    Thanks again!

      My System SpecsSystem Spec

  9. #8



    Newbie
    Join Date : Aug 2013
    Posts : 1
    Vista 64
    Local Time: 06:16 PM


     

    Re: Error: "The task image is corrupt or has been tampered with."

    Edit: Thought I had a fix but it did not work as expected. If I find one I'll repost.

    Last edited by GoodOlJoe; 19 Aug 2013 at 01:06 AM.
      My System SpecsSystem Spec


Error: "The task image is corrupt or has been tampered with."
Similar Threads
Thread Forum
Task image corrupt?? System restore Vista General
Task Scheduler Error-task image corrupt or has been tampered with User_Feed_Synchroni General Discussion
BOOTMGR image corrupt Vista General
Task scheduler returns an error : the task image is corrupt ortamp Vista performance & maintenance
CORRUPT ISO IMAGE Vista installation & setup