Solved

Scheduled Task Permissions

Posted on 2006-07-13
4
512 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

696 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