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 to close/exit some program using Task Scheduler in Windows 7?

17 Apr 2012   #1
skt

Windows 7 Ultimate x64
 
 
How to close/exit some program using Task Scheduler in Windows 7?

I want to turn on and off some backup programs to be automatically turned on and off at a set time instead of running in the background all the time and consuming memory.

I know how to start any program using Windows Task Scheduler, but unable to find how to turn off the same program using it.

Is there any way of doing it?

I would really appreciate any help.

Thank you!


My System SpecsSystem Spec
.

17 Apr 2012   #2
F5ing

Windows 7 Ultimate x64
 
 

You can use the taskkill command...
My System SpecsSystem Spec
17 Apr 2012   #3
skt

Windows 7 Ultimate x64
 
 

Just found this:
A batch file to kill a process

or do you mean something else, without using the batch file?
My System SpecsSystem Spec
.


17 Apr 2012   #4
EzioAuditore

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

You can write/use a batch script to run that backup programs of yours and terminate after completion. You can then schedule this batch script to run at a time of your choice via task scheduler.
My System SpecsSystem Spec
17 Apr 2012   #5
F5ing

Windows 7 Ultimate x64
 
 

Open a command prompt and type taskkill /? and press enter to see how to use the options for the command. You can either use it in a batch file that's called from the task, or use the command itself in the task. Then you need to figure out how you want to trigger the task.
My System SpecsSystem Spec
17 Apr 2012   #6
skt

Windows 7 Ultimate x64
 
 

Thanks for the replies!
Got it working!
My System SpecsSystem Spec
17 Apr 2012   #7
F5ing

Windows 7 Ultimate x64
 
 

Glad to hear it! Can you post again to allow others to know how you got it accomplished?
My System SpecsSystem Spec
17 Apr 2012   #8
EzioAuditore

Winbdows 7 ultimate x64 | Ubuntu 12.04 x64 LTS
 
 

Quote   Quote: Originally Posted by sibbil View Post
Glad to hear it! Can you post again to allow others to know how you got it accomplished?
Please do so. Would help others.
My System SpecsSystem Spec
17 Apr 2012   #9
skt

Windows 7 Ultimate x64
 
 

Here you go !

Hope it's helpful.

My System SpecsSystem Spec
17 Apr 2012   #10
F5ing

Windows 7 Ultimate x64
 
 

Thanks for posting your fix skt!
My System SpecsSystem Spec
Reply

 How to close/exit some program using Task Scheduler in Windows 7?




Thread Tools





Similar help and support threads
Thread Forum
How to use Task Scheduler to close a program?
Is there a way to use TS to close programs? I want a way to schedule times for certain programs to close. I already know how to use TS to shutdown the computer. Also, i'd prefer if no annoying messages popped up, like when I schedule a shutdown the computer pops up with "Your computer will...
General Discussion
Using Task Scheduler to restart a program upon wake from sleep
I'm using Logitech's latest LGS for my G700. It's very annoying that I have to exit and restart LGS when my system comes out of sleep or LGS doesn't recognize the mouse as being awake (windows drives it then). This happens when the mouse is running wirelessly. It also happens across versions. Is...
General Discussion
Task scheduler program start minimized
Hello all, I just discovered the task scheduler and I am using it to start programs at logon, like eraser. The only problem is I would like to start them minimized and I can't quite figure out how to do that. I have set the program properties to run minimized but it doesn't want to play nice. Is...
Software
Make Task Scheduler run a program after another closes?
Is it possible to get Task Scheduler to run programs after another program is closed? What I was thinking is, it would be great to be able to get CCleaner and/or an AV program to run automatically, after shutting down IE8, Firefox or other browser. :geek: It would be an excellent way to protect...
General Discussion
Task Scheduler - run program on wake
I simply want to run a program when the computer returns from standby, but I see no options in the scheduler. Help?
General Discussion
Task Scheduler Trigger @ Program shutdown
Hello, I would like a particular Task to run each time the Firefox application is closed, or, perhaps easier, each time my computer shutdowns. But I have no idea how to set up such Trigger. Have any of you an idea on how I should proceed? Thanks for the help.
Performance & Maintenance

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 14:40.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App