Solved

Executable file hangs in Task Scheduler

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

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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
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 go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

705 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