Microsoft KB Archive/329888

= &quot;Error Connecting to Terminal Server: &quot; Error Message Occurs When You Try to Connect to a Terminal Server =

Article ID: 329888

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q329888



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit 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 server that is running Windows 2000 Terminal Services by using Terminal Services Advanced Client (TSAC), you may receive the following error message, where  is the name or the IP address of the terminal server:

VBScript: Error connecting to terminal server:

Additionally, when you view the System log in Event Viewer of the terminal server, the following event ID message is logged:

Event ID: 1004

Description: The terminal server cannot issue a client license.

Other client computers may be able to connect to the terminal server successfully.



CAUSE
This issue can occur if the MSLicensing registry key on the client computer is corrupted.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue, back up the MSLicensing registry key, and then remove it:
 * 1) Log on to the client computer.
 * 2) Start Registry Editor.
 * 3) Locate and then click the following registry subkey:
 * 4) On the Registry menu, click Export Registry File.
 * 5) In the File name box, type mslicensingbackup, and then click Save.

NOTE: If you have to restore this registry key in the future, double-click the Mslicensingbackup.reg file that you saved in this step.
 * 1) On the Edit menu, click Delete, and then click Yes to confirm the deletion of the MSLicensing registry subkey.
 * 2) Quit Registry Editor, and then restart the computer.

NOTE: Windows rebuilds the missing registry key when you restart your computer.



MORE INFORMATION
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

282128 VBScript Error Message Occurs When You Use Terminal Services Advanced Client

Keywords: kbprb KB329888

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.