adamt Posted November 5, 2007 Posted November 5, 2007 Dear all,Windows services have a neat little feature, where you can set recovery options, so that should a service crash, the service control manager will restart it.I had hoped I might be able to write a .REG file with parameters for HKLM\SYSTEM\CurrentControlSet\Services\SVCname - ErrorControl and FailureActions, but the failure actions key isn't human-readable, and in any case, it doesn't appear that it does what I thought it did:http://www.microsoft.com/technet/scriptcen...q.mspx?mfr=trueAny tips or pointers on how I can configure 3,000 servers to set SNMP to restart after a failure would be greatly appreciated.Thanks,Adam.
adamt Posted November 6, 2007 Author Posted November 6, 2007 Nevermind... it can be done with sc.exe - which is probably the first thing I should have looked at, but oh no.... I had to go firing up Regmon to see which keys were being enumerated, didn't I?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now