FIX: This task requires that the user account specified has Log on as batch job rights.
If you try to create a scheduled task and receive the message "This task requires that the user account specified has Log on as batch job rights", continue reading below to learn why you're receiving this error and how to resolve it.
In Windows, the "Log on as a batch job" user right allows a user or group to run tasks as background jobs, such as scheduled tasks. This is a security-sensitive setting and is not granted to standard users by default.
More specifically, on a Windows system only the following accounts have "Log on as a batch job" rights.
- Administrator accounts (Accounts which are members of the "Administrators" group.)
- SYSTEM (A built-in Windows account with the highest privileges that is used primarily to run services and basic operating system processes).
- LOCAL SERVICE (A built-in Windows account used to run services with limited privileges)
- NETWORK SERVICE (A built-in Windows account used to run services needed for the network access).
As you can see from the above, the error message "This task requires that the user account specified has Log on as batch job rights" in Task Scheduler means that the user account specified to run the task does not have the necessary permissions to do so.
How to FIX: "Task requires Log on as batch job rights" in Task Scheduler on Windows 11/10 or Server.
To fix the aforementioned problem, you have the following solutions:
- Assign another user who has administrative rights to perform the task.
- Add the user to the Administrators group.
- Give the User "Log on as batch job rights".
Of the above solutions, and in case you have Windows 11/10 PRO or Enterprise or Windows Server, it is better to apply the third one and give the User "Log on as a workgroup" rights, by modifying the Local Security Policy (or the Domain Policy), as instructed below:*
* Note: If you have a HOME version of Windows, the only applicable solutions to bypass the aforementioned problem are the first two, because these versions do not have a policy editor (such as "secpol.msc" or "gpedit.msc").
1a. Press the Windows + R keys to open the Run command box.
1b. Type "secpol.msc" and press OK.
2a. In 'Local Security Policy' editor, navigate to:*
- Security Settings > Local Policies > User Rights Assignment.
* Note: If you want to modify the Domain Policy, then on your DC open the Group Policy Management and go to:
- Computer Configuration > Policies > Windows Setting > Security Settings > Local Policies > User Rights Assignment-
2b. Open the Log on as a batch job policy on the right.
2c. Click Add User or Group.
2d. Type the username of the user that you want to run the task and then click OK.
3a. Then open the Deny log as a batch job policy.
3c. Here, make sure that the account you added in the previous step is not listed here. (If so, remove it). Click OK when done.
4. Close the 'Local Security Policy' editor.
5. Now open the Task Scheduler, go to your task, and finish configuring it by choosing to be run by the user you gave "Log on as batch job" permissions to (in step "2d" above).
That's it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.
Frequently Asked Questions
What does the error message 'This task requires that the user account specified has Log on as batch job rights' mean?
This error message indicates that the user account designated to run the scheduled task does not have the necessary 'Log on as a batch job' permissions required to execute tasks as background jobs on Windows.
How can I resolve the 'Log on as batch job rights' error on Windows?
To fix this error, you can either assign a user with administrative rights to the task, add the user to the Administrators group, or give the specific user 'Log on as batch job rights' using the Local Security Policy editor in Windows PRO, Enterprise, or Server versions.
Can I fix this error on Windows HOME edition?
For Windows HOME edition, you can't use the Local Security Policy editor since it's unavailable. You can only resolve this error by assigning an administrative user to the task or adding the user to the Administrators group.
How do I give a user 'Log on as batch job rights' in Windows?
To grant these rights, open the 'Local Security Policy' editor by pressing Windows + R, type 'secpol.msc', and navigate to 'Security Settings > Local Policies > User Rights Assignment'. Add the user to the 'Log on as a batch job' policy while ensuring the user is not listed under the 'Deny log on as a batch job' policy.

