troubleshooting Question

Can't run Scheduled Task with non-Admin

Avatar of cheluto2
cheluto2 asked on
Operating SystemsWindows OS
23 Comments1 Solution14838 ViewsLast Modified:
I have a domain account that I want to use to run a Scheduled Task.  I have read several posts here regarding necessary permissions for an account to run a Scheduled Task on a Windows 2003 Server machine, and have applied the necessary permissions, but I still can't get it to work.
I get the following in the log:
"File Deployer Step 3.job" (3_BatchMoveToRs820VolStage.bat) 10/12/2007 11:37:00 AM ** ERROR **
      Unable to start task.
      The specific error is:
      0x80070005: Access is denied.
      Try using the Task page Browse button to locate the application.

First off, if I add this acct to the Administrators group, everything runs fine.  However, I don't want to do that.  I added it to the Backup Operators group, which supposedly has enough rights, but nothing.  The user has NTFS permissions to all the folders where the batch file resides, and everything else that the batch file "touches" or interacts with.  I also used CACLS to grant permissions to the Tasks folder (Full Access), but to no avail.  The user has the following User Rights assigned:
-Access this computer from the network (read somewhere it was needed)
-Allow log on locally
-Log on as a bacth job
-Log on as a service

I created this Task with another user (an Admin) and it runs fine using those credentials and while logged on as the admin user.  However, when I change the credentials to the non-admin user's, I get the message above.  If I log-in to the server with the non-admin account and run the task with the non-admin's credentials, it runs fine!  But then when I go to look at the log later, I see the error above when it runs at the scheduled times.

Any ideas?  Am I missing something?  I've rebooted the machine after applying the user rights and all, with no results.  Please help!

Thanks in advance!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 23 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 23 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros