RD会话主机服务器2012上没有可用的远程桌面许可证服务器



A fully functional and activated 2012 Remote Desktop Session Host server displayed the following message:

RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第1张图片

This was a simple setup on one server with the: connection broker, Session Host and Licensing server with 2012 CAL’s installed.

Even though the licensing seems to be configured correctly, in server manager:

RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第2张图片

and powershell:

RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第3张图片

Licensing diagnostics:

RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第4张图片

everywhere you look, everything seems to be OK. But the license manager shows something odd:

RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第5张图片

No licenses are being used? This server was used since late 2012. Some interesting things could also be found in the event logs, the following events appear:

EventID: 1130
Source: TerminalServices-RemoteConnectionManager

The Remote Desktop Session Host server does not have a Remote Desktop license server specified. To specify a license server for the Remote Desktop Session Host server, use the Remote Desktop Session Host Configuration tool.

RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第6张图片

and:

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.

RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第7张图片

The solution was to delete the REG_BINARY in

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod

Only leaving the default.RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第8张图片

















Note: you must take ownership and give admin users full control to be able to delete this key.

After a reboot the server should be working again, licenses are now being used:

RD会话主机服务器2012上没有可用的远程桌面许可证服务器_第9张图片

Although everything seemed to be ok and configured correctly with valid licenses, it seems that the setup was still in a 180 day grace period, even though it was correctly configured.
A possible bug in RDS 2012?