SOLVED: This Task Requires That The User Account Specified Has Log On As Batch Job Rights

When you create a SCHEDULED TASK that needs to run automatically you will specify a service account for the job.  That service account must have permissions to run batches, so Windows will popup “This Task Requires That The User Account Specified Has Log On As Batch Job Rights” as shown on the right.

How to assign a user “Batch Job Rights” Locally

On the local server use Local Security Policy manager:

  1. Click START and type secpol.msc then press Enter
  2. Expand Security Settings > Local Policies > User Rights Assignment node
  3. Double click Log on as a batch job
  4. Click the Add User or Group button and add your service account user
  5. Click OK
  6. Have a nice day, you are done

If you find the ADD button greyed out it is likely because that policy is controlled by a Group Policy:

How to assign a user “Batch Job Rights” via GPO

On a Domain Controller (or anything with the RSAT tools installed) use Group Policy Management Editor:

  1. Click START and type Group Policy then click on Group Policy Management
  2. Either edit the existing GPO that contains existing USER RIGHTS ASSIGNMENT (likely Default Domain Policy) or right click and CREATE AND EDIT a new policy
  3. Expand Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment node
  4. Double click Log on as a batch job
  5. Click the Add User or Group button and add your service account user
  6. Click OK
  7. Have a nice day, you are done

 

 

 

 

View Comments

Published by
Ian Matthews

This website uses cookies.