Connecting to Remote Desktop Session Host servers by the Broker


If you followed the article: Setting up an RDS farm under Windows 2012R2/2016, the client connection configuration is done using a Round Robin on the DNS.

What happens if the server returned by the DNS is offline?

The connection will not succeed and an error message is displayed.

Solution: Establish a connection through the Broker service

To solve the round robin DNS connection problem, the connection must be established directly on the broker.

If the Remote Desktop Connect client is configured with the broker’s address, it will not work, the client will try to log on directly to the broker server itself.

Echec ouverture de session

Open the Remote Desktop Connect client: in computer put the broker 1 server address and click Save As … 2.
Configuration client

Right click on the saved file 1 and edit the 2 (Notepadd ++ / notepad …).
Modifier fichier RDP

Make the changes below:


use redirection server name:i:0

Replace with :

use redirection server name:i:1

Add :

loadbalanceinfo:s:tsv://MS Terminal Services Plugin.1.NAME_OF_THE_COLLECTION

Notepad édition RDP

Save file.

Double-click on the file and click on Connect 1.
Connexion via RDC

Enter the credentials and validate the security messages on the certificates.

The connection is established, in the banner we see that the connection is established on the broker 1. Open a command window (cmd) and enter hostname 2, the name of the server that is displayed is a remote desktop session host.
connexion par le broker

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Related Posts

GPO: Deploy RemoteApp Programs
Introduction In this tutorial we will see how to deploy RemoteApp configured by Group Policy (GPO) on an RDS farm. Prerequisites The deployment of the RDS farm must have: A server with the RD Web Access service. A collection of configured with remote

Failover Clustering Windows 2016/2019 – Installation and Configuration
Presentation The failover clustering feature ensures high availability of a service by using multiple servers (nodes) that can make it work. Some examples of services that can be used with the Failover Cluster feature: Hyper-VSQL ServerDAG Exchange..

RDS: reduce the logon time
Introduction Before I explain how to optimize the opening of sessions on your RDS servers, I will explain the operation. By default, since Windows XP, the group policy processing mode is asynchronous, that is, the user's session is opened until the g

Leave a Comment