RD ゲートウェイ サービスの状態

Microsoft.Windows.Server.10.0.RDGateway.ServiceStateMonitor (UnitMonitor)

このモニターは、Remote Desktop Gateway サービスが実行中であるかどうかを確認します。

Knowledge Base article:

概要

このモニターの状態が異常であるということは、Remote Desktop Gateway サービスが自動的に開始するように設定されているにもかかわらず、実行されていないことを示します。サービスが停止した原因には、次のものを含み、多数考えられます。

解決方法

この問題を解決するには、Remote Desktop Gateway サービスを再開します。Remote Desktop Gateway サービスを再開すると、すべての依存サービスも再開されます。

この手順を実行するには、ローカルの Administrators グループのメンバーであるか、適切な権限を委任されている必要があります。

Remote Desktop Gateway サービスを再開するには:

1. RD ゲートウェイ サーバーで、[スタート] ボタンをクリックし、[管理ツール] をポイントして、[サービス] をクリックします。サービス スナップインの [名前] 列で、[Remote Desktop Gateway] を右クリックし、[再起動] をクリックします。

2. サービスだけを再起動しようとして失敗する場合、コンピューターを再起動します。これにより、すべての関連サービスおよび依存サービスが再起動されます。

サーバーが再起動されたらサービスが常に自動的に開始されるようにするには、サービス スナップインの [名前] 列で [Remote Desktop Gateway] を右クリックし、[プロパティ] をクリックします。[スタートアップの種類][自動] を選択し、[OK] をクリックします。

Element properties:

TargetMicrosoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDGateway
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Remote Desktop Gateway サービスが実行されていない
{0} 上で "Remote Desktop Gateway" サービス (TSGateway) が実行されていません。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.RDGateway.ServiceStateMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.10.0.RemoteDesktopServicesRole.Service.RDGateway" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.RDGateway.ServiceStateMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>TSGateway</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>