Intégrité du service Plug-and-Play

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

Analyse l'intégrité du service Windows pour Plug-and-Play

Knowledge Base article:

Résumé

Le service Plug-and-Play permet à un ordinateur de détecter et de configurer de nouveaux périphériques matériels. Si ce service est arrêté, le nouveau matériel installé ne sera pas détecté, configuré ou disponible pour le système d'exploitation Windows.

Causes

Un service peut s'arrêter pour de nombreuses raisons, parmi lesquelles :

Résolutions

Vous pouvez redémarrer le service à l'aide du composant logiciel enfichable Services accessible depuis la tâche de la console de gestion de l'ordinateur :

Démarrer la console de gestion de l'ordinateur

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
Arrêt du service Plug-and-Play
Le service Plug-and-Play sur le serveur {0} a cessé de fonctionner
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>