伺服器服務健全狀況

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

監視伺服器 Windows 服務的健全狀況

Knowledge Base article:

摘要

伺服器服務可讓 Windows 透過網路執行檔案和列印共用。如果此服務停止,Windows 將無法共用檔案和列印服務。

原因

服務可能會因許多原因而停止,其中包括:

解決方式

此服務可透過 [電腦管理主控台] 工作存取的服務嵌入式管理單元重新啟動:

啟動電腦管理主控台

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
Windows 用戶端服務停止
用戶端 {0} 上的 Windows 用戶端服務已停止執行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Client.2000.OperatingSystem.ServerServiceHealth" 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.ServerServiceHealth.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>lanmanserver</ServiceName>
</Configuration>
</UnitMonitor>