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

Shadowjk

Network Enthusiast
Vista Guru
Gold Member
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
 

Attachments

  • Error Message.JPG
    Error Message.JPG
    61.5 KB · Views: 366

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
    Keyboard
    Standard PS/2 Keyboard
    Mouse
    Dell HID-compliant mouse
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

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus 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
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
    Keyboard
    Standard PS/2 Keyboard
    Mouse
    Dell HID-compliant mouse
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
    Keyboard
    Standard PS/2 Keyboard
    Mouse
    Dell HID-compliant mouse
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

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus 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
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

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

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