{"id":1401,"date":"2017-07-11T16:50:19","date_gmt":"2017-07-11T22:50:19","guid":{"rendered":"http:\/\/www.RiptideHosting.com\/blog\/?p=1401"},"modified":"2019-10-18T15:34:04","modified_gmt":"2019-10-18T15:34:04","slug":"terminal-server-remote-desktop-the-remote-session-was-disconnected-because-there-are-no-remote-desktop-license-servers-available-to-provide-a-license","status":"publish","type":"post","link":"https:\/\/www.RiptideHosting.com\/blog\/terminal-server-remote-desktop-the-remote-session-was-disconnected-because-there-are-no-remote-desktop-license-servers-available-to-provide-a-license\/","title":{"rendered":"Terminal Server Remote Desktop the remote session was disconnected because there are no remote desktop license servers available to provide a license"},"content":{"rendered":"<p>The fix we have used for &#8220;the remote session was disconnected because there are no remote desktop license servers available to provide a license&#8221; on Windows Server 2012 is to have the server look for the IP of the license server and not the server name.<\/p>\n<p>For a single Remote Desktop Server which Is NOT connected to a domain setting the group policy <span style=\"text-decoration: underline\"><strong>&#8220;Use the specified Remote Desktop license servers&#8221; to the IP address of the server instead of the server name fixes the connection error<\/strong><\/span>.<\/p>\n<p>To change this setting to the IP we use GPEdit.msc<\/p>\n<p>Browse down to the key under:<\/p>\n<p>Local Computer Policy<br \/>\n&#8211;Computer Configuration<br \/>\nAdministrative Templates<br \/>\nWindows Components<br \/>\nRemote Desktop Services<br \/>\nRemote Desktop Session Host<br \/>\nLicensing<\/p>\n<p>Then in right hand pane &#8211; double click &#8220;Use the specified Remote Desktop license servers&#8221;<\/p>\n<p>This should be &#8220;enabled&#8221; and in the text box under &#8220;License servers to use&#8221;\u00a0 enter the IP of the server &#8220;xxx.123.123.123&#8221;<\/p>\n<p>We then forced a Group Policy restart and also rebooted the server AND it still took about 20 minutes before the users could again login to the Terminal Server \/ Remote Desktop Server.<\/p>\n<p>This assumes you have licensing installed and configured for your Remote Desktop Users.<br \/>\nIncluding &#8220;Specify the licensing mode for the RD Session Host Server&#8221; as Per Device or Per User.<\/p>\n<figure id=\"attachment_1402\" aria-describedby=\"caption-attachment-1402\" style=\"width: 300px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1402\" src=\"http:\/\/localhost\/blog\/wp-content\/uploads\/2017\/07\/No-Remote-Desktop-License-Servers-available-300x168.png\" alt=\"No Remote Desktop License Servers available\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.RiptideHosting.com\/blog\/wp-content\/uploads\/2017\/07\/No-Remote-Desktop-License-Servers-available-300x168.png 300w, https:\/\/www.RiptideHosting.com\/blog\/wp-content\/uploads\/2017\/07\/No-Remote-Desktop-License-Servers-available-768x430.png 768w, https:\/\/www.RiptideHosting.com\/blog\/wp-content\/uploads\/2017\/07\/No-Remote-Desktop-License-Servers-available-1024x573.png 1024w, https:\/\/www.RiptideHosting.com\/blog\/wp-content\/uploads\/2017\/07\/No-Remote-Desktop-License-Servers-available-1568x877.png 1568w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-1402\" class=\"wp-caption-text\">the remote session was disconnected because there are no remote desktop license servers available to provide a license<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The fix we have used for &#8220;the remote session was disconnected because there are no remote desktop license servers available to provide a license&#8221; on Windows Server 2012 is to have the server look for the IP of the license server and not the server name. For a single Remote Desktop Server which Is NOT [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1402,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1401","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-all-posts"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/posts\/1401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/comments?post=1401"}],"version-history":[{"count":1,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/posts\/1401\/revisions"}],"predecessor-version":[{"id":1615,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/posts\/1401\/revisions\/1615"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/media\/1402"}],"wp:attachment":[{"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/media?parent=1401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/categories?post=1401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/tags?post=1401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}