Fix For: Remote Desktop Connection Error

On my Windows 7 pc, I encountered a strange problem. I was unable to log in to another pc using remote desktop. On trying to log in  I got a remote desktop connection error. But I was able to log in to the windows 7 pc from other workstations. This is because of the corrupted registry entries.

Error Details

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

Remote Desktop Connection Error
Remote Desktop Connection Error

Solution

To resolve this problem, right-click the Remote Desktop Connection shortcut, and then click “Run as Administrator”. By default, the remote desktop connection runs as a user with the lowest user permissions. By default, a restricted user does not have permission to write registry entries to HKEY_LOCAL_MACHINE. Therefore, attempts to rewrite the MSLicensing key fails. Starting Remote Desktop Connection with administrative credentials provides the permissions that are necessary to write the needed registry keys.

or you can fix the issue by following the below steps.

Steps to Fix the Registry

  1. Go to start menu, In the search box type in “regedit” and hit enter.
  2. In the registry editor screen, navigate to the registry subkey “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing”.
  3. Click MSLicensing.
  4. On the registry editor menu, navigate to Files and then click “Export…”.
  5. In the File name box, type licensing_backup, and then click Save. (In case if you need to restore this registry key in the future, double-click licensing_backup.reg.)
  6. Go to the Edit menu, click Delete, and then click Yes to confirm the deletion of the MSLicensing registry subkey.
  7. Close Registry Editor, and then restart the computer. This should solve the problem.

Related

Reference

  • The details are available in microsoft technet website.

 


Leave your thoughts...

This site uses Akismet to reduce spam. Learn how your comment data is processed.