[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 354
  • Last Modified:

Log on as a batch job

I'm attempting to set up a batch job on a server in the task scheduler, However, when I set it up and hit ok, I get the message stating that, "This task requires that the user account specified has a Log on as batch job rights."

I did a bit of research and found that it needs to be fixed in the "Local Security Policy". I then took a look at both "Deny log on as a batch job" and "Log on as a batch job" under the local security policy, but the option to add a user or group is grayed out. Would anyone happen to know a fix for this? Thanks!
0
CPKGDevTeam
Asked:
CPKGDevTeam
  • 2
2 Solutions
 
becraigCommented:
Are you running secpol.msc as administrator ?
0
 
CPKGDevTeamAuthor Commented:
Yes I am.
0
 
becraigCommented:
This sounds as though this might be controlled by group policy, you will need to use the group policy editor to make this change.
0
 
Sreejith SugathanCommented:
Run RSOP and find out if the Logon as  batch job/Deny logon etc are actually getting applied from any policies. If it is getting applied, you will be able to identify the policy and can edit that policy instead of doing it on local policies.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now