I have tried all the solutions where i have found in google and stackoverflow to auto start a service of windows. Here's my Problem :: I have registered my websphere application server instance as a service. Fine, Im able to stop & start the websphere using service. And I set auto start using recovery from service properties. (changed service to Automatic & also checked with Automatic delayed)

But when I terminate the process id, service is not getting started automatically. This should happen.

can anyone please explain clearly what else to do.

If I miss something , add where I've missed that.


You need a manager service working like websphere node agent. You can write a script about checking status of application server service in a fixed time interval. Then install script as a windows service. If somehow service of application server is not running, the script starts it again.


The "Automatic" setting for Windows services will simply start the service when the computer starts up. It doesn't keep track of all services and restart them should they stop on their own. You'd need a watchdog process to monitor your service.

The Recovery tab as I understand only functions if the service itself fails to start for whatever reason and not if it stops on its own after it was successfully started.

  • Thanks Nathan, But here my question is not at startup. – eight Stacker May 18 '16 at 15:13
  • I understand, just wanted to clarify exactly what the modes meant. It being "Automatic" won't affect the service post-startup. – Nathan C May 18 '16 at 15:13
  • Recovery tab settings are not helping my instance recover from failure/stop. – eight Stacker May 18 '16 at 15:14
  • 1
    As I mentioned in my answer, Recovery only helps if it fails to actually start the service and not if it stops by you killing the process. – Nathan C May 18 '16 at 18:36
  • Thanks Natha, Then what is the solution if the process gets abruptly stopped or killed ? – eight Stacker May 25 '16 at 11:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.