Re: Can run Scheduled Task once only

From: Dave Patrick (mail_at_Nospam.DSPatrick.com)
Date: 02/07/05


Date: Mon, 7 Feb 2005 09:50:52 -0700

You may need to add the user/ group 'logon as batch job' rights.

Logon type 4 is logon as batch job so normally it would be;
Control Panel|Admin Tools|Local Security Policy\Local Policies\User Rights
Assignments
"Log on as a batch job"

"The problem is that task runs under this account *immediately* after I
input the password"
* I've never had this happen before.

-- 
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"Alex V. O." wrote:
| Hi Dave!
|
| Here is what Log says:
| ---
| "IMPHDL_To_MT.job" (Update_IMPHDL_All.bat) 07.02.2005 7:00:00 ** 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.
| ---
|
| The problem is that task runs under this account *immediately* after I
| input the password, but on scheduled time it fails. I think Policy
| Settings can be wrong but don't know how to set them to permanently
| solve this problem.
| 


Relevant Pages

  • Re: Scheduled task doesnt run.
    ... connects to another machine you may need to add the user/ group 'logon as ... batch job' rights. ... Remember that if it involves network resources to make sure the ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Scheduler Running When Not Logged In Questions
    ... 'logon as batch job' rights. ... Security Policy\Local Policies\User Rights Assignments ...
    (microsoft.public.windowsxp.general)
  • Re: Scheduled tasks only run if logged in
    ... If the job connects to another machine you may need to add the user/ group 'logon as batch job' rights. ... 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 natively exist when no one is logged on. ...
    (microsoft.public.windows.server.general)
  • Re: Can run Scheduled Task once only
    ... Also make sure the account isn't listed as 'Deny logon as batch job' ... Windows 2000 but the steps should be the same. ... | In Local Policy I can't add users directly to Logon as Batch right ...
    (microsoft.public.windows.server.general)
  • Re: batch file schedule fails on windows server 2003
    ... backup operation. ... requested logon type at this computer. ... Created a dedicated account and added it as member of administrator ... After adding the user to Logon as a batch job, ...
    (microsoft.public.windows.server.general)