Remote desktop license server shows Not Configured

I have Server 2012 running Remote Desktop services. All services are on one server.  I installed 15 per user licenses.

In server manager / remote desktop services / overview, under Deployment Servers it shows the server name  - RD Licensing.

On the same page under deployment overview, I click on Tasks / Edit Deployment Properties. On RD Licensing  Per User is checked and the server is listed on the bottom section.

In RD Licensing Manager there is a green check next to the server. When I click on the server, on the right pane "Windows server 2012 - installed RDS Per User CAL" shows  total licenses 15 and available 15.

When I run licensing diagnostics it shows:
Number of licenses available for clients -  0
Licensing Mode - Not configured
Warnings:
"The licensing mode for the Remote Desktop Session Host server is not configured."
"The Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server."

What part of licensing am I mssing
ajdratchAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

ajdratchAuthor Commented:
I found the solution and decided to post it instead of deleting my own question in case it can help someone else

https://www.tbngconsulting.com/blog/bid/404182/Licensing-mode-for-the-Remote-Desktop-Session-Host-is-not-configured

I had to run powershell as administrator to get the scripts to run
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
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.