Link to home
Start Free TrialLog in
Avatar of TekiSreelakshmi
TekiSreelakshmi

asked on

Automate service restart

Hi
We have recently installed a 3rd party software that installed a Window Service on the server. However the service is not stable and stops by itself randomly. We have to restart it manually. The vendor says a patch is on the way. But in the meanwhile we would like to automate the process of restarting it.
I created a batch job that starts the service. Is a way that we can trigger this batch job on the event of the service stopping?
Avatar of drequinox
drequinox

instead of creating batch
go into your start-> run>services.msc
then
right click on the service name -> properties, do as shown in the picture.
servicerestart.JPG
SOLUTION
Avatar of drequinox
drequinox

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial