Windows 防火牆服務健全狀況

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

為 Windows 防火牆監視伺服器 Windows 服務的健全狀況

Knowledge Base article:

摘要

Windows 防火牆服務可遏止未經授權的使用者透過網際路或網路存取您的電腦,從而達到保護您電腦的目的。

原因

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

解決方式

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

此服務可使用以下工作重新啟動:

啟動防火牆服務

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
Windows 防火牆服務已停止
伺服器 {0} 上的 Windows 防火牆服務已停止執行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.OperatingSystem.FirewallServiceHealth" 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.FirewallServiceHealth.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>MpsSvc</ServiceName>
</Configuration>
</UnitMonitor>