New RDS Host server unable to get licenses from existing RD Licensing server (Windows 2012)


rdserver1 servers broker, host, gateway, licensing , web access. has 50 per user license. works fine.

add 2nd rd server (rdserver2), looks good.  both rd1 , rd2 show in server manager\rds, , roles show correctly rd2 rd session host, while rd1 session host along mentioned above.  both servers show under server manager\rds\servers, , if run rd licensing diagnose on rd1, shows correct per user licenses.  if run same diagnose on rd2, shows 0 number of licenses , licensing mode: not configured, problem message of "the licensing mode remote desktop session host server not configured".  however, list rd1 license server in summary pane.   

i have tried using powershell set rd1 licensing server, still didn't work. 

$obj = gwmi -namespace "root/cimv2/terminalservices" win32_terminalservicesetting

$obj.setspecifiedlicenseserverlist("license.contoso.com")

also, make sure rd2 member of terminal server computers , rd1 member of terminal server license servers in ad.  reboot both servers multiple times, uninstall/ reinstall rd host role on rd2 multiple times.  appreciated.  in advance!!


roget luo

can check reg value shows following key?

hklm\system\currentcontrolset\control\terminal server\rcm\licensing core\licensingmode

you need change dword 2 per device or 4 per user.if set different.


naresh negi (msft - windows performance team) please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread.



Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

DCOM received error "2147746132" from...

DFSR RPC replication errors 5014 1726 with large files over VPN

ADFS 3.0 Event ID 4625 | An Error occurred During Logon | Status: 0xC000035B