RPC 服務健全狀況

Microsoft.Windows.Server.6.2.OperatingSystem.RPCServiceHealth (UnitMonitor)

監視 RPC Windows 服務的健全狀況

Knowledge Base article:

摘要

遠端程序呼叫 (RPC) 服務是一種通訊協定,可供應用程式用來向另一部電腦上的應用程式要求服務。 此服務無法透過系統管理動作停止,且為作業系統運作所需的必要服務。

原因

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

解決方式

如果此服務停止,應重新啟動作業系統。 如果重新啟動服務的方式無法解決問題,且作業系統無法以標準模式開機,可能需要在安全模式中更新服務的設定。 進入安全模式後,應將服務的啟動類型設定為 [自動],且「登入」設定應設為 [本機系統]。

Element properties:

TargetMicrosoft.Windows.Server.6.2.OperatingSystem
Parent MonitorMicrosoft.Windows.Server.6.2.OperatingSystem.CoreServicesRollup
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
RPC 服務停止
伺服器 {0} 上的 RPC 服務已停止執行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.6.2.OperatingSystem.RPCServiceHealth" Accessibility="Public" Enabled="true" Target="WindowsServer!Microsoft.Windows.Server.6.2.OperatingSystem" ParentMonitorID="Microsoft.Windows.Server.6.2.OperatingSystem.CoreServicesRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.6.2.OperatingSystem.RPCServiceHealth.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>RpcSs</ServiceName>
</Configuration>
</UnitMonitor>