0x80070569: Logon failure: the user has not been granted the requested logon type at this computer.

E

Eridano

Hi.
In a Windows 2000 domain, I defined a domain user (dom\StartTask)
member of Domain Users and Users domain group with password never
expires and set in Domain Security Policy 'Deny Access to this computer
from the network' and 'Deny logon
locally'. After this, in a member server (Server01), I create a
scheduled task and associate with defined user.
The task doesn't run and in View Log I see the following message:
----
"xxxx.job" (xxxx.bat) 12/22/2005 11:59:59 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.
----
In Event Viewer (Security) the event :
Logon Failure:
Reason: The user has not been granted the requested
logon type at this machine
User Name: StartTask
Domain: dom
Logon Type: 4
Logon Process: Advapi
Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Workstation Name: Server01
----
The strange think is that after I reset the password, the scheduled
task works.
Could you help me?

Ivan Cella
(e-mail address removed)
 
D

Dave Patrick

Logon Type: 4 = logon as batch job so normally it would be; Control
Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
Assignments and add the user to "Log on as a batch job" on the target
machine.

--

Regards,

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

| Hi.
| In a Windows 2000 domain, I defined a domain user (dom\StartTask)
| member of Domain Users and Users domain group with password never
| expires and set in Domain Security Policy 'Deny Access to this computer
| from the network' and 'Deny logon
| locally'. After this, in a member server (Server01), I create a
| scheduled task and associate with defined user.
| The task doesn't run and in View Log I see the following message:
| ----
| "xxxx.job" (xxxx.bat) 12/22/2005 11:59:59 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.
| ----
| In Event Viewer (Security) the event :
| Logon Failure:
| Reason: The user has not been granted the requested
| logon type at this machine
| User Name: StartTask
| Domain: dom
| Logon Type: 4
| Logon Process: Advapi
| Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
| Workstation Name: Server01
| ----
| The strange think is that after I reset the password, the scheduled
| task works.
| Could you help me?
|
| Ivan Cella
| (e-mail address removed)
|
 

RAK

Joined
Aug 1, 2006
Messages
1
Reaction score
0
Same problem, check the fine print...

Perhaps you missed the key sentence, Dave: after every reboot, the password has to be reset to run the job.

I have a scheduled task that runs fine using the given credentials until the host server is rebooted. Then the task fails without any change to the credentials.
If you then login (with the same account, or different) you cannot run the job (manually or by adjusting schedule) until you reset the password. Then it works as advertised.
 

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