Scheduler not working properly, having to reset password in job

G

Guest

I have a batch file to run in schedular using a local user account that is
apart of the administrators group. The batch ran for awhile and now every
day or two I have to go to the job and reset the password to get it to work
again.

Below is the error:
Logon Failure:
Reason: The user has not been granted the requested
logon type at this machineI
 
D

Dave Patrick

Add the user/ group 'logon as batch job' rights (server side). Control
Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
Assignments
"Log on as a batch job"


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have a batch file to run in schedular using a local user account that is
| apart of the administrators group. The batch ran for awhile and now every
| day or two I have to go to the job and reset the password to get it to
work
| again.
|
| Below is the error:
| Logon Failure:
| Reason: The user has not been granted the requested
| logon type at this machineI
 
G

Guest

I already did that too, I should of stated that. Like I said it works and
then the next time it runs it doesnt work until you reset the password
setting in the job.
 
D

Dave Patrick

Scheduled Tasks|Advanced|View Log may provide some details. Remember that if
it involves network resources to make sure the user account has permissions
to the resources and also use UNC paths as mapped drives won't exist when no
one is logged on.

This article may help.

Result Codes in Scheduled Tasks Indicate an Error Occurred in the Task
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q267031


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I already did that too, I should of stated that. Like I said it works and
| then the next time it runs it doesnt work until you reset the password
| setting in the job.
 
G

Guest

Its not a network resource....Below is the error. I know the user and
password are valid and it runs after I reset the password and then stops
working the following time

"AS Database Restore.job" (pscp.bat) 8/1/2005 8:22:55 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 Database Restore.job" (pscp.bat) 8/1/2005 1:21:18 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.
"AS DB Restore.job" (pscp.bat)
Started 8/1/2005 1:23:45 PM
 
D

Dave Patrick

Any errors in the security/system log of Event Viewer?

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Its not a network resource....Below is the error. I know the user and
| password are valid and it runs after I reset the password and then stops
| working the following time
|
| "AS Database Restore.job" (pscp.bat) 8/1/2005 8:22:55 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 Database Restore.job" (pscp.bat) 8/1/2005 1:21:18 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.
| "AS DB Restore.job" (pscp.bat)
| Started 8/1/2005 1:23:45 PM
 
G

Guest

Yeah the original error I sent about the The user has not been granted the
equested
logon type at this machine

I seen other postings but no one giving a fix. Why would resetting the
password within the job make a difference
 
D

Dave Patrick

You might try deleting all jobs and then after restart recreating the jobs
since there may be corruption associated with one or more tasks.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Yeah the original error I sent about the The user has not been granted the
| equested
| logon type at this machine
|
| I seen other postings but no one giving a fix. Why would resetting the
| password within the job make a difference
 
P

Pegasus \(MVP\)

Zac Truelove said:
Did you ever get a resolution to this problem. I'm having the same issue.

url:http://ureader.com/msg/13383624.aspx

You appear to refer to a thread that is nearly three years old.
It's a little optimistic to expect that the OP is still keeping and
eye on it. Best to start afresh and to explain your problem in detail.
 

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