Tips - Granting "Logon as a batch job" on windows Server - Error: this task requires that the user account specified has log on as batch job rights

How do I grant the Logon as a batch job privilege to my user account?

On Windows, this privilege is granted through the Local or Domain Security Policy. To do this using the Local Security Policy, follow these steps.

In the Control Panel, open Administrative Tools, then Local Security Policy.
Beneath Security Settings, open Local Policies and highlight User Rights Assignment.
Locate Log on as a batch job. Open the properties and add any users that need this right.
When finished, save your changes and close the Local Security Settings window.
Your changes should take effect immediately. 

To make changes to the Domain Security Policy, on a domain controller, use the Domain Security Policy utility in the Control Panel.