Solved

Scheduled Task Permissions

Posted on 2006-07-13
4
514 Views
Last Modified: 2012-08-14
I have a scheduled task that is set to run an .exe under my account, which is a domain admin.  If I double-click the .exe, the program runs as expected.  However, the scheduled task fails to run with a "Could not start" error.  I recently had some issues with my GPO and had to do a dcgpofix.  I'm thinking that my scheduled task problem has to do with the fact that my account does not have the necessary permissions to run tasks.  What permissions do I have to grant in order to get this to work?
0
Comment
Question by:rtedi222
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:Pber
ID: 17099541
If the account you are running it under is a domain admin, I wouldn't think it would be a permissions issue.  If it is a permissions issue, you probably need "Run as a Batch" right defined in the local policy.  It could also be a path issue, make sure the path and the startup directories are correct in the scheduled task.
0
 

Author Comment

by:rtedi222
ID: 17099828
I meant to add that I have the following item in my security event log every 15 minutes, which is how often the scheduled task is set to run:

The user has not been granted the requested logon type at this machine.
0
 
LVL 26

Accepted Solution

by:
Pber earned 125 total points
ID: 17099903
Load the "Local Security Policy" on the local machine (type gpedit.msc at the run prompt).

Navigate to:

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment

Add the user to the following Policies:
* Log on as a Batch Job
* Log on as a service

Reboot the machine and try running the task.
0
 

Author Comment

by:rtedi222
ID: 17117329
That was it!  Thanks for the help.
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question