10 pts.
0
Q:
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?
ASKED: Aug 21 2008  7:35 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
10590 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 Answered: Aug 21 2008  12:26 AM GMT by Schmidtw   10590 pts.
Latest Contributors: Jaideepkhanduja   6375 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0