Scheduled Tasks Quit

G

Guest

I have the start of a new Active Directory Domain with 2 servers only
I created a simple batch file to write the current time to a file
The task is scheduled to run on the base "Forest Server" every hou
for 2 days. This task works just fine. I take the same task and schedul
it on the second server in the AD domain and get this result for 7 or
times

======================================================
"DebTest.job" (DebTest.bat
Started 6/1/2004 12:50:00 P
"DebTest.job" (DebTest.bat
Finished 6/1/2004 12:50:00 P
Result: The task completed with an exit code of (0)
========================================================

Then the scheduled task starts to do this..

============================================================
"DebTest.job" (DebTest.bat) 6/2/2004 12:10:00 PM ** 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
"DebTest.job" (DebTest.bat) 6/2/2004 12:19:59 PM ** ERROR **

What has gone wrong? Any help would be greatly appreciated.
 
P

Paul Bergson

Does the account have the privilege to run as a service on this box. Check
the local policy, I'm guessing no.

--

Paul Bergson MCT, MCSE, CNE, CNA, CCA


Doug Boulton said:
I have the start of a new Active Directory Domain with 2 servers only.
I created a simple batch file to write the current time to a file.
The task is scheduled to run on the base "Forest Server" every hour
for 2 days. This task works just fine. I take the same task and schedule
it on the second server in the AD domain and get this result for 7 or 8
times.

=======================================================
"DebTest.job" (DebTest.bat)
Started 6/1/2004 12:50:00 PM
"DebTest.job" (DebTest.bat)
Finished 6/1/2004 12:50:00 PM
Result: The task completed with an exit code of (0).
========================================================

Then the scheduled task starts to do this...

============================================================
"DebTest.job" (DebTest.bat) 6/2/2004 12:10:00 PM ** ERROR **
The attempt to log on to the account associated with the task failed,
therefore, the task did not run.
 
G

Guest

Paul

The account in question has the right to run as a service. Any other suggestions..

----- Paul Bergson wrote: ----

Does the account have the privilege to run as a service on this box. Chec
the local policy, I'm guessing no

--

Paul Bergson MCT, MCSE, CNE, CNA, CC


Doug Boulton said:
I have the start of a new Active Directory Domain with 2 servers only
I created a simple batch file to write the current time to a file
The task is scheduled to run on the base "Forest Server" every hou
for 2 days. This task works just fine. I take the same task and schedul
it on the second server in the AD domain and get this result for 7 or
times
"DebTest.job" (DebTest.bat
Started 6/1/2004 12:50:00 P
"DebTest.job" (DebTest.bat
Finished 6/1/2004 12:50:00 P
Result: The task completed with an exit code of (0)
=======================================================
"DebTest.job" (DebTest.bat) 6/2/2004 12:10:00 PM ** ERROR *
The attempt to log on to the account associated with the task failed
therefore, the task did not run
 

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