Solved

Executable file hangs in Task Scheduler

Posted on 2013-01-29
6
541 Views
Last Modified: 2013-02-20
I have an executable file (*.exe) that runs fine on my Windows 7 PC.  It also runs fine on my PC when I use Task Scheduler to run the file every 10 minutes.  The file runs and Task Scheduler reports that it ran without any problems.

I can run the file on another Windows 7 PC without any issue.  However, when I try to run the file using Task Scheduler on the second PC Task Scheduler reports that the file is running but it "hangs" and never stops running.

I tried the same setup on a third PC and was able to run the file without Task Scheduler with no issues but had the same problem as with the second PC when trying to run the file using Task Scheduler.

Any thoughts?
0
Comment
Question by:dmned
  • 3
  • 2
6 Comments
 
LVL 50

Expert Comment

by:jcimarron
ID: 38836329
0
 

Author Comment

by:dmned
ID: 38837043
Those links did not seem to have any helpful information.  I did try adding the folder path of the executable to the Action tab of the task and it seems to have worked at least once on one of the PCs.  I will update later when more tasks execute.
0
 
LVL 30

Expert Comment

by:mtz1of4
ID: 38843321
Dmned, when you copied three exe to the second computers, did you confirm the properties of the file weren't set to read only or being blocked because they came from another computer.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Accepted Solution

by:
dmned earned 0 total points
ID: 38843456
No I did not check the read only attribute of the file but adding the folder path (C:\path) to the Start In option seemed to fix the problem even though the folder path was already part of the file to be executed.  See the attached screen shot.
TaskSchedExe.pdf
0
 
LVL 30

Expert Comment

by:mtz1of4
ID: 38843625
So it's now completing successfully through the Task Scheduler?

If yes, you could accept your last answer there for others to learn from.  If not, we will try to continue to help.
0
 

Author Closing Comment

by:dmned
ID: 38908716
No suggestions solved the issue.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

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

23 Experts available now in Live!

Get 1:1 Help Now