1. You install the "Remote Desktop Licensing" role service on a computer that is running Windows Server 2008 R2. 2. You install the "Remote Desktop Session Host" role service on another computer that is running Windows Server 2008 R2. 3. You open the "Remote Desktop Session Host Configuration" MMC windows (tsconfig.msc) on the computer with the RDSH role. 4. You click the "Licensing Diagnosis" item in the left panel.
In this scenario, you may get the following error message displayed:
Licenses are not available for this Remote Desktop Session Host server, and Licensing Diagnosis has identified licensing problems for the RD Session Host server. Number of licenses available for clients: 0 ...
Licensing Diagnosis Information - 1 error(s) ... Problem: To identify possible licensing issues, administrator credentials for license server %servername% are required. Suggested Resolution: Provide administrator credentials for the Remote Desktop Services license server.
The issue occurs since the current querying user account does not have the administrator priviledge on the Remote Desktop Licensing server.
The Licensing Diagnosis uses a WMI method to query the licensing information. This method requires Administrator privileges on the Remote Desktop Licensing Server. This is by design.
Add the querying User Account to the local Administrators group on the Remote Desktop Licensing Server.