Error message when you try to connect to a remote computer by using Remote Desktop on a Windows XP Professional Edition-based computer: "The remote computer disconnected the session"

Article translations Article translations
Article ID: 921045 - View products that this article applies to.
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
Expand all | Collapse all


When you try to connect to a remote computer by using Remote Desktop on a computer that is running Microsoft Windows XP Professional Edition, you may receive the following error message:
The remote computer disconnected the session because of an error in licensing protocol.


Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To resolve this problem, follow these steps:
  1. On the computer that cannot open the Remote Desktop session, click Start, click Run, type cmd, and then click OK.
  2. At the command prompt, type the following command, and then press ENTER:
  3. Click Start, click Run, type regedit, and then click OK.
  4. In Registry Editor, locate and then click the following key:
  5. Delete all the keys that are located under the
  6. On the File menu, click Exit.
  7. Restart the computer.


Article ID: 921045 - Last Review: March 6, 2013 - Revision: 2.0
Applies to
  • Microsoft Windows XP Professional
kberrmsg kbtshoot kbprb KB921045

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from