Task Scheduler Error

DoctorK12008
DoctorK12008 used Ask the Experts™
on
Why do I get a Task Scheduler error?
Screenshot.jpg
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Professional | Freelance Journalist | Looking for Opportunities
Distinguished Expert 2018
Commented:
Hi DoctorK,

The error in your screenshot seems to give a hint?

"The task image is corrupt or has been tampered with"

It appears to me that the fix for your problem is described in the following Microsoft help article;

https://answers.microsoft.com/en-us/windows/forum/windows_vista-performance/task-image-is-corrupt-or-has-been-tampered-with/91c0aef2-fa32-4795-8eb2-5c109cabe550?auth=1

The article applies to Windows Vista, but the process for Windows 10 will be pretty much the same.

(Backup your registry before applying this fix)

Steps to re-create Task Scheduler

a.    Click on Start; in the start search type regedit.exe and press Enter.
If you get a consent prompt, click on Yes.
b.    Browse through the following location.
HKLM\SOFTWARE\Microsoft\Windows NT\Current Version\Schedule key and then delete its subkeys.
c.    Save the changes and then exit out of the registry editor.

Now check if Task Scheduler works.

Another more recent article you might find helpful is here;

https://appuals.com/the-task-image-is-corrupt-or-has-been-tampered-with-0x80041321/

I hope that's helpful.

Regards, Andrew
Top Expert 2013

Commented:
did it run ok before?
has anything been changed, or updated- soft or hardware wise?
I posted a similar question a few minutes ago.  All of the info I've found so far describes how to clean it up (delete the registry keys corresponding to the corrupted tasks, then recreate them).  I'm trying to sort out how the corruption occurs.  I've seen it on too many computers (about 10 so far, three different unrelated sites) to think it some obscure problem.
I received this very helpful link to my request:
https://archive.codeplex.com/?p=repairtasks

What is very handy about it is that it has a couple of links, one to Microsoft: https://support.microsoft.com/en-gb/help/2305420/ms10-092-vulnerability-in-task-scheduler-could-allow-for-elevation-of that describes how to fix the problem WITH keeping your scheduled tasks.  All the rest I saw had you just delete them.

The other link: https://gallery.technet.microsoft.com/scriptcenter/Repair-CorruptedTampered-c8d2e975 has a script to automate the process.

I've not tried either yet, will do when I see the problem again.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial