Partager via


Event ID 77 — Terminal Services Per User Client Access License Tracking and Reporting

Applies To: Windows Server 2008

In Windows Server 2008, you can use the TS Licensing Manager tool to create (generate) reports to track the Terminal Services Per User client access licenses (TS Per User CALs) that have been issued by a Terminal Services license server. TS Per User CAL tracking and reporting is supported only in domain-joined scenarios because the information about the TS Per User CAL that has been issued to a user is stored as part of the user account in Active Directory Domain Services (AD DS).

For TS Per User CAL tracking and reporting to work, the computer account for the license server must be a member of the Terminal Server License Servers group in AD DS. If the license server is installed on a domain controller, the Network Service account must also be a member of the Terminal Server License Servers group.

Event Details

Product: Windows Operating System
ID: 77
Source: Microsoft-Windows-TerminalServices-Licensing
Version: 6.0
Symbolic Name: TLS_E_LS_REMOVEFROM_AD
Message: The computer account for the Terminal Services license server could not be removed from the Terminal Server License Servers group in Active Directory Domain Services.
Win32 error code: %1!s!

Resolve

Remove the license server from the Terminal Server License Servers group

To resolve this issue, remove the computer account for the license server from the Terminal Server License Servers group in Active Directory Domain Services (AD DS).

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

To remove the license server from the Terminal Server License Servers group:

  1. Open Active Directory Users and Computers. To open Active Directory Users and Computers, log on to a computer where Active Directory Users and Computers is installed (for example, an AD DS domain controller), click Start, click Run, type dsa.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. Locate the Terminal Server License Servers group. By default, the Terminal Server License Servers group is located in the Builtin container.
  4. Right-click Terminal Server License Servers, and then click Properties.
  5. On the Members tab, select the license server that you want to remove from the group, and then click Remove.
  6. Click Yes, and then click OK.

Verify

To verify that TS Per User CAL tracking and reporting is configured and working properly, do the following:

  • Use Review Configuration in TS Licensing Manager.
  • Create a report by using TS Licensing Manager.

To perform these tasks, refer to the following sections.

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 use Review 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 TS Per User CAL tracking and reporting in the Configuration dialog box.

Create a report by using 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 create a report:

  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, expand All Servers, and then select the license server.
  4. On the Action menu, point to Create Report, and then click Per User CAL Usage.
  5. In the Create Per User CAL Usage Report dialog box, select the scope for the report, and then click Create Report. The report will be created and a message will appear to confirm that the report was successfully created. Click OK to close the message.
  6. In the left pane, expand the node for license server, and then click Reports. The report will be listed in the right pane.
  7. Right-click the report, click Save As, and then specify the file name and location to save the report, and then click Save.
  8. Open the report and ensure that the report contains the appropriate information.

Terminal Services Per User Client Access License Tracking and Reporting

Terminal Services