You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/windows-server/remote/cannot-connect-rds-no-license-server.md
+26-7Lines changed: 26 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
2
title: Cannot connect to RDS because no RD Licensing servers are available
3
3
description: This article describes how to troubleshoot RDS connection errors that are related to Remote Desktop licensing.
4
-
ms.date: 01/15/2025
4
+
ms.date: 01/20/2025
5
5
manager: dcscontentpm
6
6
audience: itpro
7
7
ms.topic: troubleshooting
8
-
ms.reviewer: kaushika, v-tappelgate
8
+
ms.reviewer: kaushika, v-tappelgate, rafx
9
9
ms.custom: sap:Remote Desktop Services and Terminal Services\Licensing for Remote Desktop Services (Terminal Services), csstroubleshoot
10
10
keywords: RD Licensing server, RD CAL
11
11
---
12
12
# Cannot connect to RDS because no RD Licensing servers are available
13
13
14
-
This article help you troubleshoot the "No licenses available" error in a deployment that includes an Remote Desktop Session Host (RDSH) server and a Remote Desktop Licensing server.
14
+
This article helps you troubleshoot the "No licenses available" error in a deployment that includes a Remote Desktop Session Host (RDSH) server and a Remote Desktop Licensing server.
15
15
16
16
## Symptoms
17
17
@@ -44,7 +44,7 @@ These issue could be caused by the following user messages:
44
44
45
45
In this case, [check the RD Licensing configuration](#check-the-rd-licensing-configuration).
46
46
47
-
If the RD License Diagnoser lists other problems, such as "The RDP protocol component X.224 detected an error in the protocol stream and has disconnected the client", there may be a problem that affects the license certificates. Such problems tend to be associated with user messages, such as the following:
47
+
If the RD License Diagnoser lists other problems, such as "The RDP protocol component X.224 detected an error in the protocol stream and has disconnected the client," there might be a problem that affects the license certificates. Such problems tend to be associated with user messages, such as the following:
48
48
49
49
Because of a security error, the client could not connect to the Terminal server. After making sure that you are signed in to the network, try connecting to the server again.
50
50
@@ -107,10 +107,29 @@ You can check the RD Licensing configuration by using Server Manager and RD Lice
107
107
108
108
:::image type="content" source="media/cannot-connect-rds-no-license-server/local-gp-specify-licensing-mode.png" alt-text="Specify the licensing mode for the Remote Desktop Session Host server in the Set the Remote Desktop licensing mode dialog box.":::
109
109
110
+
## Check for blocked ports between the Remote Desktop Services servers
111
+
112
+
Make sure that the required ports are open on the firewalls between the RD Session Host and the RD Licensing server.
113
+
114
+
For lists of the ports that have to be open between the different RDS components, see:
115
+
116
+
-[RDS 2012: Which ports are used during deployment?](/archive/technet-wiki/16164.rds-2012-which-ports-are-used-during-deployment)
117
+
-[Service overview and network port requirements for Windows](../networking/service-overview-and-network-port-requirements.md)
118
+
119
+
For more information, see ["Your session will be disconnected in 60 minutes" message when you connect to RDS](your-session-will-be-disconnected-in-60-minutes.md).
120
+
121
+
## Check security policy setting - Access this computer from the network
122
+
123
+
Check the **Access this computer from the network** security policy setting under **Computer Configuration**\\**Windows Settings**\\**Security Settings**\\**Local Policies**\\**User Rights Assignment** in the Local Group Policy Editor.
124
+
125
+
Assign this right to **Authenticated Users**, **Domain Computers**, or Session Host computer account if **Everyone** isn't assigned.
126
+
127
+
For more information, see [Access this computer from the network - security policy setting](/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/access-this-computer-from-the-network#best-practices).
128
+
110
129
## Refresh the X509 Certificate registry keys
111
130
112
131
> [!IMPORTANT]
113
-
> Follow this section's instructions carefully. Serious problems can occur if the registry is modified incorrectly. Before you starty modifying the registry, [back up the registry](https://support.microsoft.com/help/322756) so you can restore it in case something goes wrong.
132
+
> Follow this section's instructions carefully. Serious problems can occur if the registry is modified incorrectly. Before you start modifying the registry, [back up the registry](https://support.microsoft.com/help/322756) so that you can restore it in case something goes wrong.
114
133
115
134
To resolve this problem, back up and then remove the X509 Certificate registry keys, restart the computer, and then reactivate the RD Licensing server. Follow these steps.
116
135
@@ -119,9 +138,9 @@ To resolve this problem, back up and then remove the X509 Certificate registry k
119
138
120
139
Here's how to reactivate the RD Licensing server:
121
140
122
-
1. Open the Registry Editory and navigate to **HKEY\_LOCAL\_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\RCM**.
141
+
1. Open the Registry Editor and navigate to **HKEY\_LOCAL\_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\RCM**.
123
142
2. On the Registry menu, select **Export Registry File**.
124
-
3. Enter **exported- Certificate** into the **File name** box, then select **Save**.
143
+
3. Enter **exported- Certificate** into the **File name** box, and then select **Save**.
125
144
4. Right-click each of the following values, select **Delete**, and then select **Yes** to verify the deletion:
0 commit comments