Solved

Executable file hangs in Task Scheduler

Posted on 2013-01-29
6
544 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
[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
  • 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:Marc Z
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
Independent Software Vendors: 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!

 

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:Marc Z
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

Independent Software Vendors: 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

So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

756 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