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?
Larry Bristersr. DeveloperAsked:
Who is Participating?
Gautham JanardhanConnect With a Mentor Commented:
its hidden because "Run only when user is logged in" is unchecked.. to debug try setting that
Gautham JanardhanCommented:
scheduler item set to run under the same user?
Larry Bristersr. DeveloperAuthor Commented:
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

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

Larry Bristersr. DeveloperAuthor Commented:
Did the debug... I was referencing a file without the full path
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.