{"id":161,"date":"2014-09-03T22:58:49","date_gmt":"2014-09-03T22:58:49","guid":{"rendered":"http:\/\/www.torontohelpdesk.ca\/blog\/?p=161"},"modified":"2014-09-03T22:58:49","modified_gmt":"2014-09-03T22:58:49","slug":"server-2012-refusing-rdp-connections-no-licensing","status":"publish","type":"post","link":"https:\/\/www.torontohelpdesk.ca\/blog\/server-2012-refusing-rdp-connections-no-licensing\/","title":{"rendered":"Server 2012 refusing RDP connections (no licensing)"},"content":{"rendered":"<p><strong>Problem:<\/strong><\/p>\n<p>&#8220;The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license&#8221;<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p>(h\/t Lui P c\/o <a href=\"http:\/\/social.technet.microsoft.com\/Forums\/windowsserver\/en-US\/797ab295-aa48-4b73-baa9-4eb7a255ea70\/server-2012-refusing-rdp-admin-connection-no-licensing\">http:\/\/social.technet.microsoft.com\/Forums\/windowsserver\/en-US\/797ab295-aa48-4b73-baa9-4eb7a255ea70\/server-2012-refusing-rdp-admin-connection-no-licensing<\/a>)<\/p>\n<p>1. The graphical management tools for RDS Session Host Management are disabled when not operating a Domain (why?). The fall back is configuration via group policy:<\/p>\n<p>Local Computer Policy -&gt; Computer Configuration -&gt; Administrative Templates -&gt; Windows Components -&gt; Remote Desktop Services -&gt; Remote Desktop Session Host -&gt; Licensing<br \/>\nUse the specified RD license servers = &lt;server IP&gt;<br \/>\nSet the Remote Desktop licensing mode = Per User<\/p>\n<p>This got us to a stage where Licensing diagnostics looked good and no related local errors showed up in the server logs but remote sessions were still refused, leading to&#8230;<\/p>\n<p><strong>2. \u00a0Force-removing the RDS licensing time-bomb registry entry:<\/p>\n<p>computer\\hkey_local_machine\\system\\CurrentControlSet\\Control\\Terminal Server\\RCM\\GracePeriod<\/strong><\/p>\n<p>RegEdit alone couldn&#8217;t do it. It had to actually be run under highest privileges with the help of Sysinternals: psexec -s -i regedit.exe<\/p>\n<p>After another reboot things seem to be working now.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem: &#8220;The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license&#8221; Solution: (h\/t Lui P c\/o http:\/\/social.technet.microsoft.com\/Forums\/windowsserver\/en-US\/797ab295-aa48-4b73-baa9-4eb7a255ea70\/server-2012-refusing-rdp-admin-connection-no-licensing) 1. The graphical management tools for RDS Session Host Management are disabled when not operating <a class=\"more-link\" href=\"https:\/\/www.torontohelpdesk.ca\/blog\/server-2012-refusing-rdp-connections-no-licensing\/\">Continue reading <span class=\"screen-reader-text\">  Server 2012 refusing RDP connections (no licensing)<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,94,52],"tags":[85,51,95],"class_list":["post-161","post","type-post","status-publish","format-standard","hentry","category-rdp","category-rds","category-server-2012","tag-rdp","tag-rds","tag-server-2012"],"_links":{"self":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":1,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/161\/revisions\/162"}],"wp:attachment":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}