Site icon WinCert

Licenses are not available for this Remote Desktop Session

Windows Server,printer,hp,hp deskjet,kms,backup,notification area,update,wsus,illegaltag,printer port,scheduled task,root hints,installation file missing,spoolsv.exe,installer error,iis6,home server,print drivers, print spooler,windows update,metro apps,auto-login,standalone installer,iis6,ie11 compatibility view; cannot access template; group policy; .NET Framework 3.5; Licenses are not available for this Remote Desktop Session

<p>With the installation of the new license server in our environment I have installed RDP licenses using RD Licensing manager&period; Strangely&comma; some users started receiving licenses in their server sessions&comma; while others were reporting errors that the license server has not been configured&period;<&sol;p>&NewLine;<p>Once I have opened <strong>RD Licensing Diagnoser<&sol;strong> I could see the following error messages&colon;<&sol;p>&NewLine;<p>Licenses are not available for the Remote Desktop Session Host server&comma; and RD Licensing Diagnoser had identified licensing problems for the RD Session Host server&period;<br &sol;>&NewLine;Number of licenses available for clients&colon; 0<&sol;p>&NewLine;<p><strong>RD Licensing Diagnoser Information &&num;8211&semi; 2 warnings<&sol;strong><&sol;p>&NewLine;<p>The licensing model for the Remote Desktop Session Host server is not configured&period;<br &sol;>&NewLine;The Remote Desktop Session Host server is within its grace period&comma; but the RD Session Host server has not been configured with any license server&period;<&sol;p>&NewLine;<p><img class&equals;"alignnone wp-image-3073 size-full" title&equals;"Licenses are not available for this Remote Desktop Session" src&equals;"https&colon;&sol;&sol;www&period;wincert&period;net&sol;wp-content&sol;uploads&sol;2019&sol;04&sol;rdp-error-win-2&period;png" alt&equals;"Licenses are not available for this Remote Desktop Session" width&equals;"1543" height&equals;"551" &sol;><&sol;p>&NewLine;<p>Although I have set GPO to specify the Remote Desktop Session Host server and the licensing mode for the Remote Desktop Session Host server I had to manually do these changes on the license server itself using PowerShell&period;<&sol;p>&NewLine;<p>Open Powershell in elevated mode &lpar;run as admin&rpar;<&sol;p>&NewLine;<p>type the following command and hit enter&colon;<br &sol;>&NewLine;<strong>&dollar;obj &equals; gwmi -namespace &&num;8220&semi;Root&sol;CIMV2&sol;TerminalServices&&num;8221&semi; Win32&lowbar;TerminalServiceSetting<&sol;strong><&sol;p>&NewLine;<p>after this run the following command&colon;<br &sol;>&NewLine;<strong>&dollar;obj&period;ChangeMode&lpar;4&rpar;<&sol;strong><&sol;p>&NewLine;<p>This commands will specify the licensing mode&period; <strong>&dollar;obj&period;ChangeMode&lpar;4&rpar;<&sol;strong> sets the licensing mode to &&num;8220&semi;per user&&num;8221&semi; mode&period;<&sol;p>&NewLine;<p>After this&comma; we have to specify the license server with the command below&period; Please use the fully qualified domain name of the license server&period;<br &sol;>&NewLine;<strong>&dollar;obj&period;SetSpecifiedLicenseServerList&lpar;&&num;8220&semi;&percnt;FQDN license servername&percnt;&&num;8221&semi;<&sol;strong><&sol;p>&NewLine;<p><img class&equals;"alignnone wp-image-3074 size-full" title&equals;"Licenses are not available for this Remote Desktop Session" src&equals;"https&colon;&sol;&sol;www&period;wincert&period;net&sol;wp-content&sol;uploads&sol;2019&sol;04&sol;rdp-command&period;png" alt&equals;"Licenses are not available for this Remote Desktop Session" width&equals;"741" height&equals;"516" &sol;><&sol;p>&NewLine;<p>Once done&comma; refresh or restart the RD Licensing Diagnoser console and the Licenses are not available for this Remote Desktop Session Host server error messages should be cleared now&period;<&sol;p>&NewLine;<p><img class&equals;"alignnone wp-image-3075 size-full" title&equals;"Licenses are not available for this Remote Desktop Session" src&equals;"https&colon;&sol;&sol;www&period;wincert&period;net&sol;wp-content&sol;uploads&sol;2019&sol;04&sol;rdp-error-win-4&period;png" alt&equals;"Licenses are not available for this Remote Desktop Session" width&equals;"863" height&equals;"441" &sol;><&sol;p>&NewLine;<p>That&&num;8217&semi;s it&period; Please note that I have removed the domain name&comma; license server name and the real number of licenses for security purposes&period;<&sol;p>&NewLine;<p>Update&colon; This solution can be applied to Windows Server 2019 too&period; Thanks for the update Ben&excl;<&sol;p>&NewLine;<p>Comments are welcome&excl;<&sol;p>&NewLine;

Exit mobile version