Windows task scheduler – resolving error – “This task scheduler requires that user account specified has Log on as batch job rights”

Hi All,
Greetings for the day!
Today new issue and solution 🙂
Details:
- We have implemented one .Net application – which was traversing through our SharePoint list and finding inactive users in our list
- Job is working fine but we want to schedule it on daily basis
- So on one of server, I went to – Task Scheduler and trying to schedule the job
- After setting all properties, when I submitting job I am getting an following error

Error while scheduling task – “This task requires that the user account specified has Log on as batch job rights”.
If I go to History tab and check – there is following error
Task Scheduler failed to start “\SharePoint List – Inactive Users Job” task for user local\Prasham”. Additional Data: Error Value: 2147943785.
Solution
- As I am not Windows person, I was not aware much about this error
- I tried to bit google but not much luck
- On one site found the solution like – “This is a user right that’s applicable to the local system. You can grant the right locally”
- So I went added the respective user to “Administrator” group on server
Steps to add user in “Administrator” groups
- Log in to server
- Navigate to “Server Manager“

- As we navigate to “Server Manager“, from right top corner – from “Tools” menu , select “Computer Management” as shown in below fig

- From “Computer Management (Local)” >> Local Users and Groups – select Administrators group as in below figure

- Add the respective user to the “Administrators” group as shown in below figure

- Once respective user is added successfully to “Administrators” group, job executed successfully 🙂
Thanks for reading ! HAPPY LEARNING ! LIFE IS BEAUTIFUL 🙂

You must be logged in to post a comment.