Licensing Mode for Remote Desktop Session Host is not Configured

When attempting to configure a brand new host within the RDS farm working Windows Server 2012 R2, I encountered the next warning popup message within the system tray:

Licensing mode for the Remote Desktop Session Host is not configured.

Remote Desktop Service will cease working in 104 days.

WinServer 2012 R2 - Licensing mode for the RDSH is not configured

Obviously, RDS Host is working within the licensing grace interval (I’ve already an identical downside, however the scenario is a bit totally different right here).

For extra correct diagnostics of the issue, it’s essential to run the RD Licensing Diagnoser. Its window exhibits the next error:

Licensing mode for the Remote Desktop Session Host is not configured.

As you may see, there aren’t any licenses obtainable to shoppers, because the licensing mode is not set.

RD Licensing Diagnoser - Licensing mode for the Remote Desktop Session Host is not configured

It signifies that the administrator has not chosen the and/or the licensing mode. It ought to be completed even when the licensing kind has already been specified when deploying the RDS host.

set rd licensing mode during deployment

You can verify whether or not the license server is set utilizing the next PowerShell instructions:

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


Note. Get-RDLicenseConfiguration cmdlet could return totally different, inaccurate information.

If the lRDS icense server is not set, you may specify it utilizing this command:

There are a number of strategies to power set the RDS licensing mode.

Using the registry:

In the registry key HKLMSYSTEMCurrentControlSetControlTerminal ServerRCMLicensing Core change the worth of the DWORD parameter with the title LicensingMode from 5 to:

  • 2 – if Per Device RDS licensing mode is used;
  • four – if Per User licensing is used.

rds licensing mode - LicensingMode registry parameter

After you’ve gotten made the modifications, restart your RDSH server.

You also can configure the RDS license server parameters utilizing GPO (an area or a site coverage). Suppose, the server is not within the area. Let’s use the native editor gpedit.msc. Go to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing.

We want two insurance policies:

  • Use the desired Remote Desktop license servers – allow the coverage and specify the RDS license server handle. If the license server is working on the identical server, kind; Policy - Use the specified Remote Desktop license servers
  • Set the Remote Desktop licensing mode – choose the licensing mode. In our case, it is Per User. POlicy - Set the Remote Desktop licensing mode - Per User

After restarting your server, open the RD Licensing Diagnoser and verify the variety of obtainable licenses and the licensing mode you’ve gotten chosen.

RD Licensing Diagnoser didn't identify any licensing problems

Note. If your RDS server is in a workgroup, the licensing report is not generated, though the terminal licenses themselves are issued to shoppers / gadgets accurately. You should monitor the variety of the RDS CAL left your self.

Check Also

How to Restore Deleted EFI System Partition in Windows 10?

In this text we’ll present you ways to manually restore an by chance deleted Windows …

Leave a Reply

Your email address will not be published. Required fields are marked *