JSI Tip 6037. 'Error connecting to terminal server: ' when using the Terminal Services Advanced Client to connect to a terminal server?

Jerold Schulman

December 3, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When you use the Terminal Services Advanced Client (TSAC) to connect to a Windows 2000 Terminal Server, you receive:

VBScript: Error connecting to terminal server:

The System event log on the terminal server contains:

Event ID: 1004
Description: The terminal server cannot issue a client license.

NOTE: Other clients can connect to the terminal server.

This problem may be caused by a corrupted MSLicensing registry key on the client computer.

To fix the problem:

1. Use Regedit to navigate to:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSLicensing.

2. On the Registry menu, Export Registry File to a mslicensingbackup.reg file, incase you must Merge the file to recover.

3. Right-click the MSLicensing sub-key and press Delete.

4. Press Yes to confirm the deletion.

5. Exit Regedit.

6. Restart your computer to allow Windows to rebuild the MSLicensing key.

NOTE: See VBScript Error Message Occurs When You Use Terminal Services Advanced Client.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like