Solved

WIndows Task Scheduler Permissions

Posted on 2016-09-20
6
73 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
[X]
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
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

690 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