Monday, September 17, 2018

windows - ERROR 0x8007007A when trying to schedule a task

I am getting the error "The data area passed to a system call is too small. (Exception from HRESULT: 0x8007007A)" when trying to create a scheduled task on a particular windows machine.


The problem description is identical to that described in this Microsoft KB article


I followed their steps to resolve:



  1. Stopped the task scheduler service (right-clicked "Task Scheduler" in the Services window from Control Panel and selected "Stop").

  2. Restarted the task scheduler service

  3. Waited 15 minutes

  4. tried to schedule the task.


But the error is persisting.


To give more context of how we are creating these scheduled tasks, they are actually generated automatically from a configuration script (we run the script each time we wish to make a change). Each time this happens, it deletes all of the existing tasks and creates new ones.


I don't know what else to try.... but surely there is some way to "reset" the task scheduler... How can I stop this error from happening.

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...