Solved

Executable file hangs in Task Scheduler

Posted on 2013-01-29
6
539 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
Comment Utility
0
 

Author Comment

by:dmned
Comment Utility
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
Comment Utility
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
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

 

Accepted Solution

by:
dmned earned 0 total points
Comment Utility
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
Comment Utility
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
Comment Utility
No suggestions solved the issue.
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

Image capture and Deploy method is consist on two phases. In our first phase we capture the image of windows from the PC in which Windows and others softwares are already installed. In second phase we deploy the created image on new PC in which we…
I found out last night windows update has a problem regarding 4 latest updates that fail.  The way to get all 4 them installed is install sp1 first and restart then one by one with a resart in between as they fail every time if all the four updates …
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
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.

772 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

11 Experts available now in Live!

Get 1:1 Help Now