Skip to main content
Background Image
  1. Posts/

Fixed "Remote session was disconnected because there are no Remote Desktop client access licenses available"

·152 words·1 min· ·
Xianpeng Shen
Author
Xianpeng Shen
Table of Contents

Problem
#

Sometimes my Windows server 2012 R2 has RDP connect problem below:

The remote session was disconnected because there are no Remote Desktop client access licenses available for this computer.
Please contact the server administrator.

RDP connect problem

How to Fix
#

You could log in to the vSphere Web Client if you have via console or have some other way to log in to the machine.

  1. Open regedit.exe and navigate to

    Regedit

  2. Search and Delete LicensingGracePeriod and LicensingGracePeriodExpirationWarningDays

  3. If deletion failed, this failure message appears unable to delete all specified values, you need change permission. Refer to the related videos on YouTuBe.

  4. Reboot the system if it is still doesn’t work.

In my case, every 90 to 120 days, the RDP end of grace period shows up, this is not the final solution. please let me know if you have a better solution.

Finally, thanks to Bill K. shared with me the above solution.

Related

Daily Notes
·1848 words·9 mins
Starting August 7, 2020, I would like to start recording some daily/important things in English.
How to fix ".NET Framework 2.0 or later is required on this computer to run a Jenkins agent as a Windows service"
·211 words·1 min
Resolve the issue of Jenkins Windows agents not connecting due to missing .NET Framework, including steps to install .NET Framework 3.5 and set up the Jenkins agent service.
Jenkins Top 3 best practice
·906 words·5 mins
Discusses three best practices for Jenkins: Configuration as Code, Shared Libraries, and Multi-Branch Pipeline, highlighting their benefits in terms of transparency, traceability, and self-service builds.
How to use JMeter to do Performance Testing
·491 words·3 mins
A guide on using JMeter for performance testing, including recording scripts, running tests in GUI and non-GUI modes, and integrating with Jenkins for automated testing.
Bitbucket Webhooks Configuration
·398 words·2 mins
How to configure Bitbucket webhooks to trigger Jenkins builds for multi-branch pipelines, ensuring that Jenkins can automatically respond to events like pull requests and branch updates.