Solved

How to restart a service through group policy.

Posted on 2011-02-21
11
2,034 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Featured Post

Why won’t your email signature format correctly?

Struggling to get your corporate email signatures to format correctly? Does the logo keep resizing? Is the text appearing too big? What can you do to prevent this? Find out how you can save your signatures today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Resolve DNS query failed errors for Exchange
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

911 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

24 Experts available now in Live!

Get 1:1 Help Now