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 (But Not Force Close) Program Automatically On A Schedule

21 Jul 2013   #1

windows 7
How To Close (But Not Force Close) Program Automatically On A Schedule

not sure if it's possible in Task Scheduler but i really want it to work. Basically I know how to automatically start program in Task Scheduler and how to also force close it. If we want to force close it we just create a .bat file with text like
TASKKILL /F /IM "nameofprogram.exe"
and schedule to run such file in specific time (for example 2.00.05 PM)

but this doesnt solve my issue because I need to automatically close my program without actually force close it. The above solution only force close the program and it's not what I want. I want to "properly" shut down the app, something like we click "X" in the program manually. Is that possible?

The problem is because I trade in MT4 automatically. if I use the above solution to close it on schedule, when it reopen, any change made to the object list in the MT4 would be deleted as if nothing ever added there. That's why I need a solution to automatically close my MT4 on schedule but not force close it. Any idea guys?

My System SpecsSystem Spec
21 Jul 2013   #2

windows 7

hi guys, after try to find more solution on Google apparently there's a very easy fix!

I should have not used the "/F". it force close the program!

should just go directly TASKILL /IM "nameofprogram.exe"

My System SpecsSystem Spec

 How To Close (But Not Force Close) Program Automatically On A Schedule

Thread Tools

Similar help and support threads
Thread Forum
I want to run a close WMC command on a schedule. How?
A batch file? A script? How would I do that? I don't understand how these things are constructed.
Media Center
How to schedule programs to start/close automatically
I want to have my Computer automatically start at 9pm, have utorrent start and run til midnight, then, at midnight, have steam start and run til 6am and have my computer shutdown then, so just to recap: 9PM Computer Start, Utorrent Starts 12AM Utorrent Closes, Steam Starts 6AM Computer Shutdown
General Discussion
When Task Manager can't force a program to close, what then please?
Hello I have been trying to open Picasa for a couple of hours now - it no longer responds when double-clicked in 'my programs', or if I right click and choose 'open' No other programs are affected and everything else works as it should. By Googling I've discovered that the program is...
General Discussion
Chrome.exe force close could not be completed.
I'm installing some adobe software, which, for some reason, requires chrome to close. When I close chrome.exe, I get this error: This only happens to the main chrome.exe process, not the browser, extensions, etc. I've tried restarting my computer, but it...
Browsers & Mail
Program to automatically close and open other programs?
When I'm running on battery power, I'd like to be able to close certain programs to save power (e.g. that send a smile/frown thing for MS Office 2010 beta, Skype, MSN, my dictionary program etc), but instead of closing them one by one, which is a bit of a kerfuffle, I'd like to able to do it with a...

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 17:09.
Twitter Facebook