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: How do I get Task Scheduler to stop running a deleted Task

16 Apr 2016   #1
Teepot

Windows 7 Home Premium 64bit SP1
 
 
How do I get Task Scheduler to stop running a deleted Task

I've been searching for days trying to find how to fix this issue. It came about when a hard disk crashed without warning and I didn't have a current backup. My bad, but fortunately it wasn't the system disk so I've been able to recover from the disk just dying. During the recovery phase, I installed a NAS and reorganized all my PC storage disks to off load all the backup functions to the NAS.

When the crash happened, I had a task set up in Task Scheduler that made a backup of a selected set of files. After the crash, I moved the receiving location for these files and made the necessary change to the shceduled task along with a change in the Trigger to an earlier time. Since making these changes, the task has been running fine.

Now for the strange part. Even though I made and saved the changes to the original task and it runs without error, the old task continues to run and gives an error message that it can't find the old receiving directory. And stranger still, the directory named in the error still exists !

There is no task in Task Scheduler referencing the directory in the error and a search of the Registry shows no reference anywhere to that same directory. Thinking there might be some glitch in the Task Scheduler from modifying the original Task, I deleted it, built a brand new one and rebooted. Next day, right at the scheduled time, the new Task runs just as before with no errors, but later the 'phantom' task runs at the time for the old, deleted task !

I feel like I'm caught in a 'Ground Hog Day' situation where no matter what I do, I have to relive the same the same moment over and over and over. Does anyone have any ideas for solving this ?


My System SpecsSystem Spec
.
16 Apr 2016   #2
pbcopter

Windows 7 Ultimate x64 SP1, Windows 8.1 Pro x64, Windows 10 Pro x64
 
 

Hi and Welcome.

The tasks for the Task Scheduler are located in the C:\Windows\System32\Tasks folder. You might check to see if there is an extra task there that is not shown in the task scheduler.

Also, have you checked, under view in the task scheduler that show hidden tasks is checked?
My System SpecsSystem Spec
16 Apr 2016   #3
Teepot

Windows 7 Home Premium 64bit SP1
 
 

Thank you pbcopter !!!

I already had the Show Hidden Tasks checked. I had also looked in the C:\Windows\System32\Tasks directory, but not carefully through the entire sub-structure. When I did that after your suggestion, I found an orphan task that didn't show anywhere in Task Scheduler in C:\Windows\System32\Tasks\Microsoft\Windows. I have no idea how it got there, but by it's name I'm sure it's the one that's been haunting me. I deleted it and expect that to solve my problem.

SevenForum rocks and thanks again.
My System SpecsSystem Spec
.

16 Apr 2016   #4
pbcopter

Windows 7 Ultimate x64 SP1, Windows 8.1 Pro x64, Windows 10 Pro x64
 
 

Good going. I hope it works out.
My System SpecsSystem Spec
Reply

 How do I get Task Scheduler to stop running a deleted Task




Thread Tools




Similar help and support threads
Thread Forum
task in task scheduler test running never completes?
I created a batch file. it works fine, opens command prompt runs the task, then it exits. I set the task up in task scheduler. There is a run button, when run it goes from ready to running and never stops... I can select end. The task simply takes 7 seconds when I run it as clicking on the batch...
General Discussion
Prevent a task in Task Scheduler from running
Hello to everyone, I'm getting so so frustrated by Yandex Browser (I'm too lazy right now to replace it with another browser) since it creates an update task without my consent. I tried everything, Yandex settings, deleteting the task, deleting the update.exe file, rinominating the update...
Performance & Maintenance
Win-7 Task Scheduler deleted a task but ...
Win-7 Task Scheduler deleted a task and announces that twice when I start the TS and move to my personal library. When I try to create a task with the name of the one that was deleted, I am informed that it already exists. Is there any way to delete that "deleted" task to stop that damn message...
Software
Task Scheduler: running skipped task when it shouldn't?
I have a secondary computer in the network, which is supposed to stay in sleep mode most of the time. I always wake it up when necessary and put it back to sleep when it is no longer needed. I don't want it to fall asleep by itself during the day, so I set the sleep time to "Never" in Power...
General Discussion
task scheduler not running missed task
When i set task scheduler to run a program it works. But if the pc is not on at the time it will not run unless task scheduler is opened. It is set to run as soon as poss after scheduled time and task scheduler itself starts and runs properly
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 18:41.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App