10 pts.
 Access to files is denied for account running scheduled task
Situation: on a Windows 2003 server I have the following issue: a scheduled job is configured to run under a domain account. When the scheduled task is executed it fails with an "access denied" to a directory on a local drive. However, when I log on to the server with the domain account in question and execute the program from the scheduled task it runs without issues and creates the files as expected in the local directory. Question: what security/group policy or other settings does a domain account need to act as the accout for a scheduled task?

Software/Hardware used:
ASKED: August 21, 2008  7:35 AM
UPDATED: August 21, 2008  12:40 PM

Answer Wiki:
On your local computer directory you have to give permissions for full access. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ DON'T GIVE YOUR USER FULL PERMISSIONS TO ANYTHING! The best way to do it is execute the scheduled task as the administrator. This means log into the bog as administrator, set up the scheduled task. Make sure to enter "Run as..." and put in the administrative user name as password; configure the task like normal otherwise. Also, make sure that the task will run, even if the administrator is logged in (there is a check box indicating whether this feature is selected or not). Log out. If someone is logged in, or it's just sitting on the log in screen, the computer will do the task. -Schmidtw
Last Wiki Answer Submitted:  August 21, 2008  12:26 pm  by  Jaideep Khanduja   8,200 pts.
All Answer Wiki Contributors:  Jaideep Khanduja   8,200 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _