For Programmers: Free Programming Magazines  


Home > Archive > MSDN > May 2005 > Scheduled Task Permissions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Scheduled Task Permissions
CSundquist

2005-05-11, 3:57 pm

I have a scheduled task that executes an exe that essentially creates new
files on another server, moves the files to different directories on that
same server, logs the results, and sends me an e-mail with the results of the
run. The problem I am having is that I receive “Permission Denied” errors
when the task runs as scheduled. The program launches, it writes to the log,
sends me an e-mail, but it cannot create or move any files. (The account I
use to run the scheduled task is a domain account and the account has
Read/Write/Modify permissions on the directories where files are created and
moved to.)

I can logon to the server with the account I use to run the scheduled task
and manually run the exe with no errors. I only get the errors when the task
runs on it’s own as scheduled.

If I configure the scheduled task to run as a System Admin account, the
scheduled task will run on its own with no errors.

Does anyone have any ideas why I would receive errors using anything less
than a System Admin account?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com