Scheduled Tasks fail to run

G

Gregg Hill

Hello!

After about July 14, 2004, my Scheduled Tasks have failed to run. There is a
hotfix (KB 812960) that I downloaded and installed that did not fix the
problem, even though I have the exact symptoms described in the article. The
scheduled tasks do not run, nor can I run them manually by using
right-click, Run. I have the log below of what happens when trying to start
a Scheduled Task.

"Task Scheduler Service"
Started at 8/14/2004 11:23:32 AM
"6FridayMyDocsDifferentialBackup.job" (ntbackup.exe) 8/14/2004 11:23:44 AM
** ERROR **
Unable to start task.
The specific error is:
0x80070006: The handle is invalid.
Try using the Task page Browse button to locate the application.
"cescript.job" (cescript.txt) 8/14/2004 11:24:09 AM ** ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
Verify that the task's Run-as name and password are valid and try again.
"ntbackup.job" (ntbackup.exe) 8/14/2004 11:27:28 AM ** ERROR **
Unable to start task.
The specific error is:
0x80070006: The handle is invalid.
Try using the Task page Browse button to locate the application.
"ntbackup.job" (ntbackup.exe) 8/14/2004 11:27:49 AM ** ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
Verify that the task's Run-as name and password are valid and try again.
[ ***** Most recent entry is above this line ***** ]


The first attempt to start a task by right-click, Run, or by letting it
reach the scheduled time, results in the "0x80070006: The handle is invalid"
error. The second attempt to start it gives the "The attempt to log on to
the account associated with the task failed" error and then "Could not
start" shows up in the Scheduled Tasks window status column.

If I copy the task properties, i.e., the Run command line from the task's
properties page, and paste it into Start, Run, or into a batch file, then
the task runs just fine.

The account used is an local admin account, all service packs are installed
(not sp2 yet), and the Task Scheduler service is running.

Any ideas why tasks still fail to run or which update from mid-July that I
can remove to get them to run?

Thank you for the help!

Gregg Hill
 
G

Gregg Hill

Tom,

I have checked the passwords for all tasks. They are all there and are
correct for the admin account in use.

An interesting thing just happened when I tried to right-click, Run any of
the tasks. As usual the task would not run. If I tried again within five
seconds, the tasks ran fine. If I killed the task, then waited about fifteen
seconds or more, the tried again, the task would not run. If I tried again
within five seconds of that attempt, the tasks run fine. If I again waited
more than a few seconds, the attempt failed again.

See the log below. As you can see, the first attempt failed, then four
seconds later the second attempt succeeded and took three seconds to
complete, then fifteen seconds after the successful run started, it again
failed to start. This pattern goes for all my scheduled tasks (most are
backups to a DVD). I set up the cescript.txt task (a text file on my
computer) just to test if the tasks would start.

Fargin' weird!!!

Gregg Hill


"Task Scheduler Service"
Started at 8/14/2004 12:57:28 PM

"cescript.job" (cescript.txt) 8/14/2004 12:57:41 PM ** ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
Verify that the task's Run-as name and password are valid and try again.

"cescript.job" (cescript.txt)
Started 8/14/2004 12:57:45 PM

"cescript.job" (cescript.txt)
Finished 8/14/2004 12:57:48 PM
Result: The task completed with an exit code of (0).

"cescript.job" (cescript.txt) 8/14/2004 12:58:00 PM ** ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
Verify that the task's Run-as name and password are valid and try again.

[ ***** Most recent entry is above this line ***** ]





Tom said:
make sure you have entered your passwords in the items

Gregg Hill said:
Hello!

After about July 14, 2004, my Scheduled Tasks have failed to run. There is a
hotfix (KB 812960) that I downloaded and installed that did not fix the
problem, even though I have the exact symptoms described in the article. The
scheduled tasks do not run, nor can I run them manually by using
right-click, Run. I have the log below of what happens when trying to start
a Scheduled Task.

"Task Scheduler Service"
Started at 8/14/2004 11:23:32 AM
"6FridayMyDocsDifferentialBackup.job" (ntbackup.exe) 8/14/2004 11:23:44 AM
** ERROR **
Unable to start task.
The specific error is:
0x80070006: The handle is invalid.
Try using the Task page Browse button to locate the application.
"cescript.job" (cescript.txt) 8/14/2004 11:24:09 AM ** ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
Verify that the task's Run-as name and password are valid and try again.
"ntbackup.job" (ntbackup.exe) 8/14/2004 11:27:28 AM ** ERROR **
Unable to start task.
The specific error is:
0x80070006: The handle is invalid.
Try using the Task page Browse button to locate the application.
"ntbackup.job" (ntbackup.exe) 8/14/2004 11:27:49 AM ** ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
Verify that the task's Run-as name and password are valid and try again.
[ ***** Most recent entry is above this line ***** ]


The first attempt to start a task by right-click, Run, or by letting it
reach the scheduled time, results in the "0x80070006: The handle is invalid"
error. The second attempt to start it gives the "The attempt to log on to
the account associated with the task failed" error and then "Could not
start" shows up in the Scheduled Tasks window status column.

If I copy the task properties, i.e., the Run command line from the task's
properties page, and paste it into Start, Run, or into a batch file, then
the task runs just fine.

The account used is an local admin account, all service packs are installed
(not sp2 yet), and the Task Scheduler service is running.

Any ideas why tasks still fail to run or which update from mid-July that I
can remove to get them to run?

Thank you for the help!

Gregg Hill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top