Solved

Executable file hangs in Task Scheduler

Posted on 2013-01-29
6
542 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: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
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: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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

831 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