Solved

Remote Desktop : The remote computer disconnected the session because of an error in the licensing protocol

Posted on 2009-07-08
6
697 Views
Last Modified: 2012-05-07
I normally have no issues remoting to our only server/domain controller. Today I notice the following issue

Remote Desktop : The remote computer disconnected the session because of an error in the licensing protocol. Please try connecting to the remote computer again or contact your server administrator
0
Comment
Question by:TALYOFFE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 1

Accepted Solution

by:
etchy74 earned 500 total points
ID: 24806136
Have you tried the below steps from Microsoft?  http://technet.microsoft.com/en-us/library/cc756826(WS.10).aspx

The remote computer disconnected the session because of an error in the licensing protocol. Please try connecting to the remote computer again or contact your server administrator.

Cause:  The terminal server might not be able to locate the license server.

Solution:  Perform the following steps:

   1. Verify that the license server is correctly installed.
   2. Verify that the Terminal Server Licensing service is running on the license server.
   3. Verify that the client, the terminal server, and the license server can communicate by ensuring that Domain Name System (DNS) is configured correctly on each computer. To do this, run the ping command from each computer to each computer using the IP address, FQDN, and the NetBIOS name. If any of the ping commands fail, verify the DNS configuration on the network.
   4. On the terminal server, set a preferred licensing server to connect to. You can do this by using the registry, a Windows Management Instrumentation (WMI) script, or, in Windows Server 2003 with Service Pack 1, you can use Group Policy settings or Terminal Server Configuration.

See also:   Install Terminal Server Licensing; Set preferred Terminal Server license servers; Terminal Server license server roles

Solution:  If the previous solution does not resolve this problem, create a backup of the MSLicensing registry key and its subkeys on the client, and then remove the original key and subkeys by doing the following:

   1. On the client, navigate to the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing.
   2. Click MSLicensing.
   3. On the Registry menu, click Export Registry File.
   4. In the File name box, type mslicensingbackup, and then click Save.
   5. If you need to restore this registry key in the future, double-click mslicensingbackup.reg.
   6. On 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.

When the client is restarted, the missing registry key is rebuilt.

Caution

Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.

See also:  Removing Terminal Server Licenses From an RDP Client (http://go.microsoft.com/fwlink/?LinkId=38560)
0
 

Author Comment

by:TALYOFFE
ID: 24806485
I believe it should be correctly installed as I have not experienced this issue before. I have been using RDP to this server for 6 months now with no issues.
0
 
LVL 1

Expert Comment

by:etchy74
ID: 24806782
I have had this error before and doing their solution (registry edit on the client to rebuild the MSLicensing key) fixed it.  Did you give that a shot?
0
How to Defend Against the WCry Ransomware Attack

On May 12, 2017, an extremely virulent ransomware variant named WCry 2.0 began to infect organizations. Within several hours, over 75,000 victims were reported in 90+ countries. Learn more from our research team about this threat & how to protect your organization!

 

Author Comment

by:TALYOFFE
ID: 24806878
Yes I did try this. This is happening on multiple workstations. Not just on mine.
0
 
LVL 1

Expert Comment

by:etchy74
ID: 24806986
Oh ok, I thought it was just one station.

Are there any relative errors in the Application log on the server?  
0
 

Author Comment

by:TALYOFFE
ID: 24807538
nothing in event viewer except a few exchange related errors
0

Featured Post

Webinar May 25: Cloud Security Strategies for SMBs

Small and mid-sized businesses are a driving force behind cloud adoption, and it’s no wonder: cloud benefits are BIG.  But for all the convenience that moving to the cloud provides, where does security come into play?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
If you use NetMotion Mobility on your PC and plan to upgrade to Windows 10, it may not work unless you take these steps.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question