TerminalServices-Licensing 4105 – The Terminal Services license server cannot update the license attributes for user “” in Active Directory Domain. One or more RD Licensing certificates has expired. Please re-register. And: Log Name: System Source: Microsoft-Windows-TerminalServices-Licensing Date: 5:50:42 PM Event ID: 4105 Task Category: None Level: Warning Keywords: Classic User: N/A Computer: RDSServer.DOMAIN.LOCAL Description. 2030310 – TerminalServices-Licensing 4105 – The Terminal Services license server cannot update the license attributes for user “” in Active Directory Domain “” 983385 – Event ID 17 is logged in the System log on a TS Licensing server or on a RD Licensing server in Windows Server 2003 SP2, in Windows Server. Tech support scams are an industry-wide issue where scammers trick you into paying for unnecessary technical support services. You can help protect yourself from scammers by verifying that the contact is a Microsoft Agent or Microsoft Employee and that the phone number is an official Microsoft global customer service number.
I've already found that bug too, but I don't get this error in my windows event logs. the only entry in the event logs is:
ID 1043 Warning System Source: Microsoft-Windows-TerminalServices-RemoteConnectionManager
The Remotedesktop-Sessionhostserver can't connect to the Remotedesktop-Licenseserver. Make sure that the Remotedesktop-Sessionhostserver is member of the Licenseservergroup 'RDS-Endpointserver' on the Licenseserver. (self translated from german)
But the Remotedesktop-Sessionhostservers are member of this local Group 'RDS-Endpointserver' on the Licenseserver (checked with lusrmgr.msc)
Von: 'Marc Muehlfeld' <mmueh...@samba.org>
An: 'Martin Feldbacher' <martin.f...@stegbauer.info>, sa...@lists.samba.org
Gesendet: Mittwoch, 4. Februar 2015 19:33:49
Betreff: Re: [Samba] samba4 and terminalserver licensing
Hello Martin,
Am 04.02.2015 um 11:43 schrieb Martin Feldbacher:
> But the two Terminalserver-Sessionhosts are not using the
> Terminalserver-License-Server for licensing and I don't know why.
I don't know anything about Citrix, but maybe the following is the reason:
Do you have the follwing error in the Windows event log?
> TerminalServices-Licensing 4105 – The Terminal Services license server
> cannot update the license attributes for user “<UserName>” in Active
> Directory Domain “<DomainName>”
Terminalservices-licensing Id 4105
The reason for that is, that Samba don't support the timestamp value the
msTSExpireDate requires:
There's a patch attached to the bug report, that applies also for 4.1,
if you compile your DCs Samba by yourself. 4.2 will have it included.
Regards,
Marc
--
Firma Stegbauer datawork GmbH & Co. KG
Oberjulbachring 9
84387 Julbach
Tel.: +49 8571 9251222
E-Mail: martin.f...@stegbauer.info
Internet: www.stegbauer.info
Unternehmenssitz: Julbach
Handelsregister beim Amtsgericht: Landshut
Handelsregister-Nummer: HRA 10671
Persönlich haftende Gesellschafterin:
Firma Stegbauer datawork Verwaltungs GmbH - Sitz: Julbach
Handelsregister beim Amtsgericht: Landshut
Handelsregisternummer: HRB 9147
Geschäftsführer: Thomas Stegbauer
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Event ID 38 — Terminal Services Client Access License (TS CAL) Availability
Updated: January 5, 2012
Applies To: Windows Server 2008
When a client—either a user or a device—connects to a terminal server, the terminal server determines if a Terminal Services client access license (TS CAL) is needed. The terminal server then requests a TS CAL from a Terminal Services license server on behalf of the client attempting to connect to the terminal server. If an appropriate TS CAL is available from a license server, the TS CAL is issued to the client, and the client will be able to connect to the terminal server.
TS CALs are installed onto a license server by using the TS Licensing Manager tool.
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: | 38 |
Source: | Microsoft-Windows-TerminalServices-Licensing |
Version: | 6.0 |
Symbolic Name: | TLS_E_GENERATECLIENTELICENSE |
Message: | The Terminal Services license server cannot issue a Terminal Services client access license (TS CAL) to the client because of following error: %1!s! |
Resolve
Remove and then reinstall the TS Licensing role service
To resolve this issue, do the following:
- Make a backup copy of the TS Licensing database folder.
- Uninstall (remove) the TS Licensing role service by using Server Manager. Removing TS Licensing will require you to restart the server.
- Reinstall (add) the TS Licensing role service onto the computer by using Server Manager.
To perform these tasks, refer to the following sections.
Make a backup copy of the TS Licensing database folder
Before you remove the TS Licensing role service from the computer, make a backup copy of the folder that contains the TS Licensing database. This is good standard procedure and a backup can be useful if you need to contact Microsoft Customer Service and Support (CSS) to resolve this issue. When backing up a license server, back up both the System State data and the folder in which the TS Licensing database is installed. This ensures that data in both the registry and the TS Licensing database is backed up.
By default, the TS Licensing database is located in the %systemroot%system32lserver folder (where %systemroot% is the folder in which the operating system is installed, which is, by default, c:windows).
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To confirm the location of the TS Licensing database:
- 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.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
- In the left pane, click All Servers, click the name of the license server, and then on the Action menu, click Review Configuration.
- The database location is listed at the top of the Configuration dialog box.
Uninstall (remove) the TS Licensing role service
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To uninstall (remove) the TS Licensing role service:
- On the license server, open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
- In the left pane, expand Roles.
- Right-click Terminal Services, and then click Remove Role Services.
- On the Select Role Services page, clear the TS Licensing check box, and then click Next.
- On the Confirm Removal Selections page, click Remove.
- On the Removal Progress page, removal progress will be noted.
- On the Removal Results page, you are prompted to restart the server to finish the removal process. Click Close, and then click Yes to restart the server.
- If you are prompted that other programs are still running, do either of the following:
- To close the programs manually and restart the server later, click Cancel.
- To automatically close the programs and restart the server, click Restart now.
- After the server restarts and you log on to the computer with the same user account, the remaining steps of the removal process will finish automatically. When the Removal Results page appears, confirm that the removal of TS Licensing succeeded, and then click Close.
Install (add) the TS Licensing role service
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To install (add) the TS Licensing role service:
- On the license server, open Server Manager. To open Server Manager, click Start, point to Administrative Tools, and then click Server Manager.
- In the left pane, right-click Roles, and then click Add Roles.
- In the Add Roles Wizard, on the Before You Begin page, click Next.
- On the Select Server Roles page, under Roles, select the Terminal Services check box, and then click Next.
- On the Terminal Services page, click Next.
- On the Select Role Services page, select the TS Licensing check box, and then click Next.
- On the Configure Discovery Scope for TS Licensing page, specify the discovery scope for the license server. For more information, see “Terminal Services License Server Discovery” in the TS Licensing Manager Help in the Windows Server 2008 Technical Library (http://go.microsoft.com/fwlink/?LinkId=101648).
On the Configure Discovery Scope for TS Licensing page, you can also specify the location where the TS Licensing database will be stored. If you want to specify a database location other than the default location provided, click Browse. Note that the database location must be a local folder on the computer on which the TS Licensing role service is being installed.
- Click Next. On the Confirm Installation Selections page, ensure that the TS Licensing role service will be installed, and then click Install.
- On the Installation Progress page, installation progress will be noted.
- On the Installation Results page, confirm that installation for the TS Licensing role service succeeded, and then click Close.
For more information about configuring and managing the TS Licensing role service, see the TS Licensing Manager Help in the Windows Server 2008 Technical Library (http://go.microsoft.com/fwlink/?LinkId=101639).
Verify
To verify that Terminal Services client access licenses (TS CALs) are installed and available on the Terminal Services license server, use the TS Licensing Manager tool.
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To verify that TS CALs are installed and available:
Terminal Services Licensing 4105 Community Care
- 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.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
- In the left pane, expand All Servers, and then click the license server. In the right pane, the type, version, and number of TS CALs installed on the license server is listed.
Note: To verify that the terminal server can discover (contact) a Terminal Services license server with the appropriate type of Terminal Services client access licenses (TS CALs), use Licensing Diagnosis in the Terminal Services Configuration tool on the terminal server.
Related Management Information