Plug and Play Service Health

Microsoft.Windows.Server.10.0.OperatingSystem.PlugandPlayServiceHealth (UnitMonitor)

Monitors the health of the Windows service for Plug and Play

Knowledge Base article:

Summary

The Plug and Play service enables a computer to detect and configure new hardware devices. If this service is stopped new hardware that is installed will not be detected, configured, or available to the Windows Operating System.

Causes

A service can stop for many reasons, including:

Resolutions

The service can be restarted using the Services snap-in which can be accessed through the Computer Management console task:

Start Computer Management Console

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
Parent MonitorMicrosoft.Windows.Server.10.0.OperatingSystem.CoreServicesRollup
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Plug and Play Service Stopped
The Plug and Play service on server {0} has stopped running
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.OperatingSystem.PlugandPlayServiceHealth" Accessibility="Public" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem" ParentMonitorID="Microsoft.Windows.Server.10.0.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.OperatingSystem.PlugandPlayServiceHealth.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>PlugPlay</ServiceName>
</Configuration>
</UnitMonitor>