Error:1722 Getting session names

Ninja picture Ninja · Jun 24, 2015 · Viewed 23k times · Source

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?

Answer

lewis4u picture lewis4u · Jul 28, 2015

launch regedit.exe (You have to be administrator to do that) goto:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

and change AllowRemoteRPC from the value 0 to the value 1 on each machine which should be able to receive a message