Solved

WIndows Task Scheduler Permissions

Posted on 2016-09-20
6
33 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

760 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