"No Remote Desktop license servers available"
The session host's grace period has expired and it cannot get a licence, so new sessions are refused.
What you see
Users are disconnected or refused with a licensing message. Event 1128 or 4105 in TerminalServices-Licensing. It typically starts abruptly 120 days after the role was installed.
What is actually wrong
Either no licence server was ever configured, the configured one is unreachable, it has no CALs of the right type, or the server was never activated.
Codes and articles
Fixes (2)
Point the session host at the licence server and set the mode
A licence server exists with CALs on it.
Check the current licensing configuration.
$ts = Get-WmiObject -Namespace root\cimv2\TerminalServices -Class Win32_TerminalServiceSetting$ts.LicensingName$ts.LicensingType
Set the licensing mode. 2 is Per Device, 4 is Per User — it must match the CALs you actually own.
$ts.ChangeMode(4)A mismatch between the mode set here and the CAL type installed on the licence server produces this exact error even though everything looks configured.
Set the licence server name.
$col = Get-WmiObject -Namespace root\cimv2\TerminalServices -Class Win32_TSLicenseServer$col.SetSpecifiedLicenseServerList('rdlic.example.local')
Confirm the session host can reach and use it.
Test-NetConnection rdlic.example.local -Port 135$col.GetSpecifiedLicenseServerList()
Restart the Remote Desktop Services service or the server.
Get-WinEvent -LogName 'Microsoft-Windows-TerminalServices-Licensing/Admin' -MaxEvents 10 | Format-Table TimeCreated, Id, Message -AutoSizeStand up and activate a licence server
There is no licence server. Note that the grace period cannot be extended or reset — you need real CALs.
Install the role.
Install-WindowsFeature RDS-Licensing, RDS-Licensing-UIActivate the server through the RD Licensing Manager wizard — it needs to talk to Microsoft, by internet, web browser or phone.
Install the CALs you have purchased, choosing Per User or Per Device to match your agreement.
In an AD domain, add the licence server to the Terminal Server License Servers group so it can track Per User CALs.
Add-ADGroupMember -Identity 'Terminal Server License Servers' -Members 'RDLIC$'Per User CAL tracking writes to the user object in AD. Without this membership the server issues licences but cannot record them, and reporting is wrong.
Point the session hosts at it using the previous fix.
Related faults
Where this stops. This write-up was written and checked by hand. It says what each step changes, how to confirm it worked and how to reverse it, and anything destructive is flagged before you reach it. If it does not match what your machine is doing, search the Support Centre for the exact code or message — and when something needs a person, get in touch.