Service Recover "Run a Program" does not work

S

scerazy

I have some services that even set to auto do not always start (most likely due to shared storage utilization of iSCSI array, but that is not an issue here)

So I have them set to restart,restart,run a program

service_recovery.png

And it simply does NOT work

Yet if I run the mailme.cmd FROM command prompt it DOES work as expected (and the email is received)

Content of mailme.cmd is:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -command "& {send-mailmessage -from outemail@domain.local -to support@domain.local -subject 'ADSync service failed to start' -body 'Please start services manually (s)' -smtpserver 10.0.0.127}"


Any help appreciated

Seb

Continue reading...
 
Back
Top Bottom