• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

Shadowjk

Network Enthusiast
Vista Guru
Gold Member
Messages
2,180
Location
Northamptonshire, England
#1
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 Computer

System One

  • Manufacturer/Model
    Custom Built
    CPU
    Intel Core i5 2400 @ 3.10GHz
    Motherboard
    Foxconn H67MP-S/-V/H67MP
    Memory
    8.0GB DDR3 @ 665MHz (2GBx4)
    Graphics Card(s)
    AMD HD Radeon 6870
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    SMB1930NW (1440x900@60Hz)
    Screen Resolution
    1280x800
    Hard Drives
    977GB Seagate ST31000524AS ATA Device (SATA) + 250GB WD iSCSI attached Drive
    Case
    Novatech Night
    Mouse
    Dell HID-compliant mouse
    Keyboard
    Standard PS/2 Keyboard

Brink

Staff member
mvp
Messages
32,202
Location
Oklahoma, USA
#2
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 Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD

Shadowjk

Network Enthusiast
Vista Guru
Gold Member
Messages
2,180
Location
Northamptonshire, England
#3
re: Error: "The task image is corrupt or has been tampered with."

Okay I will try that Thanks
 

My Computer

System One

  • Manufacturer/Model
    Custom Built
    CPU
    Intel Core i5 2400 @ 3.10GHz
    Motherboard
    Foxconn H67MP-S/-V/H67MP
    Memory
    8.0GB DDR3 @ 665MHz (2GBx4)
    Graphics Card(s)
    AMD HD Radeon 6870
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    SMB1930NW (1440x900@60Hz)
    Screen Resolution
    1280x800
    Hard Drives
    977GB Seagate ST31000524AS ATA Device (SATA) + 250GB WD iSCSI attached Drive
    Case
    Novatech Night
    Mouse
    Dell HID-compliant mouse
    Keyboard
    Standard PS/2 Keyboard

Shadowjk

Network Enthusiast
Vista Guru
Gold Member
Messages
2,180
Location
Northamptonshire, England
#4
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 Computer

System One

  • Manufacturer/Model
    Custom Built
    CPU
    Intel Core i5 2400 @ 3.10GHz
    Motherboard
    Foxconn H67MP-S/-V/H67MP
    Memory
    8.0GB DDR3 @ 665MHz (2GBx4)
    Graphics Card(s)
    AMD HD Radeon 6870
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    SMB1930NW (1440x900@60Hz)
    Screen Resolution
    1280x800
    Hard Drives
    977GB Seagate ST31000524AS ATA Device (SATA) + 250GB WD iSCSI attached Drive
    Case
    Novatech Night
    Mouse
    Dell HID-compliant mouse
    Keyboard
    Standard PS/2 Keyboard

Brink

Staff member
mvp
Messages
32,202
Location
Oklahoma, USA
#5
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 Computers

System One System Two

  • Show second system?
    Yes
    Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS Maximus X Code Z370
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    PSU
    Seasonic Prime Titanium 850W
    Case
    Corsair Air 740
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master
    Keyboard
    Logitech wireless K800
    Internet Speed
    300 Mb/s Download and 30 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Creative F200 webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB6190 cable modem,
    APC SMART-UPS RT 1000 XL,
    Lumia 1520 phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Graphics card(s)
    NVIDIA GeForce 940MX
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Messages
2
#6
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 Computer

rehctawyks

New Member
Messages
1
#7
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 Computer

GoodOlJoe

New Member
Messages
1
#8
Edit: Thought I had a fix but it did not work as expected. If I find one I'll repost.
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    Gateway sx2800
    CPU
    intel
    Motherboard
    gateway
    Memory
    8 + 16
    Graphics Card(s)
    g
    Monitor(s) Displays
    phillips

Users Who Are Viewing This Thread (Users: 1, Guests: 0)