How to restart a service through group policy.

I have a non-system service that runs on multiple servers on our network.  The service was installed by a 3rd party piece of software.  The service is required for this software to work.  I need to know how to set this service to auto restart if it fails.  I know locally on the machine there is a recovery tab for services where you can set the first failure, second failure, and subsequent failures responses.  I'm having trouble finding a way to do this using GPO.  I'd like to avoid a script if possible, but I think I may not be able to.  I am running Server 2008.
jdouthitAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jdouthitConnect With a Mentor Author Commented:
I found the solution on where to set this in Group Policy Management MMC.  It is under Computer Configuration-->Preferences-->Control Panel Settings-->Services.  You can then name the service you want and all the desired settings.
0
 
thomasd04Commented:
0
 
jdouthitAuthor Commented:
I would rather specifically set the recovery options for the service.
0
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
thomasd04Commented:
The only two ways that I would do it is using Windows 2008 Event Log trigger feature or via script. Doesn't sound like either will be an option for you.

Good luck!
0
 
RickSheikhConnect With a Mentor Commented:
I think its doable with Group Policy Preferences.
0
 
Mike ThomasConsultantCommented:
You can use Group Policy Preferences to set the behaviour of a service but only as you would if you logged onto the machine locally so not sure if that's a solution for you.
0
 
RickSheikhCommented:
I am not sure what happened here. But the accepted/chosen option by the Author is indeed what I had recommended Group Policy Preferences.
0
 
thomasd04Commented:
Agreed, Rick did provide the same solution.
0
 
jdouthitAuthor Commented:
I only accepted my answer, because RickSheikh did not give specifics as to where to look.  My answer provided the exact location on where to set make this change.
0
 
modus_operandiCommented:
Starting auto-close process to implement the recommendations of the participating Expert(s).
 
modus_operandi
EE Admin
0
All Courses

From novice to tech pro — start learning today.