Some times I have an issue with an agent.
The SCOM Agent won’t run on a monitored system. When one tries to start the OpsMgr HealthService this event is logged:
Log Name: System Source: Service Control Manager
Date: xx/xx/xxxx xx:xx:xx
Event ID: 7024
Task Category: None
Level: Error Keywords:
Classic User: N/A
Description: The OpsMgr Health Service service terminated with service-specific error 2147500037 (0x80004005).
Most of the times, one or more registry keys are missing, so please check keys.
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\State Directory
This entry points to where the Agent is installed and where the State Directory is to be found. This directory is the repository for the SCOM Agent. When this entry is missing, import it from a system where a working Agent is installed.
- HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HealthService\Parameters\Management Group\<Management Group >\Windows AccountLockDownSD
This entry is needed by the Agent service to run. When it is not there import it from a a system where a working Agent is installed.