Hello,
I've got a virtual machine, under hyper V, which is a Windows Server 2012 in a workgroup with the RDS functionnality. The server act as a standalone.
Since yesterday, we've reach the end of the grace period of that server, and right now, none of our users can connect to the server, error message saying that there is not licensing server available to provide a licence key.
the configuration looks good, we've setup 2 months ago, the group policy value under :
Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing
We've setup the licensing server ip adress (which is localhost) and the mode of licensing (which is per user).
Everything looks fine so far, because when you go on the licensing configuration tools, everthing is OK, we've check the configuration, the licence are here and everything looks fine. On the diagnostic licence tool, everything is also alright, the server is entered on the configuration, and the tool say there are no problem at all.
What we've tried so far to try to solve the problem, without any success :
- All windows update are done
- We've tried to delete the registry key of graceperiod under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\GracePeriod,
did'nt solve the problem, se we've put back the reistry key (had backup)
- tried to reboot the server multiple time
- tried to install the broker service of terminal server
- tried the KB http://support.microsoft.com/kb/2916846, didnt work
- tried in powershell :
- $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
- $obj.ChangeMode(4)
the changemode says "operation not valid"
- tried in powershell
1. import-module RemoteDesktopServices
2. Get-RDLicenseConfiguration
return is : no existing deployment of remote desktop service on this server
- Into the eventlog, every time we've tried to logon, we got the warning message as following :
"No Remote Desktop licensing server have been speacified for the remote desktop host server. If you want to specify a licensing server for this server, use the remote desktop host configuration tools"
Which i can't use actually because its a workgroup RDS server ....
- Tried in powershell :
1. $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
2. $obj. GetSpecifiedLicenseServerList()
wich return me :
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 2
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
ReturnValue : 0
SpecifiedLSList : {192.168.1.13}
PSComputerName :
which looks good ...
- The key LicesingMode under HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM\Licensing Core\was set to 5, which is not correct, so i set it to 4 (per user), rebooted the server, not working better ...
I want to mentionned that, before we deleted the registry key of grace period, the error message was :
"Cannot connect because no licensing server available to open ...)
We've delete the registry key value under grace period, reboot the server, when we saw that was not working, we've added back the reg value, rebooted the server, and now, since that, the error message from all computer trying to connect is :
"This computer cannot connect to the remote computer, try to reconect, if the problem appear again, contact your admin ..."
Right now, have nothing else to try out, if any suggestion, workaround, or idea, post it please ...
PS : the mstsc /admin command enable us to connect to the server, because it do not check the actual licensing information, but this is not a solution ...
thx for your help .