Event ID 4105 — Remote Desktop Services Per User Client Access License Tracking and Reporting

Applies To: Windows Server 2008 R2

In Windows Server 2008 R2, you can use the Remote Desktop Licensing Manager tool to create (generate) reports to track the Remote Desktop Services Per User client access licenses (RDS Per User CALs) that have been issued by a Remote Desktop license server. RDS Per User CAL tracking and reporting is supported only in domain-joined scenarios because the information about the RDS 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 RDS 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: 4105
Source: Microsoft-Windows-TerminalServices-Licensing
Version: 6.1
Symbolic Name: TLS_W_PU_AD_UPDATE
Message: The Remote Desktop license server cannot update the license attributes for user "%1!s!" in the Active Directory Domain "%2!s!". Ensure that the computer account for the license server is a member of Terminal Server License Servers group in Active Directory domain "%2!s!".
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.
If the license server is installed on a domain controller, after you have added the appropriate accounts to the Terminal Server License Servers group, you must restart the Remote Desktop Licensing service to track or report the usage of RDS Per User CALs.
Win32 error code: %3!s!

Resolve

Add the license server to the Terminal Server License Servers group and restart the Remote Desktop 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 Remote Desktop Licensing service on the Remote Desktop 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 Remote Desktop 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 Remote Desktop 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 Remote Desktop Licensing Manager. To open Remote Desktop Licensing Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Licensing Manager.

  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.

  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 Remote Desktop Licensing service on the license server. To restart the Remote Desktop Licensing service, see the section titled "Restart the Remote Desktop 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 Yes.
  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 Remote Desktop Licensing service on the license server. To restart the Remote Desktop Licensing service, see the section titled "Restart the Remote Desktop Licensing service."

Restart the Remote Desktop 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 Remote Desktop 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 Yes.
  3. In the Services pane, right-click Remote Desktop Licensing, and then click Restart.
  4. Confirm that the Status column for the Remote Desktop Licensing service now displays Started.

Verify

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

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

To perform these tasks, refer to the following sections.

Use Review Configuration in Remote Desktop 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 Remote Desktop Licensing Manager. To open Remote Desktop Licensing Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
  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 RDS Per User CAL tracking and reporting in the Configuration dialog box.

Create a report by using RD 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 Remote Desktop Licensing Manager. To open Remote Desktop Licensing Manager, click Start, point to Administrative Tools, point to Remote Desktop Services, and then click Remote Desktop Licensing Manager.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes.
  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.

Remote Desktop Services Per User Client Access License Tracking and Reporting

Remote Desktop Services