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?
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?
lrbristerAuthor Commented:
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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?
lrbristerAuthor Commented:
No... I never see the form... even when running direct.
Here are screen prints of the Task

lrbristerAuthor 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.