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" (921045)



The information in this article applies to:

  • Microsoft Windows XP Professional

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

SYMPTOMS

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.

RESOLUTION

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:

    NET START TERMSERVICE

  3. Click Start, click Run, type regedit, and then click OK.
  4. In Registry Editor, locate and then click the following key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing

  5. Delete all the keys that are located under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing key.
  6. On the File menu, click Exit.
  7. Restart the computer.

MORE INFORMATION

For more information about how to use Remote Desktop for Windows XP Professional, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:8/24/2006
Keywords:kberrmsg kbtshoot kbprb KB921045 kbAudEndUser