Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to override the license server discovery process in Windows Server 2003 Terminal Services


Summary

This article describes how to override the license server discovery process in Microsoft Windows Server 2003 Terminal Services.

↑ Back to the top


More Information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

To select a specific license server for use with various Windows Terminal Services servers in a domain or site, you can modify the registry to point to a particular license server. You can specify that all Terminal Services servers work with a particular license server for accounting purposes. A Terminal Services server and the license server can reside in different domains. Microsoft recommends that you use the LicenseServers registry key to reduce any issues with the Terminal Server licensing discovery process.

Note The license servers and the terminal servers should be in the same domain or the servers should be in domains that trust each other.



Note If you select license servers in a different forest or workgroup, you must apply a hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

905687 A Windows Server 2003-based terminal server in a forest cannot obtain a license from a license server in a different forest

A Windows Server 2003-based terminal server in a forest cannot obtain a license from a license server in a different forest.

Note The location and method involving the registry have changed from Microsoft Windows 2000.


To select a specific license server, follow these steps, and then quit Registry Editor.
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
  3. On the Edit menu, point to New, and then click Key.
  4. Name the new key "LicenseServers"
  5. Locate and then click the following key in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters\LicenseServers
  6. For each licensing server to which you would like to point the Terminal Services server, point to New on the Edit menu, and then click Key.
  7. Name the new key "ServerName" where ServerName is the NetBIOS name of the license server that you want to use, and then press ENTER.

    Note The new key name can be any of the following designations that represent the license server:
    • The NetBIOS name of the server
    • The fully qualified domain name (FQDN) of the server
    • The IP Address of the server
  8. Restart your computer.
The selection of a specific license server enables administrators to select a license server at a site and to have Terminal Services servers from various domains located at the same site. This enables the Terminal Services servers to use one license server, instead of requiring a local license server for each domain.

Currently, Terminal Services servers work with license servers in their own domain, which may force them to use wide area network (WAN) links to find a license server, even if there is a license server from another domain located at the same site. The preceding method enables the crossing of domains for license tracking and accounting purposes. Microsoft Windows 2000 uses a different registry value to specify a license server.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

239107 Establishing preferred Windows 2000 Terminal Services license server

↑ Back to the top


Keywords: kb, kbinfo, kbwinnetswept

↑ Back to the top

Article Info
Article ID : 279561
Revision : 6
Created on : 8/20/2020
Published on : 8/20/2020
Exists online : False
Views : 614