I am trying to check if anybody is connected to the server in my team with the following command: query session /server:<SERVERNAME>
. But Every time I end up getting the following error:
Error:1722 getting session names.
Error[1722]: The RPC sever is unavailable.
I have already tried with qwinsta but i get the same issue in there too. Is there anyway to get around the issue and get the required?
For me, the one Windows Server 2012 R2 giving this error was fixed by adding the following rule. None of the 97 other had the issue.