?
Solved

Scheduled Task Permissions

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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

764 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