Virtual Machine Management Service Recovery

Microsoft.Windows.HyperV.2008.Services.VirtualMachineManagementServiceRestart (Recovery)

Attempts to restart the Virtual Machine Management Service

Element properties:

TargetMicrosoft.Windows.HyperV.2008.ServerRole
MonitorMicrosoft.Windows.HyperV.2008.Services.VirtualMachineManagementServiceMonitor
Reset MonitorFalse
RemotableTrue
Timeout300
CategoryMaintenance
EnabledonEssentialMonitoring
AccessibilityInternal

Member Modules:

ID Module Type TypeId RunAs 
RestartService WriteAction Microsoft.Windows.ServiceControlManager.StartService System.PrivilegedMonitoringAccount

Source Code:

<Recovery ID="Microsoft.Windows.HyperV.2008.Services.VirtualMachineManagementServiceRestart" Accessibility="Internal" Enabled="onEssentialMonitoring" Target="HVDisc!Microsoft.Windows.HyperV.2008.ServerRole" Monitor="Microsoft.Windows.HyperV.2008.Services.VirtualMachineManagementServiceMonitor" ResetMonitor="false" ExecuteOnState="Error" Remotable="true" Timeout="300">
<Category>Maintenance</Category>
<WriteAction ID="RestartService" TypeID="Windows!Microsoft.Windows.ServiceControlManager.StartService" RunAs="System!System.PrivilegedMonitoringAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>vmms</ServiceName>
</WriteAction>
</Recovery>