Configuring service restart with 'restart service after' parameter

Posted by Tim Brigham on Server Fault See other posts from Server Fault or by Tim Brigham
Published on 2012-09-24T14:28:47Z Indexed on 2012/09/24 15:39 UTC
Read the original article Hit count: 433

Filed under:

It appears that sc.exe isn't capable of setting the 'restart service after' parameter and powershell isn't capable of setting up service restarts at all.

My intended configuration is failure1/restart failure2/restart failure3/nothing with a five minute counter between each restart. The five minute timer is extremely important.

Is there anything else I can look at other than some registry hackery configure this?

© Server Fault or respective owner

Related posts about windows-service