camscape - for excellent IT solutions itkb.ro - IT knowledge base

windows :: licensing mode for the remote desktop session host server is not configured

Cristian
Cristian M.
TitleLicensing mode for the remote desktop session host server is not configured
TagsRemote desktop session host, licensing mode
Desc.How to set licensing mode on remote desktop session
CodeKBWIN0009 v1.0
Date23 aprilie 2018

So, you have a Remote Desktop server, and licences are installed, server activated. Yet, you have seen this before:

 

The licensing mode for the remote desktop session host server is not configured

 

Yes, it is not enough to activate your Remote Desktop server, you have to specify the Remote Desktop Session Host server operation mode (per user or per device).

 

If you are joined to a domain, it is pretty simple, go to System Manager -> Remote Desktop Servers and click around (see https://blogs.technet.microsoft.com/askperf/2013/09/20/rd-licensing-configuration-on-windows-server-2012/ ).

 

If you are not joined to a domain, according to the same howto above, you have to manually set the Session Host using PowerShell in administrator mode:

 

$obj = gwmi -namespace "Root/CIMV2/TerminalServices"
Win32_TerminalServiceSetting

$obj.SetSpecifiedLicenseServerList("your.server.name")

 

Now set licensing mode:

 

$obj = gwmi -namespace "Root/CIMV2/TerminalServices"
Win32_TerminalServiceSetting

$obj.ChangeMode(value)

 

Where value can be 2 – per Device, 4 – Per user