Randomly users disconnections from RDS

Arnold MIshaev 216 Reputation points
2022-08-10T15:14:07.107+00:00

Hello everyone,

We've build new RDS-Farm:

1) RDCB+RDLS+RDS WebAccess
2) Session-Host
3) Session-Host
4) Session-Host
5) Session-Host

we getting strange issue, users randomly disconnected from session for one second and then they reconnect again
I did deep research and didn't find much information only some related events.

230908-image.png

230940-image.png

230928-image.png

230929-image.png

there is no network related issue and firewall also

Does anyone has any idea what it's could be?

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Windows for business | Windows Server | User experience | Other
0 comments No comments

20 answers

Sort by: Most helpful
  1. Arnold MIshaev 216 Reputation points
    2022-08-15T20:13:20.247+00:00

    Hello @risolis

    the "TURN_OFF_UDP" solution that's what i did on standalone workstation for testing purpose.

    but I won't apply this solution for all workstation\laptops cause many of them not in domain.
    and the our client won't approve this solution.

    we need to find a solution on servers side

    Was this answer helpful?


  2. Arnold MIshaev 216 Reputation points
    2022-08-15T13:19:17.53+00:00

    Hello @risolis

    thanks for your reply.

    but I found the cause to our issue.

    it's seems like clients use UDP and TCP to connect to our RDS-Farm, I took one workstation in our production and turn off UDP on his workstation by adding next registry key

    231174-image.png

    now the question his how do i turn on UDP on Session-Hosts servers

    Was this answer helpful?


  3. risolis 8,806 Reputation points
    2022-08-14T21:31:55.77+00:00

    Hello @Arnold MIshaev

    Many thanks for that great info.

    I would like to give you this step below and I hope you can confirm the settings or do what is necessary.

    When the Remote Desktop client reconnects, the RDSH server reconnects the client to a new session instead of the original session. However, when you check the RDSH server, it says that the original session is still active and didn't enter a disconnected state.

    To work around this issue, you can enable the Configure keep-alive connection interval policy in the Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections group policy folder. If you enable this policy, you must enter a keep-alive interval. The keep-alive interval determines how often, in minutes, the server checks the session state.

    This issue can also be fixed by reconfiguring your authentication and configuration settings. You can reconfigure these settings at either the server level or by using group policy objects (GPOs). Here's how to reconfigure your settings: Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security group policy folder.

    On the RD Session Host server, open Remote Desktop Session Host Configuration.
    Under Connections, right-click the name of the connection, then select Properties.
    In the Properties dialog box for the connection, on the General tab, in Security layer, select a security method.
    Go to Encryption level and select the level you want. You can select Low, Client Compatible, High, or FIPS Compliant.

    Looking forward to your feedback,

    Cheers,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    Was this answer helpful?

    0 comments No comments

  4. Brett Lynden Everingham 1 Reputation point
    2022-08-14T14:44:23.49+00:00

    I'm very Happy to be able to use Microsoft Edge

    Was this answer helpful?

    0 comments No comments

  5. Arnold MIshaev 216 Reputation points
    2022-08-14T08:16:50.273+00:00

    Hello @risolis

    Thank you for your respond.

    1) it's seems like the "Remote Desktop Session Host Configuration" doesn't exist anymore in newest windows server versions.
    but if you mean session limits so there is no limit for a session limits

    230977-image.png

    we did packet capturing and you can see that the communication work on protocol TLSv1.2

    231008-image.png

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.