Updated: I changed the setup to make it closer to the live environment, I am no longer using IP addresses to connect to each other. I also have clarified the question more, if it needs more clarification, please let me know.
I am doing some testing to add a second RD Session Host server to our network. Currently we have one Win 2k8 R2 machine (LIC-SRV
) that has both the "Remote Desktop Session Host" and "Remote Desktop Licensing" services running. The license server has a 20 User "RDS Per User CAL" installed. The RD Session Host instance is using the license server running on itself is working fine and is acting correctly.
I have a created a second machine (RDSH-SRV
) running "Remote Desktop Session Host" only.
On RDSH-SRV I set it up for per user licensing. When I go to set the License server LIC-SRV does not show up on the list of available servers even though I have LIC-SRV's "Discovery Group" set to Workgroup. When I manually enter LIC-SRV as the server it gives me the following error:
---------------------------
Remote Desktop Session Host Configuration
---------------------------
Your account does not have administrator privileges on the license server; therefore, it cannot be determined if the license server is a valid license server for the Remote Desktop Session Host server to use. Do you still want to add the license server to the list?
---------------------------
Yes No
---------------------------
I click Yes and add the server to the list.
When I go to the Licensing Diagnosis screen on RDSH-SRV it lists LIC-SRV as having Connectivity of "Available", but Credentials are "Not Available".
When I click Provide Credentials
on the right side of the page it prompts me for my credentials on LIC-SRV, I then type in my LIC-SRV credentials (I am a member of the Administrators group on LIC-SRV) but after clicking OK the dialog disapears for 1-2 seconds then the prompt for the credentials shows itself again, as if I entered invalid information for the credentials. It never gives me any kind of error message, just a repeated prompting. I can connect from RDSH-SRV to a LIC-SRV network share, entering my credentials to allow access, and it connects fine, so the issue is not that the credentials are wrong.
I have tried both with and without the hostname in the username box (srchamberlain
vs LIC-SRV\srchamberlain
) but it always re-prompts for the credentials.
Both computers are members of the workgroup "WORKGROUP". I am doing the work on RDSH-SRV under a the login srchamberlain
, there also is a srchambrelain account on LIC-SRV with the same password. Both srchamberlain accounts are members of the Administrators group on their respective machines.
I do not know if this should affect anything but RDSH-SRV is actually a Hyper-V VM running on LIC-SRV. They are connected with a "Private" network connection. RDSH-SRV has the DNS roll enabled and the VM network adapter on LIC-SRV and DRSH-SRV use that DNS server to resolve the names of each other.
Found the answer to my problem. From the note on the bottom of the page on Troubleshooting TS Licensing Installation:
Now this is a 2008 R2 server, but I bet it still applies. I will update when I track down the Head of IT so he can enter the password.
UPDATE: So it appears that licensing will only work if one of two conditions are met:
If either one of the conditions are met then Licensing will work in workgroup mode.
I just came across the very same issue on Windows Server 2012 VMs. Both servers have
RDSH service role
installed and one of them holdsRD Licensing service role
.Both of the VMs are in a WORKGROUP. Built-in Administrator accounts have the same password.
Every time I tried to point SERVER02 to use SERVER01 as license server and trying to Provide Credentials - the window just appeared again.
I then installed
RD Licensing service role
on SERVER02 and I was able to add it on SERVER01 and connect to it remotely.I then tried viewing services remotely from SERVER02 on SERVER01, but failed with Access Denied error.
Administrative shares were not accessible due to Access Denied error, although I did get a password prompt window and I even could reach test share created on SERVER01 from SERVER02.
Eventually, after some googling, it was found out that UAC was enabled on SERVER01.
It required several steps before I could successfully
Provide Credentials
:Disabling UAC remote restrictions:
Key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Value: LocalAccountTokenFilterPolicy Data: 1 (to disable, 0 enables filtering) Type: REG_DWORD (32-bit)
Disabled UAC Admin Approval mode under:
Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options > Disable the policy
User Account Control: Run all administrators in Admin Approval Mode.