Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

WIndows Task Scheduler Permissions

Posted on 2016-09-20
6
56 Views
Last Modified: 2016-09-20
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?
0
Comment
Question by:lrbrister
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 41806466
scheduler item set to run under the same user?
0
 

Author Comment

by:lrbrister
ID: 41806467
Gautham
Yes.
0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 41806469
did u try adding some logging to the app to see where its getting stuck.. Do you see the form when the scheduler runs?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:lrbrister
ID: 41806478
No... I never see the form... even when running direct.
Here are screen prints of the Task

sp2sp3sp4sp5sp6SP1.png
0
 
LVL 29

Accepted Solution

by:
Gautham Janardhan earned 500 total points
ID: 41806486
its hidden because "Run only when user is logged in" is unchecked.. to debug try setting that
0
 

Author Closing Comment

by:lrbrister
ID: 41806619
Did the debug... I was referencing a file without the full path
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question