Configuring service restart with 'restart service after' parameter
- by Tim Brigham
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?