Problem with scheduled task "this task requires that the account specified has log on as batch job rights"
Hi.
I have a Windows 2008 server SP2 server, domain controller. On this server i have to schedule a task job, so i login as "administrator" and try to create it, but when i confirm the job creation, i receive the message in the subject "this task requires that
the account specified has log on as batch job rights".
I guess "administrator" (which is the domain admin) has all the rights needed...what am i supposed to do?
Thank you
January 25th, 2012 11:33am
Try this :
1. Start -> Run
2. Type in secpol.msc /s
3. Select "Local Policies" in MSC snap in
4. Select "User Rights Assignment"
5. Right click on "Log on as batch job" and select Properties
6. Click "Add User or Group", and include the relevant user.
Hope this helps...Gopi Kiran |Facebook| This posting is provided AS IS with no warranties,and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2012 11:41am
Hi Gopi and thank you for your reply.
Anyway, i've followed your instruction, but when i open the "log on as batch job properties", the button "add user or group" is grey (i cannot click on it).
Here is the screenshot
http://oi44.tinypic.com/2eezebt.jpg
As I said, i've done the log in as administrator...
January 25th, 2012 11:57am
David,
This policy is grayed out because is overwritten by some particular domain policy. You should find that policy and edit it. Let Group Policy Management console.
please follow this Thread on How to reset Default Domain Policy:
http://social.technet.microsoft.com/Forums/en/winserverDS/thread/e8a7c194-d3bf-4e1c-857c-7f779cc86705
and goggling and found this thread with the similar issue :
http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/760ee186-8074-40a5-95b0-35d17c2bdfab
Hope this helps..
Gopi Kiran |Facebook| This posting is provided AS IS with no warranties,and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
January 25th, 2012 12:08pm
Hi,
The policy is grayed out as it is overwritten domain GPO. Please follow the steps below to find out this GPO.
1.
Run rsop.msc on this domain controller.
2.
Navigate to [Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment: Log on as a batch job]
3.
Double click to open "Log on as a batch job" and check the Precedence tab.
You will find the GPO name. Then, please edit this GPO to add administrator to "Log on as a batch job" policy. Also check
the "Deny log on as a batch job" policy and make sure administrator is not listed in it.
Hope this helps.
Regards,
Bruce
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback
for TechNet Subscriber Support, contact tnmff@microsoft.com.
January 26th, 2012 1:48am
Hi Gopi and Bruce and thank you for your support.
I've tried to follow Gopi's suggestion and reset default domain policy from the command prompt, but i've received an error referring to the AD schema just as the one in the thread you've linked.
So i've tried Bruce solution, run rsop.msc and checked which policy was overriding the one i was trying to edit. Then i've edited the policy from the Group Policy Management Console...and that's it! Now i'm able to save my scheduled task without errors!
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2012 3:40am
Glad to hear the information I provided was useful. If you have more questions in the future, you’re welcomed to this forum.
Have a nice day!
January 26th, 2012 4:08am