Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

WIndows Task Scheduler Permissions

I have a WinForms executable I am trying to run in a task scheduler on our server that I remote to
I have full Administrative Permissions
The form is designed to open... run a sub... and close
If I direct click on the exe it runs perfectly
But not in the scheduler
The executable runs... and stays open in the Task Manager... then closes after the "Stop after..." period.
Without performing the task it is designed to run

So... any ideas?
Avatar of Gautham Janardhan
Gautham Janardhan

scheduler item set to run under the same user?
Avatar of Larry Brister

ASKER

Gautham
Yes.
did u try adding some logging to the app to see where its getting stuck.. Do you see the form when the scheduler runs?
No... I never see the form... even when running direct.
Here are screen prints of the Task

User generated imageUser generated imageUser generated imageUser generated imageUser generated imageSP1.png
ASKER CERTIFIED SOLUTION
Avatar of Gautham Janardhan
Gautham Janardhan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Did the debug... I was referencing a file without the full path