Re: batch file schedule fails on windows server 2003
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Mon, 2 Apr 2007 17:18:36 +1000
"Matta" <mattasrinivas@xxxxxxxxx> wrote in message
news:1175495480.037196.231350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
schedule
Matta wrote:
On Mar 30, 7:00 pm, "Pegasus \(MVP\)" <I...@xxxxxxx> wrote:
"Matta" <mattasrini...@xxxxxxxxx> wrote in message
news:1175244509.906868.319000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 30, 12:54 pm, "Pegasus \(MVP\)" <I...@xxxxxxx> wrote:
"Matta" <mattasrini...@xxxxxxxxx> wrote in message
news:1175233135.527003.52200@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am scheduling a batch file to start in the midnight (11pm) for
backup operation. When I come and see in the next morning the
failed,is a fail.
The log file says following :
--------------------------------------------------
"bkup.job" (bkup.bat) 3/29/2007 11:00:00 PM ** ERROR **
The attempt to log on to the account associated with the task
trytherefore, 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
isagain.
----------------------------------------------------
I am running the schedule as Administrator and correct password
ofset.
Another observation, here if I schedule the task in next couple
11AMhours it works fine,
i.e. In the morning at 10 AM if I schedule the task to start at
accessit works fine.
Can anyone tell me why this is happening...
Thanks,
Matta
Create a dedicated account and give it sufficient privileges to
ntthe folders to be backed up. Now set the policy so that this accou
undercan log on as a batch job, then schedule the backup job to run
tothis dedicated account.
For testing purposes I would also create a job that is scheduled
batchrun every five minutes, under the same account, executing the
too?file below. When your backup job fails, does the test job fail
job.- Hide quoted text -@echo off
echo %date% %time% >> c:\test.log- Hide quoted text -
- Show quoted text -
hi,
Thanks for the info...
Created a dedicated account and added it as member of administrator
and backup operators groups.
How can I set the account to log on as a batch job, what is the
process?
Thanks
Matta
Local Computer Policy / Computer Configuration / Windows Settings /
Security Settings / Local Policy / User Rights / Logon as a batch
- Show quoted text -
Hi,
After adding the user to Logon as a batch job, I am still seeing the
same error:
"backup.job" (vssbkup.bat) 4/2/2007 1:00: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.
Regards,
Matta
Sorry, When I try to add the user to Logon as batch job and clikc
apply, I am seeing following message:
---------------------------
Security Templates
---------------------------
Access is denied.
Failed to save \\adm.key.com\sysvol\adm.key.com\Policies
\{31B2F340-016D-11D2-945F-00C04FB984F9}\Machine\Microsoft\Windows NT
\SecEdit\GptTmpl.inf. Make sure that you have the right permissions to
this object.
---------------------------
OK
---------------------------
Any clues why I am getting this message?
Thanks
Matta
Either you are not a domain administrator when you do this,
or else you have a problem with domain policies (about which
I am not well qualified to talk).
I am somewhat concerned about the accuracy of your reporting.
Two hours ago you wrote "After adding the user to Logon as
a batch job . . " whereas now you report that you were unable
to set the batch logon right for this user. The two statements
are clearly contradictory.
.
- Follow-Ups:
- References:
- Prev by Date: Re: batch file schedule fails on windows server 2003
- Next by Date: Doesnt see network
- Previous by thread: Re: batch file schedule fails on windows server 2003
- Next by thread: Re: batch file schedule fails on windows server 2003
- Index(es):
Relevant Pages
|