Share via


RDS: Licensing mode for the Remote Desktop Session Host is not configured

Issue:

You will receive this error everytime you open the RD Licensing Diagnoser

The error description reads: “Licensing mode for the Remote Desktop Session Host is not configured.”

Solution:

Step 1:

Enforce the licensing serve using GPO:

Computer config\admin templates\windows components\Remote desktop services\Remote Desktop Session Host\Licensing

Step 2:

Enforce the licensing serve using Registry :

HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core\LicensingMode

change the DWORD to 2 for Per Device or 4 for Per User.

Step 3:

Enforce the licensing serve using PowerShell:

$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting $obj. SetSpecifiedLicenseServerList("licserver.domain.local")