Quantcast
Channel: Remote Desktop Services (Terminal Services) Forum
Viewing all articles
Browse latest Browse all 27656

Query Logged In Users of remote RDS Servers

$
0
0

Hi All

A bit of a strange one. This function has worked in the past, but seems to have stopped. Server 2016 Datacenter. RDS servers set up in a farm, RDS1, RDS2, RDS3 and RDS4. I am able to log on to RDS1, and run the following command:

Query User /Server:RDS2

And I can get a list of all users logged on to the remote server. However, when I try to run the command asking about RDS4, I get the following result:

Error 0x000006BA enumerating sessionnames

Error [1722]:The RPC server is unavailable

I am able to log in to RDS4 and run query user, and it shows me the list of logged in users just fine. I am able to query the other servers from RDS4 successfully. The error seems to happen only when querying RDS4 from 1, 2 or 3. I have tried running the command with the NETBIOS name, as well as the IP and the FQDN. Still get the same result. I have disabled the firewall and AV (Symantec) and still fails. Tried disabling all the third party services and rebooting, but still fails. Tried running sfc /scannow and dism /online /cleanup-image /restorehealth. Both ran through fine and didn't say they fixed anything, but rebooted anyway and still failing. Looking online, there are a lot of references to a certain registry key that needs to be enabled:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\AllowRemoteRPC

This key is set to 1, and has been rebooted. I am logged in as domain admin on all endpoints. The servers will have been created from a single image that was sysprepped, so is it possible that there is a old NETBIOS name somewhere in the registry? Starting to run low on things that I can try to find out what is happening, so Im hoping that someone here has seen this before or has an idea on something we can try.

Thank you for looking, and for your help.

James


Viewing all articles
Browse latest Browse all 27656

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>