This project has moved and is read-only. For the latest updates, please go here.

Discover and repair problems with scheduled Windows Tasks

News: this project has moved to GitHub For ongoing maintenance and support after CodePlex shuts down.

Unfortunately, GitHub does not support Discussions so we will be using Issues on GitHub for both queries and bugs. I recommend, however, the continued use of CodePlex Discussions as an initial problem-solving resource. I am still looking for a way of carrying this resource forward to GitHub.

This project is a utility that makes repairs to the Windows Task schedule.

In particular, it fixes problems where opening the Task Scheduler, or trying to configure Windows Backup,
results in the message "The task image is corrupt or has been tampered with" (0x80041321).

Searching the web reveals that this message has been seen from time to time, and the (rather laborious) set of steps that can be taken to correct it are fairly well-documented (see here and script for it here).

However, it turns out that reverting to Windows 7 or 8.1 from Windows 10 generates this problem in spades. It can leave more than 40 scheduled tasks in a corrupt state (see this thread). This is because many task registry keys and the task definitions to which they refer are updated by a Windows 10 upgrade, but only the registry keys are restored on reversion, so Task Scheduler finds that, for these tasks, the task registry keys and task definitions are now inconsistent.

The general recommendation in response to this reversion problem seems to be to restore the system from backups. However, I'm never sure about overwriting chunks of my system from backups, and would rather go forwards. So, since the fix is well-known, and the main problem is just repeated execution, I decided to write a utility to automate the set of steps required.

And now, I'm sharing my work in case it is of use to fellow sufferers, pending Microsoft getting their act together and fixing reversion.

Open source is particularly appropriate for this type of project, as the code necessarily delves into system settings, making complete transparency as to what it does crucial. You are encouraged to download the source, which is actually not huge, and understand what it does. However, I also provide a download of the executable, and a description of how to use the program on the Documentation tab.

Thank you to all the kind reviewers of the evolving versions, and the folks that have given me such great feedback and so helped make the program better. But additional input on whether it does (or doesn't) work for you would be most welcome e.g. as a Discussion, or a review. I will try and make any needed improvements to the program in response.


Last edited Nov 2 at 6:20 PM by Dijji, version 46