I had an issue where i believe i'd setup the licensing correctly for 2012 R2, seems there are a few things i need to do behind the scenes if i want a simple Session host that allows my client to connect to the terminal server via RDP.
http://blogs.technet.com/b/askperf/archive/2013/09/20/rd-licensing-configuration-on-windows-server-2012.aspx
This article above shows how to achieve this, but there is some small fine print that allows you to connect to a licensing server when none of those above steps seems to get a connection.
To guarantee that your TS will connect to a licensing server at all:
Run POWER-SHELL as Administrator
Run the following commands:
To configure the license server on RDSH/RDVH:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.SetSpecifiedLicenseServerList("License.contoso.com")
Note “License” is the name of the License Server in the environment
To verify the license server configuration on RDSH/RDVH:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.GetSpecifiedLicenseServerList()
To change the licensing mode on RDSH/RDVH:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.ChangeMode(value) - Value can be 2 - per Device, 4 - Per user
To validate the licensing mode:
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj. LicensingType
$obj.LicensingName
Once you have run these commands refresh the licensing page and you will see no more yellow warnings.
The issue seems to be related to not having a connection broker installed, if you don't have this installed then you will need to run these commands.
I personally do not need a connection broker but if you have more than 1 terminal server and need to contingency then it maybe required.
-Freeze