监视 Windows 服务“Windows 远程管理”的运行状况
Windows 远程管理 (WinRM) 服务为远程管理实施 WS-Management 协议。WS-Management 是一个用于远程软件和硬件管理的标准 Web 服务协议。WinRM 服务为 WS-Management 请求监听网络并处理它们。WinRM 服务需要使用 winrm.cmd 命令行工具或通过组策略配置侦听器,以在网络上进行监听。WinRM 服务提供对 WMI 数据的访问并启用事件收集。事件收集和事件订阅要求服务正在运行。WinRM 消息使用 HTTP 和 HTTPS 作为传输器。WinRM 服务不依赖于 IIS 但预配置与同一台机器上的 IIS 共享一个端口。 WinRM 服务保留 /wsman URL 前缀。为了防止与 IIS 冲突,管理员应确保 IIS 上托管的任何网站不使用 /wsman URL 前缀。
服务可以由于很多原因而停止,包括:
服务遇到异常而停止。
服务未正确配置,导致服务无法启动。
由于无法对指定给服务的用户帐户进行身份验证,服务无法启动。
如果此服务停止,您将无法远程连接和管理核心服务器。如果重新启动服务不能解决问题并且操作系统不能以“正常模式”启动,则可能需要在“安全模式”下更新服务的配置。一旦处于“安全模式”,就应当用“自动”启动类型配置该服务,并且应将“登录”配置设置为“本地系统”。
该服务可以使用下列任务重新启动:
启动 Windows 远程管理服务
Target | Microsoft.Windows.Server.10.0.OperatingSystem | ||
Parent Monitor | Microsoft.Windows.Server.10.0.OperatingSystem.CoreServicesRollup | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.CheckNTServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.Server.10.0.OperatingSystem.WindowsRemoteManagementServiceHealth" 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.WindowsRemoteManagementServiceHealth.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>WinRM</ServiceName>
</Configuration>
</UnitMonitor>