Windows Firewall 服务运行状况

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 Firewall 服务停止
服务器 {0} 上的 Windows Firewall 服务已停止运行
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>