"Task Schedule: This task requires that the user account specified has Log on as batch job rights".
To solve this issues follow this instructions:
- Click Start,
- In "Start Search" type secpol.msc and press Enter.
- In "Local Security Policy" window, click to expand "Local Policy".
- Click to open "User Rights Assignment".
- In the right panel, right click on "Log on as a Batch job" then click on "Properties".
- In "Log on as batch job Properties" window, click "Add User or Group" and include the user or group do you need.
- Click OK, and close "Local Security Policy" window.
Now you are ready to running a bat file application from Task Schedule.
Congratulation you are done ;)
Hi,
ReplyDeleteThanks. I followed but the button "Add User or Group" is greyed out.I am adding it in our DC. Pls adv.
Regards,
Jett
Hi Jett,
DeleteIf you server is under DC, you need Set Up "Log on as a Batch job" policy in the "Group Policy Management"
Click "Start", in "Start Search" type "gpmc.msc" and press Enter
Click to expand "Forest" > "Domain" > "Domain Name of your Organization"
Right Click in "Default Domain Policy" and click on "Edit"
In "Computer Configuration", click to expand "Policies" > "Windows Settings" > "Secutity Settings" > "Local Policies", then click in "User Right Assignment"
In the Policy panel seach "Log on as a batch job" policy, on "Log on as a batch job" policy right click and select properties.
In "log on as a batch job Properties" window, click to check "define these policy settings:"
after that click "Add User or Group" and include the user or group do you need..
and click OK to close all open windows.
enjoy it :-)
Thanks for the post! This was exactly what I needed.
ReplyDeleteHi,
ReplyDeleteThanks for useful blog.
Regards,
Faisal
Thanks this is exactly what I was looking for!
ReplyDeleteThanks this is exactly what i was looking for!
ReplyDeleteit was very helpful, thanks osmani.
ReplyDelete