From time to time, I have to set up some scheduled tasks that required a dedicated account to run. And when doing so, I'll usually forget that the dedicated account usually isn't given any more permissions than what it needs to complete the task at hand. So, after setting up the task, Windows will usually yell at me and say "The account needs batch job rights". So here's how to grant batch job permissions on your server.
Go to your start menu, and start searching for Local Security Policy
In the left pane of the MMC that opens up, expand Local Policies, and highlight User Rights Assignment.
Now, in the left right pane, locate "Log on as a batch job" and double click it. In the properties window that opens up, add the user or group that needs this permission. I find that if you have multiple service accounts running different tasks on the same server, it's easier to just add a group verses the individual accounts.
From there, hop back into the Task Manager and create your task with the dedicated account of your choice.
Comments
Post a Comment