Skip to content

Commit 766ef56

Browse files
author
Simonx Xu
authored
Merge pull request #8046 from rafx75/docs-editor/cannot-connect-rds-no-license-1736963868
AB#3512: Update cannot-connect-rds-no-license-server.md
2 parents eebeabb + 555e36e commit 766ef56

1 file changed

Lines changed: 26 additions & 7 deletions

File tree

support/windows-server/remote/cannot-connect-rds-no-license-server.md

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
title: Cannot connect to RDS because no RD Licensing servers are available
33
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
55
manager: dcscontentpm
66
audience: itpro
77
ms.topic: troubleshooting
8-
ms.reviewer: kaushika, v-tappelgate
8+
ms.reviewer: kaushika, v-tappelgate, rafx
99
ms.custom: sap:Remote Desktop Services and Terminal Services\Licensing for Remote Desktop Services (Terminal Services), csstroubleshoot
1010
keywords: RD Licensing server, RD CAL
1111
---
1212
# Cannot connect to RDS because no RD Licensing servers are available
1313

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.
1515

1616
## Symptoms
1717

@@ -44,7 +44,7 @@ These issue could be caused by the following user messages:
4444

4545
In this case, [check the RD Licensing configuration](#check-the-rd-licensing-configuration).
4646

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:
4848

4949
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.
5050

@@ -107,10 +107,29 @@ You can check the RD Licensing configuration by using Server Manager and RD Lice
107107

108108
:::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.":::
109109

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+
110129
## Refresh the X509 Certificate registry keys
111130

112131
> [!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.
114133
115134
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.
116135

@@ -119,9 +138,9 @@ To resolve this problem, back up and then remove the X509 Certificate registry k
119138
120139
Here's how to reactivate the RD Licensing server:
121140

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**.
123142
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**.
125144
4. Right-click each of the following values, select **Delete**, and then select **Yes** to verify the deletion:
126145
- **Certificate**
127146
- **X509 Certificate**

0 commit comments

Comments
 (0)