Solved

How to restart a service through group policy.

Posted on 2011-02-21
11
1,997 Views
Last Modified: 2013-01-16
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.
0
Comment
Question by:jdouthit
  • 3
  • 3
  • 2
  • +2
11 Comments
 
LVL 3

Expert Comment

by:thomasd04
ID: 34943763
0
 

Author Comment

by:jdouthit
ID: 34943779
I would rather specifically set the recovery options for the service.
0
 
LVL 3

Expert Comment

by:thomasd04
ID: 34943821
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
 
LVL 11

Assisted Solution

by:RickSheikh
RickSheikh earned 125 total points
ID: 34943827
I think its doable with Group Policy Preferences.
0
 
LVL 24

Expert Comment

by:Mike Thomas
ID: 34943882
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
 

Accepted Solution

by:
jdouthit earned 0 total points
ID: 34944424
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
 
LVL 11

Expert Comment

by:RickSheikh
ID: 34944513
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
 
LVL 3

Expert Comment

by:thomasd04
ID: 34944555
Agreed, Rick did provide the same solution.
0
 

Author Comment

by:jdouthit
ID: 34944598
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
 
LVL 1

Expert Comment

by:modus_operandi
ID: 34986548
Starting auto-close process to implement the recommendations of the participating Expert(s).
 
modus_operandi
EE Admin
0

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Synchronize a new Active Directory domain with an existing Office 365 tenant
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now