Using a recovery in SCOM for Service Name: WinRM

ANU 336 Reputation points
2022-03-31T12:33:25.54+00:00

Hi All,

Thanks in advance.

I need to create a recovery task for a unit monitor that monitor the service Windows Remote Management (WS-Management).
I am following kevin holman blog https://kevinholman.com/2008/03/26/using-a-recovery-in-opsmgr-basic/

For the service Windows Remote Management (WS-Management)

Full path to file what i can provide.
Parameters: can i provide "start WinRM"

188736-winrm.jpg

Thanks
Anu

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,482 questions
0 comments No comments
{count} votes

Accepted answer
  1. SChalakov 10,386 Reputation points MVP
    2022-03-31T13:30:43.223+00:00

    Hi Anu,

    exactly as Kevin suggests, this needs to be entered also in your case:

    Full path to the file: %windir%\system32\net.exe
    Parameters: start WinRM

    This will do the job :)


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Stoyan Chalakov

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andrew Blumhardt 9,861 Reputation points Microsoft Employee
    2022-03-31T13:23:59.337+00:00

    If you look closely the path is to net.exe (not the service exe). Effectively this runs "net start service". Was that the issue?

    Though the OS MP should be monitoring for WinRM. This sort of automated response is usually only needed for 3rd party services. The core OS services are pretty good at managing themselves.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.