DHCP 客户端服务运行状况

Microsoft.Windows.Client.2000.OperatingSystem.DHCPClientServiceHealth (UnitMonitor)

监视 Windows 服务“DHCP 客户端”的运行状况

Knowledge Base article:

摘要

通过注册和更新 IP 地址和 DNS 名称来管理网络配置的 DHCP 客户端服务未在运行。如果该服务已停止,则依赖于 DHCP 的计算机将不能连接至网络资源。

原因

服务可以由于很多原因而停止,包括:

解决方法

可以使用服务管理单元(可以在其中访问计算机管理控制台任务)重新启动该服务:

启动计算机管理控制台

Element properties:

TargetMicrosoft.Windows.Client.2000.OperatingSystem
Parent MonitorMicrosoft.Windows.Client.2000.OperatingSystem.CoreServicesRollup
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DHCP 服务已停止
客户端 {0} 上的 DHCP 服务已停止运行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Client.2000.OperatingSystem.DHCPClientServiceHealth" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.Client.2000.OperatingSystem" ParentMonitorID="Microsoft.Windows.Client.2000.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Client.2000.OperatingSystem.DHCPClientServiceHealth.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="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>DHCP</ServiceName>
</Configuration>
</UnitMonitor>