Configuring the remote desktop session host server

Sometimes IT guys forget configuring the remote desktop session host server when they install the RDS role on their windows server. If you look at the RD Licensing Diagnoser tool you can the error on the section of Problem, and “The licensing mode for the Remote Desktop Session Host Server is not configured.” in the Suggested Resolition section “Set the licensing mode on the Remote Desktop Session Host server to either Per User or Per Device. Use RD Licensing Manager to install the corresponding licenses on the license server.” it says.

You can see an example below.

rd licensing diagnoser

To fix this problem you should follow the given lines below.

1) Type in the following command:

a. gpedit.msc

Navigate to:

Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing

2) Select the policy: “Set the Remote Desktop licensing mode”. Click Edit.

set the remote desktop licensing mode
In our case, you choose the Per User and applied the settings.

3) Select the policy “Use the specified Remote Desktop license servers”

4) Select “Enabled”, then input the name of the server you installed the licenses. Click Apply.

use the specified remote desktop license servers

5) Navigate to:

Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections

6) Edit the policy “Limit number of connections”.

7) Select “Enabled” and change the number to “999999”. This will allow unlimited remote connections. In our case i just need 20 connections. Click Apply.

limit number of connections

8) In order to apply changes, the group policy must be updated. To initiate this, open Command Prompt (as admin) and enter the following command:

gpupdate /force

After following the above steps, users will be able to remote into the specified server.

Regards,

Have a nice day.

Published by Hasan Altin

I don't see any difference between the one who doesn't share its knowledge or the one who doesn't share its bread.

2 comments on “Configuring the remote desktop session host server”

Leave a Reply

Your email address will not be published.