Solved

How to restart a service through group policy.

Posted on 2011-02-21
11
2,285 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
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 
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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

728 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