question

ITGeek82-8422 avatar image
0 Votes"
ITGeek82-8422 asked SMB-Solutions commented

RDS server users randomly get disconnected

Hi All,

Remote Desktop Gateway server is on Windows Server 2019
Remote Desktop Session Host server is on Windows Server 2016
Remote Desktop Licensing server is on Windows Server 2019

Sometimes (I would even say quite rarely) users got disconnected from the RDS server all at the same time.
In just a few seconds they are able to reconnect.
It is not because of the Internet outage because multiple users connect to the separate servers from different physical locations.
I went through the Event Viewer - Application and Services Logs - Microsoft - Windows - TermialServices - Gateway but found just this type of entries.
"The user "DOMAIN\username", on client computer "111.222.111.222", disconnected from the following network resource: "computername.domainname.com". Before the user disconnected, the client transferred 8209 bytes and received 12366 bytes. The client session duration was 1 seconds. Connection protocol used: "HTTP".

Interestingly, not all sessions that are established through that RD gateway server are dropped out but just part of them.
For exampled on the Hyper-V Failover Cluster roughly 100 machines are running but just a few is affected.
In other words users of just 2-3 servers report this issue.
I also, went through the Event Viewer logs on the RDS server itself but didn't find anything.
It is absolutely unclear which of the servers (RD Gateway server or RHS server ) the issue lies on.
Is there any other logs I should check?

remote-desktop-services
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Have you checked if the answer helps?

If the Answer is helpful, please click "Accept Answer" and upvote it.

Thanks,
Eleven


Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 Votes 0 ·

1 Answer

ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered SMB-Solutions commented

Hi,

You could check below logs on the RDS session host servers.

Event Viewer-Windows Logs-Security
Event Viewer-Windows Logs-System
Event Viewer-Applications and Services Logs-Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational
Event Viewer-Applications and Services Logs-Microsoft-Windows-TerminalServices-LocalSessionManager/Operational

For more details of Event ID, please refer to below link.
Windows RDP-Related Event Logs: Identification, Tracking, and Investigation
https://ponderthebits.com/2018/02/windows-rdp-related-event-logs-identification-tracking-and-investigation/

For disconnect codes, please refer to below link.
RDS Session Host Server Disconnect Codes
https://social.technet.microsoft.com/wiki/contents/articles/37874.rds-session-host-server-disconnect-codes.aspx

Thanks,
Eleven


If the Answer is helpful, please click "Accept Answer" and upvote it.



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We are also experiencing the same thing since this months Patch Tuesday it seems

0 Votes 0 ·