Product:
Microsoft Windows 2019
Issue:
Message when you try to add a schedule
Solution:
On the local server use Local Security Policy manager:
- Click START and type
secpol.msc
then press Enter - Expand Security Settings > Local Policies > User Rights Assignment node
- Double click
Log on as a batch job
- Click the Add User or Group button and add your service account user
- Click OK
You should use a service account that is part of the administrator group, to ensure it have rights to do the task you have in your cmd script file.
More Information:
https://www.urtech.ca/2019/06/solved-this-task-requires-that-the-user-account-specified-has-log-on-as-batch-job-rights/