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

Asabea AMOAFO 0 Reputation points
2024-11-07T09:00:58.1333333+00:00

This is what I get when I try to login to my remote machine. This happened after the payment was delayed

[Window Title]

Remote Desktop Connection

[Content]

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

Please contact the server administrator.

[V] See details [OK]

[Expanded Information]

Error code: 0x808

Extended error code: 0x101

Timestamp (UTC): 11/07/24 08:53:24

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,095 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,625 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 26,591 Reputation points
    2024-11-07T10:48:11.37+00:00

    Hello @Asabea AMOAFO

    Thanks for the confirmation. Let's try to troubleshoot this issue based on the below cause

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

    Cause: The 120-day licensing grace period for the Remote Desktop Server role has expired and you need to install licenses.

    As a workaround, save a local copy of the RDP file from the portal and run this command at a PowerShell command prompt to connect. This step disables licensing for just that connection:

    PowerShellAI ConvertCopy

    mstsc <File name>.RDP /admin
    

    If you don't actually need more than two simultaneous Remote Desktop connections to the VM, you can use Server Manager to remove the Remote Desktop Server role.

    For more information, see the blog post

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/troubleshoot-specific-rdp-errors#the-remote-session-was-disconnected-because-there-are-no-remote-desktop-license-servers-available-to-provide-a-license

    If I have answered your question, please accept this as answer as a token of appreciation.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.