Event ID 67 — Terminal Services License Server Discovery

Applies To: Windows Server 2008

Terminal Services license server discovery is the process by which a terminal server discovers (contacts) an available license server to request Terminal Services client access licenses (TS CALs) for the clients that are connecting remotely to the terminal server. If the terminal server cannot discover a license server, client connections may fail.

The recommended discovery scope for a license server is forest discovery scope. If you configure forest discovery scope, terminal servers, without any additional configuration, can automatically discover a license server in the same forest, because the license server is published in Active Directory Domain Services. To configure forest discovery scope, you must be logged on as an enterprise administrator to the forest in which the license server is a member.

Note: A terminal server running Windows Server 2008 can only communicate with a license server running Windows Server 2008.

Event Details

Product: Windows Operating System
ID: 67
Source: Microsoft-Windows-TerminalServices-Licensing
Version: 6.0
Symbolic Name: TLS_E_LS_UNPUBLISHED
Message: The attempt to unpublish the Terminal Services license server from Active Directory Domain Services failed.
Win32 error code: %1!s!

Resolve

Unpublish the license server from Active Directory Domain Services

To resolve this issue, unpublish the Terminal Services license server from Active Directory Domain Services (AD DS).

To perform this procedure, you must have membership in the Enterprise Admins group in AD DS, or you must have been delegated the appropriate authority.

To unpublish the license server:

  1. Open ADSI Edit. To open ADSI Edit, log on to a computer where ADSI Edit is installed (for example, a Windows Server 2008 AD DS domain controller), click Start, click Run, type adsiedit.msc, and then click OK.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. On the Action menu, click Connect to.
  4. Under Connection Point, select Select a well known Naming Context, select Configuration from the drop-down list, and then click OK.
  5. Expand the Configuration container, and then expand the node that represents the domain in which the license server is a member (for example, CN=Configuration,DC=contoso,DC=com).
  6. Expand CN=Sites, and then click the container for the AD DS site in which the license server is located (for example, CN=Default-First-Site-Name).
  7. In the right pane, right-click CN=TS-Enterprise-License-Server, and then click Properties.
  8. Under Attributes, click siteServer, and then click Edit.
  9. Under Values, click the license server that you want to unpublish, click Remove, and then click OK.
  10. Click OK to close the CN=TS-Enterprise-License-Server Properties dialog box.

Verify

To verify the discovery scope configuration of the license server, use Review Configuration in TS Licensing Manager.

To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.

To verify the discovery scope configuration:

  1. On the license server, open TS Licensing Manager. To open TS Licensing Manager, click Start, point to Administrative Tools, point to Terminal Services, and then click TS Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the left pane, click All Servers.
  4. In the right pane, in the Configuration column, an entry of OK should appear in the row for the license server.
  5. To review the configuration details of the license server, right-click the license server that you want to review, and then click Review Configuration.
  6. There should not be any error or warning messages related to discovery in the Configuration dialog box.

Note:  To verify that the terminal server can discover (contact) the license server, use Licensing Diagnosis in the Terminal Services Configuration tool on the terminal server.

Terminal Services License Server Discovery

Terminal Services