Tuesday 14 June 2022

Resolved: The remote Session was disconnected because there are no remote desktop servers available to provide a license.

 Issue:

Unable to RDP to server, getting error

"The remote Session was disconnected because there are no remote desktop servers available to provide a license."

Details:

had installed Remote desktop services on a server, have entered the keys as well but after 60 days (Grace period), was unable to RDP even to the Remote desktop server, getting the above error after accepting the credentials.

Solution:

I have workgroup environment to so did the following changes on the Remote Desktop server. but you have domain environment then may need to have domain GPO configured as below and apply.

open local group policy editor on the Remote desktop services Server with

GPedite.msc--->computer configuration--->Administrative Templates--->Windows components--->Remote Desktop Services--->Remote Desktop Session Host--->Licensing--->double click on "Use the specified Remote Desktop license servers"-->select enabled and in "license servers to use" type the name or IP of licensing server and click ok


Then double click on Set the Remote desktop licensing mode, select enabled option and select the licensing mode "per device or per user, etc.." per your licensing details. and click ok.


After that restart your server and try to RDP to this server. it should work.

.


Friday 3 June 2022

because of a protocol error (code: 0x112d), the remote session will be disconnected. please try connecting to the remote computer again.

 Issue:

while trying to RDP a server, getting the error "because of a protocol error (code: 0x112d), the remote session will be disconnected. please try connecting to the remote computer again."


Solution:

in my case the server was over loaded and with restart the issue was resolved.