Testing a Remote Desktop connection while another connection already exists

LNeuman 21 Reputation points
2020-10-27T07:03:17.487+00:00

I am implementing a "test RDP connection" scenario.

Sadly, simply attempting to connect kicks out any existing connection with the message "You have been disconnected because another connection was made to the remote PC."

What is the root of this limitation to a single connection?

And, is there a way to achieve either of the following?

  1. Remotely check whether or not a session is already in progress, without causing it to disconnect or otherwise interfering with it?
  2. Remotely check whether my credentials would allow me to connect (again, without interfering with an existing session)?

My question relates to the RDP protocol generally, so if the answer differs between versions of windows please kindly elaborate.

Thank you!

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,504 questions
0 comments No comments
{count} votes

Accepted answer
  1. Karlie Weng 18,031 Reputation points Microsoft Vendor
    2020-10-28T05:22:31.44+00:00

    Hey @LNeuman

    May I know how are RDS roles distributed in your environment?

    There is a restriction on the number of simultaneous RDP sessions – only one remote user can work at a time. If you want more than 2 concurrent connections, you will need to install the Remote Desktop Session Host (RDSH) role and buy "Remote Desktop Services client access licenses" (RDS CALs) for people to connect.

    1.What is the root of this limitation to a single connection?

    Please check from the group policy , whether the connections has been limited to only one user.
    Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > limit number of Connections: set to Disabled or Not Configured

    2.Remotely check whether or not a session is already in progress, without causing it to disconnect or otherwise interfering with it?

    First you need to have admin rights to connect with remote server, then on the server, you can find active users in Task manager users Tab. Without connecting, I don’t think it’s possible.

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards
    Karlie

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.