HOW TO TREAT WINDOWS SERVER 2012 ERROR LICENSE SERVER
Recently faced with an unexpected problem, in January I installed and configured windows server 2012, everything was done by TK
ie used Windows Server 2012 in a workgroup (without domain), sets purchased client certificates to connect to the terminal server
installed and activated the license server.
Everything worked fine exactly 120 days after the error occurred
“The remote session because there is no available license servers a terminal server to provide a license. Contact your server administrator”.
Originated the actual question how and why.
First went in
The server Manager\remote desktop Services\Servers
1. Windows server 2012 activated
2. Services are started: remote desktop , remote desktop licensing
Server Manager\Local server
there they discovered the mistake
Grace period for remote desktop license has expired, and the service was not registered on the license server with installed licenses. For continuous operation the license server for the rd. The host server remote desktop session can run without a license server within 120 days from initial launch.
not set the licensing mode for the rd
However, the licensing mode is selected,and the licensing service is configured and the server is activated.
It turned out that in the latest versions of microsoft windows server 2008 2008 r2 2012 recommend the use domain, while both the licensing regime,
and in the absence of a domain is only possible licensing mode on the device, and after 120 days the license mode user stops working and the server becomes impossible to connect via RDP.
correct this situation open Powershell or execute winkey+r
Custom local policy for servers located in the working group
. In-line terminal write gpedit.msc and change the appropriate keys.
Computer configuration\Administrative templates\Windows Components\remote desktop Services\rd session Host desktop\Licensing – Use the specified license servers in remote desktop (add the name of our server or its ip address)
Computer configuration\Administrative templates\Windows Components\remote desktop Services\rd session Host desktop\Licensing – Set the licensing mode remote desktop (select type of license per device)
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing – Use the specified Remote Desktop license servers (add the name of our server or its ip address)
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing – Set the Remote licensing mode (select type of license per device)
Important ! If we choose the licensing mode to user then the error will remain and the server to continue to repeat that there are no license servers available , because the working group can only be licensing mode on the device.
Later in the same run gpupdate powershell, Next you need to perepoloshit license for this
Further preporucujem license control panel – administrative tools – remote desktop services Manager remote desktop licensing
open the all servers – right click on our server – license management
next is to rebuild the database for the license server – database remote desktop licensing damaged
click the checkbox to confirm deletion of licenses installed on this server
then re-install the license (ol server install license)
the open license agreement, enter your authorization number and number of licensee if you have Windows was purchased.
Find somewhere here http://link.ac/12nf
type of licenses have to choose the device.
Then restart services: remote desktop licensing and remote desktop
or restart the server then to the server again, it will be possible to connect via RDP