8 Tools to Automatically Restart a Crashed or Closed Application
5. Keep Running
Keep Running is a tiny utility that will automatically relaunch a program after it’s closed. It’s a very small 36KB portable executable but the downside is there’s no user interface to make configuration easier. Instead you have to manually edit the accompanying keeprun.ini file with Notepad or Notepad++ and enter the path to the executable you want to monitor and the application to launch once the monitored program has been closed.
Thankfully the settings INI file only has 6 configuration options which are easy enough to understand. Detect is the full path of the executable that you want to watch for closing and Launch is the full path to the program you want to run if the Detect program closes. Note that you should NOT provide quotes in the path even if it contains spaces. Start will launch the given program when you start Keep Running. This program is a handy tool to keep an application running because there is no way for other users to close Keep Running unless you kill the process from Task Manager.
6. ProcessAlive
ProcessAlive is by Singular Labs who also produce the JavaRa and CCEnhancer utilities and is a simple and easy to use tool to keep programs running by restating them if the process closes for some reason. The basic user interface keeps options to a minimum and about the only configuration you need to decide is whether to start ProcessAlive with Windows and saving the list of programs to an ini file.
All you have to do is click the Add program button and browse for the executable file. A small popup window will then give the option to add command line arguments or run the executable directly. Click the “Keep these programs alive” button to begin the monitoring. Right clicking on the ProcessAlive tray icon will show an option to change the frequency of the checks in Milliseconds, default is 0. A couple of minor gripes are slightly high memory usage of 15-30MB while monitoring and the Stop button doesn’t appear to work from the GUI, you have to use the tray icon to stop monitoring. ProcessAlive is a portable standalone executable.
7. ReStartMe
ReStartMe has a small but possibly useful feature that none of the other tools here have, which is to password protect the configuration window so other users can’t just go and turn the option to keep restarting an application off. It’s not foolproof though and more knowledgeable users can simply kill the process in Task Manager, but it might deter average users and kids from tampering with the settings.
Apart from setting the optional locking password and choosing what process state to remember between uses, there really isn’t anything else to configure as such. You simply click on “Add a process” and browse for an executable or click on the drop down menu and select a running process. Once added, the program will automatically launch if it isn’t running already, and then ReStartMe can be minimized to the tray. There is no delay interval for checking a closed process and it will be restarted almost instantly.
8. ServiceEx
ServiceEx is a tool that allows you to run a normal program as a Windows service and if your chosen process is closed, the service will restart itself automatically. Although this method is quite useful, it is best used on programs that don’t have user interfaces and instead perhaps run in the background. ServiceEx is a command line only tool and like Keep Running makes use of an ini file to store the settings for configuring the service.
Installing a ServiceEx service isn’t too difficult, edit the .ini file which can be downloaded from the website and enter the path to the executable on the ServiceExeFullPath line and optional arguments on the Options line. Then save the file as {service name}.ini in the same folder as the ServiceEx.exe file. Open a Command Prompt, CD to the ServiceEx folder and run the command “ServiceEx.exe install {service name}”. This will install and start the service under the name given and if for any reason the process closes, it will auto start again immediately.
Restarter is very nice.
be careful if the command line a more parameters because it may not accept more parameters with caracters ” in it…
try to make start of the program with
“xxxx program file” “parameters”
a call with “c:\xxxx” /nostartup “progr.xxx”
was not allowed.
I did a batch to start the process with only
“c:\xxxx” “progr.xxx”
and restarter was ok to start it, but with /nostartup it was searching to open the program “/nostartup “progr.xxx”” and it was not loaded by the progr “c:\xxxx”.
I have been using Restart on Crash for a number of years and it really works well 99% of the time. The problem though, is that on occasion, after a crash (electricity failure) the App itself loses everything that you’ve programmed it to restart. This is a real frustration, but I can’t find any other App that better suits the purpose of restarting MT4 terminals.
I had the same requirement as Beth, except that I COULD use the .Net Framework.
On Windows 10 Professional, I tried ControlRunningPrograms and it didn’t save the program list and left a copy of itself running after closing down the UI.
After reading Simon’s post, I skipped a few. KeepRunning seemed a little more complex to configure than some of my users might be able to handle, so I tried ProcessAlive next.
It works like a dream. Small issue with not being able to set it to start when Windows starts. But you just need to run it as Administrator to set that option.
And also note that the program name must be unique. If you have a program by the same name in two different directories (MT4 terminal.exe for 2 different brokers) then it will only start 1 of them. So you will need to rename one of them.
I keep getting CEF binaries are missing and a long list of files. What do I need to install to make this work? Same error for all programs. I have .NET 4.8 installed
Can it restart a program requiring a password , i.e. a trading platform for automated trading?
hi i need to keep my forex trading terminal running, 1) upon OS startup after a reboot 2) accidentally close off. I dont have ,netframe installed on my vps, how can i do so? I tried processalive as well as restartme all of these i cant use without ,netframework. These forex trading terminal is just terminal.exe
Did you ever find a solution?
4. Restarter
Downloaded .zip requires a password but there is no mention of one in the review.
It’s in the download page.
No it’s not. Could you please help?
Yes it is, in bold letters. Look again.
OP here. Fairly certain that it was not there when I downloaded.
The page never used to have the password until a month or so ago when we added a load of new passworded files. There’s a small chance due to a caching glitch you for some reason saw the old page.
raymondcc is the pass. Says so on the first page of the link.
1. Control Running Programs (CRP)
Program doesnt run under Windows 10, installs and shows loader screen then immediatly crashes.
2. Application Monitor
can only monitor DIRECT exe files, not multiple files with the same name, e.g running multiple servers with commandline parameters.
3. Restart On Crash
Same as above, and if a EXE is restarted (tested with notepad.exe, had 2 windows opened) it will restart the EXE but still think its crashed and keep doing it.
4. Restarter
can only monitor 1 Process PER Restarter Instance, so iw ould need to run 100 of these if i wanted to monitor 100 processes, and with people inmdicating there is a memory leak in this program, HIGHLY not recommended on production environments
– didnt try the others as they didnt fit my purpose.
I’ve had success with CRP on win 7 and 10. Try running it as admin for the first time. Also make sure you have .net 2.0
it seems that processalive has the same issues. I have forex terminal, all terminal.exe. I created each acct one folder, eg, c:\acct1\terminal.exe, c:\acct2\terminal.exe
I put all the terminal.exe into processalive with each path being different, and try it by closing off 1 of the terminal, and nothing was restarted. To note this was run on win2012 R2
I installed the same processalive on local PC running win10 whereby i only had ONE terminal.exe
The moment i closed it off, it restarted faster than i can blink my eye. It does work but not if there are few programs/process with same name although different path name. I think this needs to be improved
I will try CRP and report back
Thanks for sharing, saved me lots of time! The best option for me is 3. Restart On Crash
I lov3 the restart on crash application. Simple and intelligent. Thanks!
Restart on Crash is awesome and just saved me days of programming to keep a server application running after a crash! Thanks for this!
Hello,
I have this error with sercviceEx
Service Ex: The service manager with a little extra.
Version 0.20
Error! Be sure there is a file called windowshostprocess.ini in the current directory and that it contains a ServiceExeName value.
Install service failed.
The name of the service I i gave is windowshostprocess and I have provided the ini file and instructed in the ini sample file.
Please can you help?
KNAS’ Restarter will crash your server due abnormal resource usage (bad coding I guess).
Application Monitor does not work on Win 10. It keeps starting multiple instances of same program over and over.
Not tried other one.. I guess I cant trust those programs. I will make my own with Auto it or similiar macro software.
all these work fine except when there’s a not responding ‘close program’ box open.
is there any that will close this box and restart the prog?
Agreed, this is a necessity as Windows almost always pops up a “Close Program” box.
You can disable the windows crash reporter service in services
Restart on Crash has a clause to close a program, so it can be restarted, if it is hanging… You need to tick the option under each application you want to use this on though…
Application Monitor is very easy to use and work fine. I put the configured Application Monitor into windows startup.
Is it possible to load Application Monitor minimized?
I would like to restart network connection if it was lost – does anyone have a solution to this?
Please upload ServiceEx.exe I can’t download it.
The link has been updated but please note ServiceEx doesn’t run on Windows 64-bit.
It’s working really well for us on some 64-bit Windows servers?
Thank you for the report, our download was actually corrupt. It’s updated and fixed.
Hello,
i was installing a new program when it said: ” crash in relaunch using create process ”
how can i solve this problem ??
thank you in advance ..
Anybody know which is the most stable of the bunch? I’ve noticed that things like screensavers derail the restart/keep running process of a few of these apps.
I use RestartMe because it’s less sensitive, but i haven’t tried them all.
What did the sadist do to the masochist? Nothing.
KNAS’ Restarter suffers from a major coding bug that can result in your system becoming near non-responsive. I’ve used this software for years and only recently was able to discover that this software, after running for days, can bog down your system to the point of non-responsiveness. I recommend trying the alternatives first, and only going with Restarter if nothing else works for you.
Im using Restarter from knas, it is very flexible and it is completly free
Hi,
Great list. Many thanks, and great content!
Thank you for this collection!
I’m staying with Restart on Crash.
thank you. really nice post to explain all useful tools for a specific purpose. I’ve been testing or using ServiceEx and it looks promising.
I’m using Keep Running since it can’t be closed. Thanks for the links!
Thank you!
This site has many “chips”.
Excellent!