Licensing mode for the Remote Desktop Session Host is not configured.
General, Web server
If you configure the Remote Desktop Services (RDS) and getting the following warning message
Licensing mode for the Remote Desktop Session Host is not configured.
even everything is looking fine in the server manager as follows.

You have set the licencing mode directly in the registry as follows.
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core
Change the default value from 5 to:
2 – if Per Device RDS licensing mode is used
4 – if Per User licensing is used.
Restart is needed!

You can also check by using PowerShell if the Remote Desktop Licence Server is set correct
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting $obj.GetSpecifiedLicenseServerList() # if not you can set it by executing the following command with the FQDN of your licence server $obj.SetSpecifiedLicenseServerList("licence-server.domain.tld")
Related Posts
Latest posts
DevOps, General, Infrastructure as Code (IaC), Microsoft Azure
Infrastructure as Code (IaC) – Part 6 – Terraform
Popular tags
.Net
ADFS
AD FS
ARM
ASP.NET Core
AWS
Azure
Azure AD
Azure AD Connect
Azure Automanage
Azure Automation State
BGP
blazor server
C#
Claims
DKIM
DMARC
DSC
Exchange
Exchange Hybrid
Exchange Online
Google Cloud
Iac
Infrastructure as Code
IPSec
Machine Configuration
Migration
MySQL
oAuth
Office 365
OpenID Connect
pfSense
Putty
S2S
SAML
SBC
SCCM
Skype for Business
SPF
SQL Server
SSH
Teams
Ubuntu
Visual Studio
WS-FED