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
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.
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?
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?
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 !