How to fix Win2003 Task Scheduler Error 0x8007000d: The data is invalid after re-joining domain?

After re-joining this Windows 2003 Server box with the domain, all 20+ Scheduled task jobs were unable to start.

An error has occurred attempting to retrieve task account information. You may continue editing the task object, but will be unable to change task account information.

The specific error is:

Task Scheduler Error 0x8007000d: The data is invalid.

Neither is it possibly to change the account name under which the individual Scheduled task jobs do run.

I have tried to remove all jobs, close the Scheduled tasks window, and erase all b42* files as suggested in MS KB822904.

How to fix this error without re-creating all 20+ jobs?


Solution 1:

To solve problems with the task scheduler:

  • stop the Task Scheduler service
  • on folder c:\windows\Tasks remove the system attribute with attrib -s c:\windows\Tasks
  • go to the properties of c:\windows\Tasks and add the office\administrations group
  • go to "Advanced", then "Owner" and replace the owner of the sub-containers and objects with the office\administrations group
  • set the system attribute back through attrib +s c:\windows\Tasks
  • launch the Task Scheduler service again