Can't run Scheduled Task with non-Admin
Posted on 2007-10-12
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!