Share via


Event ID 8195 — 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: 8195
Source: Microsoft-Windows-TerminalServices-Licensing
Version: 6.0
Symbolic Name: TLS_W_TLSARW_ROLE_TSLS_FAIL
Message: The computer account for the Terminal Services license server could not be added to the Terminal Server License Servers group in Active Directory Domain Services during the installation of TS Licensing. The action failed with Win32 error code %1!s!.

Resolve

Add the license server to the Terminal Server License Servers group and restart the Terminal Services Licensing service

To resolve this issue, do the following:

  • Add the computer account for the license server to the Terminal Server License Servers group in Active Directory Domain Services (AD DS).
  • Restart the Terminal Services Licensing service on the Terminal Services license server.

To perform these tasks, refer to the following sections.

Note:  If the license server is installed on a domain controller, the Network Service account also needs to be a member of the Terminal Server License Servers group.

Add the computer account for the license server to the Terminal Server License Servers group

You can add the computer account for the license server to the Terminal Server License Servers group in AD DS either by using TS Licensing Manager or by using Active Directory Users and Computers. To perform these tasks, refer to the following sections.

Add the computer account by using TS Licensing Manager

To perform this procedure, you must have membership in the local Administrators group on the license server and membership in the Domain Admins group in AD DS, or you must have been delegated the appropriate authority.

To add the account to the group:

  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, click the name of the license server, and then on the Action menu, click Review Configuration.

  4. In the Configuration dialog box, click Add to Group.

    Note:  If Add to Group does not appear in the Configuration dialog box, the computer account for the license server (and the Network Service account) are already members of the Terminal Server License Servers group and no further action is required.

  5. Click Continue, and then click OK.

  6. Restart the Terminal Services Licensing service on the license server. To restart the Terminal Services Licensing service, see the section titled "Restart the Terminal Services Licensing Service."

Add the computer account by using Active Directory Users and Computers

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 add the account to the 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, click Add.
  6. Click Object Types, select the Computers check box, and then click OK.
  7. In the Enter the object name to select box, type the name of the license server that you want to add to the Terminal Server License Servers group. If the license server is installed on a domain controller, add the Network Service account.
  8. Click OK, and then click OK.
  9. Restart the Terminal Services Licensing service on the license server. To restart the Terminal Services Licensing service, see the section titled "Restart the Terminal Services Licensing service."

Restart the Terminal Services Licensing service

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

To start the Terminal Services Licensing service:

  1. Open the Services snap-in on the license server. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
  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 Services pane, right-click Terminal Services Licensing, and then click Restart.
  4. Confirm that the Status column for the Terminal Services Licensing service now displays Started.

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