Failed to acquire exclusive access to remote registry

Microsoft.SystemCenter.AgentManager.RegistryLockFailed.Monitor (UnitMonitor)

Monitor for when the management server failed to acquire the appropriate exclusive access to the remote registry on the target computer.

Knowledge Base article:

Summary

The Management Server was unable to obtain an exclusive lock on the Registry.

Causes

This can happen when another Management Server is also attempting to install the agent or when anti-virus or other spyware detection software has locked the registry for its scan or quarantine feature.

Resolutions

Ensure that only one Management Server is attempting to remotely install the agent. If you are sure that there is only one server that is pushing an agent, temporarily add an exclusion to your anti-virus software or spyware software to exclude the MOMAgentInstaller.exe process during the installation.

For more information on troubleshooting agent installation, see Troubleshooting Issues When You Use the Discovery Wizard to Install an Agent(http://go.microsoft.com/fwlink/?LinkId=181932).

Element properties:

TargetMicrosoft.SystemCenter.AgentManager
Parent MonitorMicrosoft.SystemCenter.AgentManager.ConfigHealthRollup
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.AgentManager.AgentManagerFailureMonitor
RemotableTrue
AccessibilityPublic
Alert Message
Failed Agent Push/Repair - Could not acquire exclusive access to remote registry
An agent "push" install or repair was attempted and failed. The task was run from the management server {1} against the computer {0}.

Additional details:
Task Start Time: {3} UTC
Task End Time: {4} UTC

Full Event Description: {5}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.AgentManager.RegistryLockFailed.Monitor" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.AgentManager" ParentMonitorID="Microsoft.SystemCenter.AgentManager.ConfigHealthRollup" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.AgentManager.AgentManagerFailureMonitor" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.AgentManager.RegistryLockFailed.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/TargetDevicePrincipalName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/ManagementServerName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/PendingStateType$</AlertParameter3>
<AlertParameter4>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskStartTime$</AlertParameter4>
<AlertParameter5>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskEndTime$</AlertParameter5>
<AlertParameter6>$Data/Context/Property[@Name="Message"]$</AlertParameter6>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="AgentManagerFailure" MonitorTypeStateID="AgentInstallationFailure" HealthState="Error"/>
<OperationalState ID="AgentManagerSuccess" MonitorTypeStateID="AgentInstallationSuccess" HealthState="Success"/>
</OperationalStates>
<Configuration>
<EventId>10609</EventId>
<TaskStartTime>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskStartTime$</TaskStartTime>
<TaskEndTime>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskEndTime$</TaskEndTime>
</Configuration>
</UnitMonitor>