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
<(E-Mail Removed)> wrote:
| 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 Removed)
|