> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fix "No Remote Desktop License Servers Available"

> Fix "no Remote Desktop license servers available" after the 120-day RDS grace period: remove the RD Session Host role, or set up an RD licence server with RDS CALs.

"The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license" appears when the **Remote Desktop Session Host** role is installed and its 120-day licensing grace period has ended without a licence server and RDS CALs. If you only need remote administration, remove the Remote Desktop Services role. If several users need sessions, install an RD licence server with RDS CALs and point the server at it.

| Difficulty | Time | Works on | Needs |
| - | - | - | - |
| Intermediate | 15 to 30 minutes | Windows Server 2019 / 2022 / 2025 | Administrator access, console access |

## Before you start

* You need to sign in to remove or configure the role. Try an administrative session first: `mstsc /v:203.0.113.10 /admin`. If that is refused too, use the [VNC console](https://help.freakhosting.com/portals/vps-panel/how-to-enable-and-use-vnc-console-access.md) on a VPS, or [open a ticket](https://freakhosting.com/clientarea/submitticket.php) on a dedicated server.
* Take a [snapshot or backup](https://help.freakhosting.com/portals/vps-panel/how-to-schedule-and-restore-backups.md) before you remove server roles.

You may also see these related messages:

```text theme={null}
Remote Desktop licensing mode is not configured.
Remote Desktop Services will stop working because this computer is past its licensing grace period.
```

## What the grace period is and what you are allowed without RDS

Microsoft documents two different ways to use Remote Desktop on Windows Server:

| | Remote Desktop for administration | Remote Desktop Services (RD Session Host role) |
| - | - | - |
| What it is | Built into Windows Server; enabled in **Server Manager > Local Server > Remote Desktop** | A server role for many users working on the server at the same time |
| Connections | Two concurrent remote connections | As many as you have licences for |
| Licences | No RDS CALs needed | An RDS CAL for each user or device, issued by an RD licence server |
| Grace period | Not applicable | 120 days without a licence server, then connections are refused |

An RDS CAL (client access licence) is the licence that lets one user or one device connect to an RD Session Host. Microsoft states: "There's a licensing grace period of 120 days during which no license server is required. Once the grace period ends, clients must have a valid RDS CAL issued by a license server before they can sign in a remote session."

> [!WARNING]
>
> Don't use registry edits or scripts that "reset" the grace period. They circumvent Microsoft licensing and are not a fix. Remove the role or license it properly.

## Cause 1: the RD Session Host role was installed but isn't needed (most likely)

This happens when someone added **Remote Desktop Services** while trying to enable RDP or to allow more than two sessions.

**Check:** in PowerShell as Administrator:

```powershell theme={null}
Get-WindowsFeature -Name RDS* | Where-Object Installed
```

If **Remote Desktop Session Host** (`RDS-RD-Server`) is listed and you don't run a multi-user server, this is the cause.

**Fix:** remove the role.

**1. Open the removal wizard**

In **Server Manager**, click **Manage > Remove Roles and Features**, then **Next** until you reach **Server Roles**.

**2. Remove Remote Desktop Services**

Clear **Remote Desktop Services** (or only the role services you don't need, such as **Remote Desktop Session Host**, **Remote Desktop Licensing** and **Remote Desktop Connection Broker**). Click **Next**, then **Remove**.

**3. Restart**

Restart the server when the wizard asks.

Microsoft also documents the command-line equivalent, run in an elevated Command Prompt:

```bat theme={null}
dism /ONLINE /Disable-feature /FeatureName:Remote-Desktop-Services
```

After the restart, Remote Desktop works as before for administration, with two concurrent connections. Make sure Remote Desktop is still enabled in **Server Manager > Local Server**.

## Cause 2: you need RDS, but licensing isn't set up

If several people work on the server at once, you need the RD Session Host role, an activated RD licence server and enough RDS CALs.

**Check:** in **Server Manager**, open the **Tools** menu and start **RD Licensing Diagnoser**. It lists the licensing mode, the licence servers it found and the problem.

**Fix:**

**1. Get RDS CALs that match your server version**

A session host accepts CALs of its own version or newer. For example, Windows Server 2022 accepts 2022 and 2025 RDS CALs, and Windows Server 2025 accepts only 2025 RDS CALs. On a workgroup server (not in a domain) use **Per Device** CALs; Per User CALs need Active Directory.

**2. Install and activate the licence server**

Install the **Remote Desktop Licensing** role service, activate the licence server in **Remote Desktop Licensing Manager** and install your CALs. The licence server must run the same Windows Server version as the CALs or newer. Follow [Activate the RDS license server](https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-activate-license-server).

**3. Point the session host at the licence server**

On the session host, run `gpedit.msc` and go to **Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Licensing**. Enable **Use the specified Remote Desktop license servers** and enter the licence server name. Enable **Set the Remote Desktop licensing mode** and choose **Per Device** or **Per User** to match your CALs.

**4. Apply and test**

Run `gpupdate /force`, then run **RD Licensing Diagnoser** again. It should show no problems.

## How to check it worked

Connect with Remote Desktop as normal (without `/admin`). The licensing message no longer appears. If you removed the role, `Get-WindowsFeature -Name RDS-RD-Server` shows it as not installed.

## Frequently asked questions

### Does Windows Server include RDS CALs?

RDS CALs are separate licences from the Windows Server licence itself. Two concurrent administrative connections don't need them. Check your current licence with [Windows Server activation and licensing](https://help.freakhosting.com/portals/other/how-to-check-windows-server-activation-and-licensing.md).

### Can I get more than two sessions without RDS?

No. More than two concurrent sessions need the RD Session Host role and RDS CALs.

### What does mstsc /admin do?

It opens an administrative session to the server. Use it to sign in and fix licensing, not as a way to avoid licensing.

## Related guides

> [card] [VPS and dedicated server guides](https://help.freakhosting.com/portals/other/vps-and-dedicated-server-guides.md)
>
> Every guide in this section.

> [card] [Roles and features](https://help.freakhosting.com/portals/other/how-to-install-roles-and-features-on-windows-server.md)
>
> Add and remove server roles.

> [card] [Activation and licensing](https://help.freakhosting.com/portals/other/how-to-check-windows-server-activation-and-licensing.md)
>
> Check your Windows Server licence.

> [card] [Add a Remote Desktop user](https://help.freakhosting.com/portals/other/how-to-add-a-user-to-remote-desktop-on-windows-server.md)
>
> Give another account RDP access.

> [card] [Remote Desktop can't connect](https://help.freakhosting.com/portals/other/how-to-fix-remote-desktop-cant-connect.md)
>
> Other RDP connection problems.

***

> [!NOTE]
>
> **Checked against [Microsoft Learn: License RDS with client access licenses](https://learn.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-client-access-license), [No RD Licensing servers available](https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/cannot-connect-rds-no-license-server) and [Remote Desktop license server isn't available](https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/troubleshoot-rdp-no-license-server)** on 4 November 2026. Steps were not tested on a live Windows server for this page. Licensing terms are Microsoft's; check your licence agreement for your situation.

> [!NOTE]
>
> ### Need Extra Help?
>
> If you encounter any issues, our support team is ready to assist:
>
> * **Live Chat:** Quick assistance via our website.
> * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
> * **Discord:** [Join our Community](https://discord.gg/freakhosting)
> * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)

> [!TIP]
>
> ### Save on Your Hosting
>
> Ready to upgrade your hosting? Use code **KB20** at checkout for **20% off** your first order!

***

**Last Updated:** November 2026


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.