Solved

Server 2012 RD Licensing mode is not configured

Posted on 2015-02-17
5
742 Views
Last Modified: 2015-02-17
Hi,

I have installed a brand new Server 2012r2 to be used a remote desktop server.
I have a second server that has the licensing function.

Whenever I log in as administrator the message "Remote Desktop licensing mode is not configured" keeps popping up.
pop up error message licensing
I have installed the Remote Desktop Services Connection broker and used deployment properties to set the licensing server. It is configured as "Per User" and the correct server is set.

If I use Get-RdlicensingConfiguration in powershell it also gives me the correct licensing server.

Should I be worried after the grace period is over that users wont be able to logon?

Thanks in advance,

Joachim
0
Comment
Question by:Itxx
  • 2
  • 2
5 Comments
 
LVL 56

Expert Comment

by:Cliff Galiher
Comment Utility
You should be concerned. Does your RDCB server have the RDSH server added as a part of the deployment? That is the first common mistake I see.
0
 
LVL 1

Author Comment

by:Itxx
Comment Utility
Yes, it is only one server. Maybe I'm doing something wrong.
I have just tried removing the Remote Desktop features and installing it again.

I used Add roles and Features and installed Remote Desktop Services including Connection Broker, Licensing & Session Host.
Afterwards I've ran the wizard again and used Remote Desktop Services installation -> Standard deployment -> Session-based desktop deployment and install the RD Connection Broker server.

Then I edited the deployment properties and installed the licensing server.
0
 
LVL 35

Accepted Solution

by:
Mahesh earned 500 total points
Comment Utility
Please logon to licensing server and locate below reg key
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Grace Period

Delete any values present in this folder except default value
If you face any issues, take ownership of that registry key and assign you full control and then delete all values
Then reboot the server and check if it works

If still it fails, you need to enter licensing server manually on RD licensing server
From elevated PowerShell Prompt run below commands

$LSServer = gwmi -Namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$LSServer.GetSpecifiedLicenseServerList()

Open in new window


The above command will tell you if any licensing server is registered, if found none

Run below command
$LSServer.SetSpecifiedLicenseServerList("Licenseserver.domain.com")

Replace server name with yours

Then reboot the server and see if it works
Original article:
http://www.blackforce.co.uk/2014/02/17/2012-rds-server-the-remote-desktop-session-host-server-does-not-have-a-remote-desktop-license-server-specified
0
 
LVL 1

Author Comment

by:Itxx
Comment Utility
That worked for me!

I didn't have the GracePeriod registry but running the Powershell commands fixed it for me.

Many many thanks.
0
 
LVL 35

Expert Comment

by:Mahesh
Comment Utility
Ya, that's true, some has found GracePeriod Registry \ some not, however forcing license server through PowerShell fix the issue most of the time.

Thanks
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now