aclaus225
asked on
Remote Desktop not working
I am not able to login to my remote desktop server remotely. The error that I am getting when trying to login is that there are no Remote Desktop License Servers available.
The server that I am logging into is a License Server, but when I go into tsconfig and specify the server, it agrees that it is a license server, but upon hitting okay I get: Unable to complete operation:-2147217396. I have not been able to find that error through a search of Google.
Does anyone know how to fix this?
The server that I am logging into is a License Server, but when I go into tsconfig and specify the server, it agrees that it is a license server, but upon hitting okay I get: Unable to complete operation:-2147217396. I have not been able to find that error through a search of Google.
Does anyone know how to fix this?
When you check the licensing diagnostics, how many licenses do you have available? And is your RDS server set for the correct type to match the licenses? I have seen people with user licenses but the server configured for machine licenses.
Coralon
Coralon
If you are logged into a different domain, read the middle paragraph of the image you posted; it is telling you what the problem is.
ASKER
I have ten user CALs loaded and available on that server. I only have one domain additionally.
Your image says, "to issue RDS per user CALs to users in other domains, this license server must be a member of the Terminal Server License Servers group in those domains." meaning that, if YOUR PC is logged into a different domain, you will have to create a Terminal Server License Servers group in your domain that can use that server for licensing.
If your PC is not logging into a domain, it should not be a problem; but, if you are, its a big problem that will require special routing for the servers to talk to each other and the creation of the Terminal Server License Servers group with both domains included for it to work.
If your PC is not logging into a domain, it should not be a problem; but, if you are, its a big problem that will require special routing for the servers to talk to each other and the creation of the Terminal Server License Servers group with both domains included for it to work.
Can you post a screenshot of the licensing diagnosis screen from the administrative tools/server manager?
Coralon
Coralon
ASKER
I either am not in another domain (my home machine) or am in the same domain (other local machines that I am trying to connect from) every time. I will post a screen shot Monday. What is posted above is a screenshot from the licensing diagnosis though, isn't it?
There will be events listed (EVENTVWR.MSC) on both the server and your PC which should give better results than the error you posted in your question.
What O/S is running on your PC?
What O/S is running on your PC?
That's only a partial screenshot.. I want to see the whole thing if possible..
Coralon
Coralon
Ok.. 2 problems..
1. You need to activate the license server itself.. I would recommend installing the license server on another non-RDS machine (it is a very lightweight service that should have almost no impact on any production server).
2. It also looks like there are no RDS licenses installed.. If you activate the server it may fix this problem and the licenses were already installed, then it should just resolve itself. But, once it is activated, then the licenses can be installed.
Coralon
1. You need to activate the license server itself.. I would recommend installing the license server on another non-RDS machine (it is a very lightweight service that should have almost no impact on any production server).
2. It also looks like there are no RDS licenses installed.. If you activate the server it may fix this problem and the licenses were already installed, then it should just resolve itself. But, once it is activated, then the licenses can be installed.
Coralon
ASKER
Is the main server itself activated? Then second screenshot shows everything correct.. but the diagnoser is obviously complaining about activation.
Something else to check..
Make sure you have the SRV records for your licensing server in DNS..
And check the eventlogs on server REMOTE2 to see what errors you get in the Application log.
And since the server is its own licensing server (bad practice.. but I know it is necessary sometimes).. That also makes me wonder -- if its is possible the server is pointing to a DNS server that doesn't have the SRV records?
Coralon
Something else to check..
Make sure you have the SRV records for your licensing server in DNS..
And check the eventlogs on server REMOTE2 to see what errors you get in the Application log.
And since the server is its own licensing server (bad practice.. but I know it is necessary sometimes).. That also makes me wonder -- if its is possible the server is pointing to a DNS server that doesn't have the SRV records?
Coralon
ASKER
There are no SRV records in my DNS.
I have moved the licensing service to another server and still get my same error originally, which will not let me update the license server that needs to be pointed to in tsconfig.
I have moved the licensing service to another server and still get my same error originally, which will not let me update the license server that needs to be pointed to in tsconfig.
Whats in your TS Licensing key on the RDS host?
HKEY_LOCAL_MACHINE\Softwar e\Microsof t\MSLicens ing
Coralon
HKEY_LOCAL_MACHINE\Softwar
Coralon
ASKER
That actual key is Default. The subkey for Hardware has a ClientHWID key and the subkey for Store is Default
Can you dump it out and paste the export here? (feel free to delete any binary values - those are the real keys)..
Coralon
Coralon
ASKER
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\MSLicen sing]
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\MSLicen sing\Hardw areID]
"ClientHWID"=hex:02,00,00, 00,32,e8,b 9,c4,71,dc ,b6,ca,f2, a5,06,af,e b,73,ee,a7
[HKEY_LOCAL_MACHINE\SOFTWA RE\Microso ft\MSLicen sing\Store ]
[HKEY_LOCAL_MACHINE\SOFTWA
[HKEY_LOCAL_MACHINE\SOFTWA
"ClientHWID"=hex:02,00,00,
[HKEY_LOCAL_MACHINE\SOFTWA
My apologies.. my brain was off in the wrong direction..
The key for the RDS licensing server to point to is HKLM\SOFTWARE\Policies\Mic rosoft\Win dows NT\Terminal Services
You should see a LicensingServers value there..
Coralon
The key for the RDS licensing server to point to is HKLM\SOFTWARE\Policies\Mic
You should see a LicensingServers value there..
Coralon
ASKER
I do not see a LicensingServers value there.
[HKEY_LOCAL_MACHINE\SOFTWA RE\Policie s\Microsof t\Windows NT\Terminal Services]
[HKEY_LOCAL_MACHINE\SOFTWA RE\Policie s\Microsof t\Windows NT\Terminal Services\Client]
"fEnableUsbNoAckIsochWrite ToDevice"= dword:0000 0050
"fEnableUsbBlockDeviceBySe tupClass"= dword:0000 0001
"fEnableUsbSelectDeviceByI nterface"= dword:0000 0001
[HKEY_LOCAL_MACHINE\SOFTWA RE\Policie s\Microsof t\Windows NT\Terminal Services\Client\UsbBlockDe viceBySetu pClasses]
"1000"="{3376f4ce-ff8d-40a 2-a80f-bb4 359d1415c} "
[HKEY_LOCAL_MACHINE\SOFTWA RE\Policie s\Microsof t\Windows NT\Terminal Services\Client\UsbSelectD eviceByInt erfaces]
"1000"="{6bdd1fc6-810f-11d 0-bec7-080 02be2092f} "
[HKEY_LOCAL_MACHINE\SOFTWA
[HKEY_LOCAL_MACHINE\SOFTWA
"fEnableUsbNoAckIsochWrite
"fEnableUsbBlockDeviceBySe
"fEnableUsbSelectDeviceByI
[HKEY_LOCAL_MACHINE\SOFTWA
"1000"="{3376f4ce-ff8d-40a
[HKEY_LOCAL_MACHINE\SOFTWA
"1000"="{6bdd1fc6-810f-11d
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for getting it to finally work. When I logged in this morning it worked fine. I am guessing setting a group policy for Terminal Services finally did it, but you pointed me in the right direction.
ASKER
I went through this: https://technet.microsoft.com/en-us/library/cc775208(v=ws.10).aspx, following the recommendations for when a server could not be automatically configured and it looked fine.