Timeout because of RDS licensing

Applicable Products

  • XenApp

Symptoms or Error

1. On the XenApp server you will see the following event in the system logs when the system starts up:-

EventID: 1128
Source: TerminalServices-RemoteConnectionManager

The RD Licensing grace period has expired and the service has not registered with a license server with installed licenses. A RD Licensing server is required for continuous operation. A Remote Desktop Session Host server can operate without a license server for 120 days after initial start up.

User-added image


Solution

2. According to this blog:-

No remote Desktop Licence Server availible on RD Session Host server 2012

3. Delete the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod key after taking its ownership.

User-added image

>The licensing mode was populated incorrectly in the following registry key:-
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core\LicensingMode

User-added image

>Here the value should either be :- 2 for per device and 4 for per user.
>Change its value according to the license type you have, reboot the server, make sure the key remains unchanged.
>Now you should be able to launch the application.


Problem Cause

Licensing mode was populated incorrectly in the following registry key:-
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core\LicensingMode