Solved

How to restart a service through group policy.

Posted on 2011-02-21
11
2,180 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

762 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