I am using Windows 7 machine as a client. The server is a Windows Server 2008 machine. When I access the server using Remote Desktop Application (mstsc), it is successfully connected. But when I execute the following command in command prompt, I get "RPC Server is unavailable" error.
Note: My machine and the client machine are on different domains. It is just my guess that the QWINSTA command does not use 3389 port which is default for RDP.
Please help in solving this issue.