Отслеживание работоспособности службы Plug and Play
Служба Plug and Play позволяет компьютеру обнаруживать и настраивать новое оборудование. Если данная служба остановлена, новое устанавливаемое оборудование не будет обнаруживаться, настраиваться или не будет доступно операционной системе Windows.
Служба может остановиться по нескольким причинам:
Служба была остановлена администратором.
Служба обнаружила исключение, которое остановило службу.
Служба была настроена неправильно, что помешало ее запуску.
Служба не смогла запуститься, поскольку учетная запись пользователя, назначенная службе, не смогла пройти проверку подлинности.
Службу можно перезапустить при помощи оснастки "Службы", которую можно запустить с помощью задачи консоли управления компьютером:
Запустить консоль управления компьютером
Target | Microsoft.Windows.Server.2008.OperatingSystem | ||
Parent Monitor | Microsoft.Windows.Server.2008.OperatingSystem.CoreServicesRollup | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.CheckNTServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.Server.2008.OperatingSystem.PlugandPlayServiceHealth" Accessibility="Public" Enabled="true" Target="Server2008!Microsoft.Windows.Server.2008.OperatingSystem" ParentMonitorID="Microsoft.Windows.Server.2008.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2008.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>