In order to assign this right, perform the following procedure:
1. Start à Run à gpedit.msc
2. On the left pane, Expand: Security Settings à Local Policies à user Rights Assignment
3. On the right pane, double click 'Log On As Batch Job'
4. Click 'Add user or group' and select the required user
5. Click OK and close the window.
.gif)

.gif)