Microsoft KB Archive/315277

= &quot;Event ID 1004&quot; error message when you connect to Terminal Server =

Article ID: 315277

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server

-



This article was previously published under Q315277



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 use Terminal Server Client to connect to a Terminal Server computer, you may receive the following error message:

Event ID 1004: Terminal server cannot issue a client license.



CAUSE
This behavior can occur if sections of the Windows 2000 registry on Terminal Server Client are changed from the default permission level.



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 behavior, make sure that Terminal Server is communicating with the Terminal Server License server, and then edit the permissions on the Terminal Server Client computer. To do so, follow these steps:  Verify that there is no communication issue between Terminal Server and Terminal Server License server. For additional information about how to check the communication between Terminal Server and Terminal Server License server, click the following article number to view the article in the Microsoft Knowledge Base:

274805 &quot; Terminal Server Has Ended the Connection&quot; error message

 Edit the permissions in the registry on the Terminal Server Client computer:  Start Registry Editor (Regedt32.exe). Locate the following key in the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing\Store\LICENSE00x

 Click Security, and then click Permissions. Set the permission for Everyone to Full, and then click OK.</li> Quit Registry Editor.</li></ol> </li></ol>

Keywords: kberrmsg kbprb kbsecurity KB315277

-

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

© Microsoft Corporation. All rights reserved.