Member_2_1261037
asked on
Scheduled Task for Custom App Calls EXCEL.EXE only when LOCAL ADMIN
We have a couple of VisualStusio 2010 custom apps that use EXCEL to generate output. These custom apps only run properly when the user account used in the scheduled task has LOCAL ADMIN rights. Without the admin rights, the custom app calls excel properly at the desktop, but not as a scheduled task. Is there any way to allow a custom app to call excel WITHOUT being a local admin on the server?
Is the app trying to save a file inside the users folder or some other place you need to be a local admin to access?
Hello
Your account should have some specific rights (that local admin account already has)
http://serverfault.com/questions/256196/windows-scheduled-task-what-are-the-minimum-user-rights-needed-for-the-task
Dan
Your account should have some specific rights (that local admin account already has)
http://serverfault.com/questions/256196/windows-scheduled-task-what-are-the-minimum-user-rights-needed-for-the-task
Dan
ASKER
Aaron, The application saves the file to a network path where the user already has access.
Dan, The log on as batch job rights are already assigned. Please note that the custom app runs properly from the scheduled task; it just cant call/open excel.
Dan, The log on as batch job rights are already assigned. Please note that the custom app runs properly from the scheduled task; it just cant call/open excel.
ASKER
The task runs properly. The application called by the task runs with no issues. That VS2010 application calls EXCEL, but EXCEL will only open if administrator, even though the user account can run EXCEL at the desktop level.
did you uncheck "run with highest priveledges"?
ASKER
No, the Run w/ High Priv is set.
uncheck that and see what happens
ASKER
Unchecking the option didnt fix it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Using BATCH FILE CONTAINING 'CMD.EXE /C START application.exe' in task scheduler did the trick! Thanks David!