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

Related Posts

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 Failove

Exchange 2019: configuration of a DAG

In this tutorial, we will see how to configure a DAG with Exchange 2019. A DAG (Database Availability Group) is the fact of putting one or more databases in high availability under Exchange in order t

Force a template for the start menu

Presentation The purpose of this article is to show you how to force a template for the start menu. This change is especially useful for RDS servers to allow users to all have the same environment. Yo