Estado do Serviço Gateway de RD

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

Este monitor verifica se o serviço Gateway de Ambiente de Trabalho Remoto está em execução.

Knowledge Base article:

Resumo

Um mau estado de funcionamento deste monitor indica que o serviço Gateway de Ambiente de Trabalho Remoto está definido para iniciar Automaticamente, mas não está em execução. Um serviço pode parar por muitos motivos, incluindo:

Resoluções

Para resolver este problema, reinicie o serviço Gateway de Ambiente de Trabalho Remoto. Reiniciar o serviço Gateway de Ambiente de Trabalho Remoto também reinicia todos os serviços dependentes.

Para efetuar este procedimento, tem de ser membro do grupo Administradores local ou ter-lhe sido delegada a autorização adequada.

Para reiniciar o serviço Gateway de Ambiente de Trabalho Remoto:

1. No servidor de Gateway de RD, clique em Iniciar, aponte para Ferramentas Administrativas e clique em Serviços. Na coluna Nome do snap-in Serviços, clique com o botão direito do rato em Gateway de Ambiente de Trabalho Remoto e, em seguida, clique em Reiniciar.

2. Se a tentativa de reiniciar apenas o serviço falhar, reinicie o computador. Este procedimento força o reinício de todos os serviços relacionados e dependentes.

Se pretender que o serviço seja sempre iniciado automaticamente após o servidor reiniciar, na coluna Nome do snap-in Serviços, clique com o botão direito do rato em Gateway de Ambiente de Trabalho Remoto, clique em Propriedades e, em Tipo de arranque, selecione Automático e clique em 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
O Serviço Gateway de Ambiente de Trabalho Remoto Não Está em Execução
O serviço "Gateway de Ambiente de Trabalho Remoto" (TSGateway) não está em execução em {0}
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>