Solved

WIndows Task Scheduler Permissions

Posted on 2016-09-20
6
41 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
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 steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now