Solved

Scheduled Task Permissions

Posted on 2006-07-13
4
505 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
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:Pber
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
That was it!  Thanks for the help.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now