Home site EPFL Windows.epfl.ch
Cannot connect to RDS because no RD Licensing servers are available

Cannot connect to RDS because no RD Licensing servers are available

  • 03/11/2021
  • 4 minutes to read

This article describes how to troubleshoot RDS connection errors that are related to Remote Desktop licensing.

Applies to:   Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Symptoms

Clients cannot connect to Remote Desktop Services, and they display messages that resemble the following:

The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license.

Cause

This situation usually indicates a problem in the Remote Desktop licensing configuration.

Check the RD Licensing configuration

You can check the RD Licensing configuration by using Server Manager and RD Licensing Manager. Verify the following:

Configure licensing for an RDS deployment that includes the RD Connection Broker role

  1. On the RD Connection Broker computer, open Server Manager.

  2. In Server Manager, select Remote Desktop Services > Overview > Edit Deployment Properties > RD LicensingRemote Desktop licensing settings in Server Manager

  3. Select the Remote Desktop licensing mode (either Per User or Per Device, as appropriate for your deployment).

     Note

    If you use domain-joined servers for your RDS deployment, you can use both Per User and Per Device CALs. If you use workgroup servers for your RDS deployment, you have to use Per Device CALs In that case, Per User CALs are not permitted.

  4. Specify a license server.

Configure licensing for an RDS deployment that includes only the RD Session Host role and the RD Licensing role

  1. On the RD Session Host computer, select Start, and then enter gpedit.msc to open Local Group Policy Editor.
  2. Go to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > LicensingList of policies for Remote Desktop licensing
  3. In the policy list, right-click Use the specified Remote Desktop license servers, and then select Properties.
  4. Select Enabled, and then enter the name of the license server under License servers to use. If you have more than one license server, use commas to separate their names. Policy settings for Remote Desktop license servers
  5. Select OK.
  6. In the policy list, right-click Set the Remote Desktop licensing mode, and then select Properties.
  7. Select Enabled.
  8. Under Specify the licensing mode for the Remote Desktop Session Host server, select Per Device or Per User, as appropriate for your deployment. Policy settings for Remote Desktop licensing mode

Additional troubleshooting methods

If you verify that the licensing configuration is correct, but the system still isn't correctly issuing CALs, follow these steps:

  1. Use RD Licensing Diagnoser to check for issues
  2. Make sure that the versions of your RDS CALs, RD Session Hosts, and RD License Servers are compatible
  3. Make sure that you're using the appropriate type of RDS CAL for your RDS environment

Step 1: Use RD Licensing Diagnoser to check for issues

To open RD Licensing Diagnoser, open Server Manager, and select Tools > Terminal Services > RD Licensing Diagnoser.

RD Licensing Diagnoser

The top window of the RD Licensing Diagnoser lists problems that the diagnoser has detected. For example, you might see a message that resembles the following:

Licenses are not available for this Remote Desktop Session Host server, and RD Licensing Diagnoser has identified licensing problems for the RD Session Host Server

The RD Licensing Diagnoser Information section shows more information about the problem, including its possible causes and the steps to follow to remediate it.

Step 2: Make sure that the versions of your RDS CALs, RD Session Hosts, and RD License Servers are compatible

The following table shows which RDS CAL and RD Session Host versions are compatible with one another.

STEP 2: MAKE SURE THAT THE VERSIONS OF YOUR RDS CALS, RD SESSION HOSTS, AND RD LICENSE SERVERS ARE COMPATIBLE
  RDS 2008 R2 and earlier CAL RDS 2012 CAL RDS 2016 CAL RDS 2019 CAL
2008, 2008 R2 session host Yes Yes Yes Yes
2012 session host No Yes Yes Yes
2012 R2 session host No Yes Yes Yes
2016 session host No No Yes Yes
2019 session host No No No Yes

The following table shows which RDS CAL and license server versions are compatible with one another.

STEP 2: MAKE SURE THAT THE VERSIONS OF YOUR RDS CALS, RD SESSION HOSTS, AND RD LICENSE SERVERS ARE COMPATIBLE
  RDS 2008 R2 and earlier CAL RDS 2012 CAL RDS 2016 CAL RDS 2019 CAL
2008, 2008 R2 license server Yes No No No
2012 license server Yes Yes No No
2012 R2 license server Yes Yes No No
2016 license server Yes Yes Yes No
2019 license server Yes Yes Yes Yes

For more information, see RDS CAL version compatibility.


Article N° 1396 du 23.06.2021 15:06:57 par Alain Gremaud -- Permalink : http://windows.epfl.ch/?article=1396