Server 2012 RD Licensing mode is not configured

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
LVL 1
ItxxAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cliff GaliherCommented:
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
ItxxAuthor Commented:
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
MaheshArchitectCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ItxxAuthor Commented:
That worked for me!

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

Many many thanks.
0
MaheshArchitectCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.