[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Scheduled Task Permissions

Posted on 2006-07-13
4
Medium Priority
?
517 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 500 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

650 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