Microsoft Product Support Services   All Products  |   Support  |   Search  |   microsoft.com Home  
microsoft.com
  Support Home  |   Find a Solution  |   Request Support  |   Custom Support  |

Terminal Services Licensing Enhancements


The information in this article applies to:
  • Microsoft Windows versions 2000, 2000 SP1 Server
  • Microsoft Windows versions 2000, 2000 SP1 Advanced Server


SYMPTOMS

This article describes two enhancements to Windows 2000 Terminal Services Licensing for Windows 2000 that are available as a hotfix. These two enhancements, Post Logon License Token Issuance and Automatic License Token Re-issuance, are described below. This hotfix also contains the fix that is described in the following Microsoft Knowledge Base article:

Q294729 Terminal Services Clients Consume Multiple Terminal Services CALs Because of Storage Issues


RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article and should be applied only to systems experiencing this specific problem. This fix may receive additional testing at a later time, to further ensure product quality. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows 2000 service pack that contains this fix.

To resolve this problem immediately, download the fix as instructed below or contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

http://support.microsoft.com/directory/overview.asp
NOTE: In special cases, charges that are normally incurred for support calls may be canceled, if a Microsoft Support Professional determines that a specific update will resolve your problem. Normal support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The following files are available for download from the Microsoft Download Center:
[GRAPHIC: Download]Download Q287687_w2k_sp3_x86_en.exe now
For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

The English version of this fix should have the following file attributes or later:
   Date      Time     Version        Size     File name   
   -------------------------------------------------------
   05/30/01  06:50PM  5.0.2195.3649  122,640  Icaapi.dll  
   05/29/01  12:19PM  5.0.2195.3649   93,456  Licmgr.exe  
   05/30/01  06:48PM  5.0.2195.3657  330,000  Lserver.exe 
   05/30/01  06:50PM  5.0.2195.3649   26,384  Mstlsapi.dll
   05/29/01  12:19PM  5.0.2195.3649  141,584  Termsrv.exe
   05/30/01  06:50PM  5.0.2195.3649   23,312  Tls236.dll 
IMPORTANT: This hotfix must be applied to all Terminal Servers and Terminal Services Licensing Servers. Only TS CAL tokens that are issued after the application of this hotfix will utilize re-issuance logic.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article.


MORE INFORMATION

Post Logon License Token Issuance

Current Behavior

Windows 2000 Terminal Servers issue Terminal Services CAL (TS CAL) tokens to all clients after they connect by using the Terminal Services client. The TS CAL token is presented to the device before a user enters credentials and is granted or denied access to connect.

Enhanced Behavior

When an unlicensed client connects for the first time, the Terminal Server issues a temporary TS CAL token. After the user has logged into the session, the Terminal Server instructs the License Server to mark the issued temporary TS CAL token as being validated. The next time the client connects, an attempt is made to upgrade the validated temporary TS CAL token to a full TS CAL token. If no license tokens are available, the temporary TS CAL token will continue to function for 90 days.

This enhancement is designed to prevent TS CALs from being inadvertently allocated to devices that are not intended to be licensed for Terminal Services usage. To allocate a TS CAL token to a device, a successful logon to a Terminal Server must occur. However, this does not prevent users who are authorized to log on to a Terminal Server from logging on from devices that the organization does not intend to license. If this happens, a TS CAL token is still assigned to the device.

Automatic License Token Re-issuance

Current Behavior

TS CAL tokens are issued for each device, and are stored locally on each device that connects to a Windows 2000 Terminal Server. If a device loses this TS CAL token through hard disk failure, clean reinstallation, or other method, the TS CAL token remains assigned to that device. The only way to recover this TS CAL token is to place a phone call to the Microsoft Clearinghouse.

Enhanced Behavior

An expiration period has been added to each TS CAL token that is issued. This expiration period is a random number of days between 52-89 days of issuance. When a client connects to a Terminal Server, this date is checked. If the expiration is within 7 days, the Terminal Server connects to the License Server and renews the TS CAL token, giving it another expiration period of 52-89 days. If the License Server is not available, the TS CAL token functions as normal, with the Terminal Server attempting to replace it at each login. Any TS CAL token that has not been renewed is returned to the group of available license tokens by the License Server upon expiration.

For example, an unlicensed device connects and receives a TS CAL token with an expiration period set at the maximum of 89 days. The device's operating system is then reinstalled. The device then connects again. Because no other TS CAL tokens are available, the device is issued a temporary TS CAL token so it can connect for 90 days. On day 89, the original TS CAL token is returned to the group of available licenses. The next time this device connects, the Terminal Server presents the device with the full TS CAL token that was returned to the group of available license tokens.

With the addition of these fixes, it should not be necessary to call the Microsoft Clearinghouse to recover lost license tokens. If a device loses its license token, the administrator can be confident that license tokens that are issued after the enhancement was installed will be recovered automatically.

IMPORTANT: There are a few cases in which license tokens will not be recovered automatically:
  • License tokens are issued prior to the installation of this hotfix. Only TS CAL tokens that are issued after the installation of this fix will utilize the re-issuance logic. A TS CAL token that is issued to a device prior to the installation of this hotfix will remain assigned to that device. The Clearinghouse must be contacted to recover any TS CAL tokens that are issued prior to the installation of this hotfix. Because of this, it is important that this hotfix be installed on all Terminal Servers and Terminal Services Licensing Servers in an enterprise.


  • Catastrophic failure that results in the loss of the licensing database. In the event of a failure that results in the loss of the licensing database when a known good backup is not available, Terminal Services Licensing must be reinstalled and reactivated. The Clearinghouse will then need to reissue any previously-issued License Key Packs. The License Key Packs that were originally issued are based on the License Server ID at the time of issuance. If the License Server ID changes, License Key Packs that are based on the old License Server ID cannot be installed.


NOTE: These enhancements are designed to reduce the administrative overhead in managing Terminal Services Licensing. The terms of the licensing agreements for Terminal Services remains unchanged. As in the Terminal Services End User License Agreement (EULA), each device that connects to a Windows 2000 Terminal Server must be allocated a Terminal Services CAL (or be running Windows 2000 Professional). Please refer to the Terminal Services EULA or the following Microsoft Web site for more information:
http://www.microsoft.com/windows2000/server/howtobuy/pricing/terminal.asp
For additional information about Terminal Services licensing enhancements, click the article number below to view the article in the Microsoft Knowledge Base:
Q294655 Terminal Services Licensing Enhancements FAQ
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:
Q249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Additional query words:

Keywords : kbenv kbtool kbWin2000PreSP3Fix kbgraphxlinkcritical
Issue type : kbbug
Technology : kbwin2000AdvServ kbwin2000AdvServSearch kbwin2000Serv kbwin2000Ssearch kbWinAdvServSearch kbWin2000AdvServSP1 kbwin2000ServSP1


Last Reviewed: June 13, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.


Article ID: Q287687

Last Reviewed:
June 13, 2001

Send to a friend

Provided by
Microsoft Product Support Services


Did the information in this article help answer your question?

Yes
No
Did not apply

Please provide additional comments about this information.
(255 character max)