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 でホストされる Web サイトで /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>