Fixing the “The task image is corrupt or has been tampered with” Error in Windows 10

If you suddenly encounter the error message “Job image is corrupt or has been corrupted” with error code 0x80041321, read on as this article will tell you what you can do to fix this issue on your Windows 10 computer. According to security experts, this type of error is related to corrupted scheduled backup tasks. This happens because every time the task service schedules a task, it checks certain things. And if it finds an integrity issue or corruption in the registry, it marks those tasks as corrupt and issues error 0x80041321.

What causes the “Task image is corrupt or has been corrupted” error message?

If you are getting a “Job image is corrupt or has been corrupted” error message with error code 0x80041321, it is due to a corrupt scheduled backup job. The problem is that the task service checks several things when it schedules a task. If it detects an integrity issue or registry corruption, these tasks are marked as corrupt.

How to eliminate the “The task image is corrupt or has been corrupted” message?

Delete the corrupted task from the registry

  1. Press Windows + R, type Regedit and press Enter to open the registry editor.
  2. Go to the next registry entry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree.
  3. Right-click on the registry key causing the problem and select Delete.
  4. Now delete the entries that caused the Task Scheduler error and the problem will be solved.

Recreate the Task Scheduler

  1. Press Windows + R, type Regedit and press Enter to open the registry editor.
  2. Navigate to the next registry sub-tab:
    HKLMSOFTWAREMicrosoftWindows NT Current Version
  3. Delete all the subtabs under the Schedule section and close the registry editor.
  4. Reboot your computer to save your changes.

Delete WindowsBackup file manually

  1. Press the Windows + X key, then select Command Prompt (Admin).
  2. Type the following command into cmd and press Enter after each command:
    cd %windir%\system32\tasks\Microsoft\WindowsBackup
    del AutomaticBackup.
    del “Windows Backup Monitor.
  3. Reboot your computer to save your changes and reopen Windows Backup, which should work without errors.

Frequently Asked Questions

To fix this problem, you need to delete the task XML file containing the task settings, then restart the Task Scheduler to make sure the error is fixed, and finally re-import the unbroken version of the task into the Task Scheduler. The biggest challenge is finding the task file in question.

Error 0x80041321 is an error in the Task Scheduler service. The corresponding message is "The task image is or has been corrupted" and indicates that it is a corrupt scheduled backup task.

  1. Delete the registry entries associated with the tasks.
  2. Create a temporary copy of the corrupted job file.
  3. Clean up the corrupted job.
  4. Create the job again using a temporary backup.

Leave a Reply

Your email address will not be published. Required fields are marked *