Avatar of QLJ
QLJ
Flag for Afghanistan asked on

Windows 2003 scheduler could not start

I am trying to run a scheduler task and I suspect there is a rights/privilege issue. It does not start manually even as an administrator.
Operating SystemsWindows Server 2003Microsoft Forefront ISA Server

Avatar of undefined
Last Comment
Computer101

8/22/2022 - Mon
SysExpert

1) Did you check the Task Scheduler log ?

2) If it is a batch file, have you tested it manually ?

What exactly are you trying to run.

Please provide all the info put into the task scheduler.


I hope this helps !

QLJ

ASKER
The task scheduler log says that "The attempt to retrieve account information for the specified task failed.... No account information could be found"

It is just a simple .bat file:
time /t >current.txt

It runs manually, but failed to run as a scheduler task, even if I chose to run the task manually
r-k

Try two things:

(1) Make sure the domain name/username for the scheduled task is set correctly. Use the "Set password" button and retype the password. Also make sure the "run only if logged in" check-box is not checked.

(2) If the above doesn't do it, delete all scheduled tasks, restart the machine and add them back in.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
QLJ

ASKER
I do not have this "run only if logged in" check-box .. how else can I check?

deleted all scheduled tasks, restart the machine and add them back in --> still fail
r-k

"I  do not have this "run only if logged in" check-box .."

If I open the "Properties" for any scheduled task, and click on the "Task" tab, I see it near the bottom, just above the box that reads "Enabled (scheduled task runs....)"

Are you not seeing this? Are you running Win 2003 SP2?

QLJ

ASKER
no. I am running SP1
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SysExpert

You may have to prefix the time command with cmd

cmd time /t >current.txt

I hope this helps !
QLJ

ASKER
nope. It did not help.
the .bat file ran well anyway... except that when it was put to scheduler, it could not run.

Appreciate if anyone could share all the rights/privilege needed for a scheduler job to run. Thanks!
serialband

Is that command "time /t > current.txt" in the batch file?  Have you tried using the full path "time /t > c:\LogDirectory\current.txt" instead?  You may be creating a current.txt file in an unexpected place.  Have you tried just scheduling the command with the arguments?  I don't bother placing single line commands in batch files.

Are you sure the scheduler did not run?  Open the Scheduled Tasks folder and check the run time to see if the scheduler ran.  Are you getting errors when it runs at the scheduled time?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
newguy42

http://support.microsoft.com/kb/867466/en-us

Article name may be a bit decieving but we had a similiar problem and this fixed it.
ASKER CERTIFIED SOLUTION
Computer101

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.