I've run into a problem with Task Scheduler and it has me completely stumped.
I'm running Windows XP Professional w/SP2. I've created a scheduled task
and the task is configured to start at 12:01 AM and run every minute until
11:59 PM. It's a very basic batch job which never takes more than about 2
seconds to run. Before creating the task, I created a local user account
with Admin priviledges. I used this account as the credentials for the task.
The task runs, as scheduled, for hours at a stretch. Then, mysteriously, the
task stops running. When I look in "Task Schdeduler" the task shows "Could
not start". When I check the log file, I see:
"ScanForNICChanges.job" (ScanForNICChanges.cmd) 4/17/2008 11:39:00 AM **
ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
The specific error is:
0x80070569: Logon failure: the user has not been granted the requested
logon type at this computer.
Verify that the task's Run-as name and password are valid and try again.
As I stated before, the user account I use is a local administrator on the
system. My solution to this problem is to simply re-enter the user password
for the task. Once I do that it works again for another 1/2 day or so. So
it appears that Task Scheduler is losing the credentials but why?
|