Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows Task Scheduler kills tasks that appears to be non-responsive

09 Nov 2012   #1
mariobiron

Windows 7 Pro 32 bits
 
 
Windows Task Scheduler kills tasks that appears to be non-responsive

Hello,

I have scheduled a program to run every morning that will pull data out of our SQL server (the tool is "Toad"). I want to have that data ready when I come in the morning.
Problem is, at that time, there are other tasks running on the SQL server making in slower to spit the data out, but it eventually sends it, always. Windows 7 (or the Task Scheduler itself, I am not sure which one) seems to think that the program has become unresponsive and stops it.
When I look at the history of the task, it says the last execution status is "(0x0)" meaning completed successfully. I know it did not because the Excel spreadsheets that receives the data is still open and hasn't received all the data it should - it nevers stops at the same point so it is not an issue with my retrieval scripts.
If I launch the task manually during the day, when the SQL server will respond in a timely manner, the task will complete successfullly.
If I use the tool itself, it never gets killed, and I haven't seen Window complain it has become unresponsive even when it runs for a long time.
So if anyone else experienced this issue and has solved it, how did you do it?
Otherwise, anyone knows of any settings that would prevent Windows or Task Scheduler to kill what it thinks are unresponsive tasks or at least, change the delay before it thinks so?
Thanks!


My System SpecsSystem Spec
10 Nov 2012   #2
oreo27

Windows 7 Ultimate x64 Service Pack 1
 
 

Quote   Quote: Originally Posted by mariobiron View Post
Hello oreo27!
Thanks for the quick reply and suggestion; I did indeed open a new thread after I answered this one, but I wanted to maximize my chances of getting an answer by doing both since he appeared to have suffered the same issue I did!
If by any chance you can remember what the registry key is, my new thread is here: Windows Task Scheduler kills tasks that appears to be non-responsive

Thank you!

Well, as for the registry key I lucked out. I just can't seem to find it.

However, there might be a silver lining in this program:

Ultimate Windows Tweaker, a TweakUI for Windows 7 & Vista

Go to the Performance tab.

There is an option there to change the kill time for non responsive tasks. I believe the maximum option is 5 seconds as opposed to the default of 4. I know that's not much gain but maybe if you can find the exact registry key it edits, you can manually edit that.

Another thing is a checkbox that says "Auto-end non-responding applications". On my system however, that is already unchecked. I'm not sure if I changed that at any given point in time so I would assume that's by default.

I can't vouch for the effectiveness of that app as I barely used it, only to customize OEM info before.
My System SpecsSystem Spec
Reply

 Windows Task Scheduler kills tasks that appears to be non-responsive




Thread Tools





Similar help and support threads
Thread Forum
Windows kills a task that appears non-responsive but is just slow
I am trying to create a DVD using Cyberlink PowerDirector. It reaches 21%, at which point Windows 7 deems it non-responsive and kills it. I tried it on my old Windows XP machine and noticed that it DOES sit at 21% for a very long time (minutes) but eventually soldiers on to successful completion....
Performance & Maintenance
Task Scheduler not Running Tasks
I created two tasks (Utorrent and Flashget) to run at 12:15 am every night but the tasks refuse to startup. I usually hibernate my computer at night so i have the two tasks "wake computer up to run this task" (the computer does wake itself up) The only way i can get it to run is if i manually run...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
Task Scheduler not preforming tasks.
I scheduled a .exe file to run on IE event. However that task does not seem to be running. At them moment all the .exe does is make the notepad window active (just testing at the moment) but this is not happening. I think I may not be understanding how task manager works. Any help is much...
General Discussion
Renaming Task Scheduler Tasks
Is there a way to rename tasks in Task Scheduler? Also, where does Win 7 Pro x64 store the task jobs? Thanx.
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:21.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App