Common Remote Desktop Issues in Windows Server
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 in a PowerShell command prompt to connect. This step disables licensing for that connection only:
PS C:\mstsc <File name>.RDP /admin
If you do not need more than two simultaneous Remote Desktop connections to the virtual machine, you can use Server Manager to remove the Remote Desktop Server role.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article