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: task in task scheduler test running never completes?

10 Nov 2017   #1

Windows 7 Ultimate x64
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 file.
So I dont think I have it configured correctly?

here is the batch file
   @echo OFF
ECHO This is a batch file

zap2xml -u -p thepassword -o myfile.xml

included some pics, you can see it has never run, when I select run, it never completes, simply says running forever?

Attached Thumbnails
task in task scheduler test  running never completes?-tsk2.png   task in task scheduler test  running never completes?-tsk1.png  
My System SpecsSystem Spec
10 Nov 2017   #2

Windows 7 Ultimate x64

I changed to only run when user is logged on.
I changed permissions on the file to everyone full control.
I get a different response, a flash of a command prompt, then it says runnning forever it says running till I end it.
Get error on description line of 0x2331

task scheduler is only for nerds with special knowledge that have insider information!

Is there an alternative downloadable program I can use to schedule this task? this is just too hard!

This one actually works, but only once per day, cant run say every 6 hours. BUT it works.
Freebyte Task Scheduler

I actually SOLVED this in win7, which should be same as win 10.
Even though this setting 'start in' says 'optional', you MUST entire the directory, cant leave it blank.
It runs everytime now I test run this.

Attached Thumbnails
task in task scheduler test  running never completes?-zap3capture.png  
My System SpecsSystem Spec
10 Nov 2017   #3

Windows 7 Ultimate x64

If you want it to run whenever anyone is logged on, unselect the password, and you have to change the file permission to give everyone full control for the batch file.
My System SpecsSystem Spec


 task in task scheduler test running never completes?

Thread Tools

Similar help and support threads
Thread Forum
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
Task Scheduler not running??
Hello- Anyone getting this message or had it and corrected it? see attachment. I''ve been on Google for a loong time and not really finding a fix. HP system 3 weeks old and this seems to be a problem for a ton of people. I check the services and its running and grayed out so I can't touch...
Performance & Maintenance
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...
General Discussion
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 00:43.
Twitter Facebook Google+