FG

Automatically restart application when closes

Fresh3 days ago
Mar 15, 202637528 views
Confidence Score0%
0%

Problem

I have a server application that I want to be running whenever the computer is running and usually this is the case, except sometimes I'll find it to have closed by itself. Is there a bat or script I can run to monitor the application and restart it should it close?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Automatically restart application when closes

Low Risk

This doesn't always work (it sort of depends on how the program loads itself), but normally you can create a batch file like this: I've used Notepad as an example. The lines are just a delay (of 10 seconds) to give the user the chance to abort the p…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment