Unable to login to vm

sethian 1 Reputation point
2022-12-07T10:20:03.19+00:00
  1. I am not using any RDS roles or licenses in vm
  2. Server has 3 active users.
  3. I modified value in this path Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections->Limit no of connections to 2 and limited the no.of users in server to two users. 4. After one day I tried to login to vm, but was unable to connect to vm. After entering Username and password in rdp getting error as " The number of Connections to this computer is limited and all connections are in use". On this day only one user tried logging but getting the error. Also 3 users are uanble to login 5. Again, next day, in first two attempts I was unable to log in but later i was able to RDP and then I reverted changes to a local group policy.
    OS version: Windows 10 Enterprise

268135-rdplimit.jpg
Could you please help me to find what is the cause of the issue.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,563 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Rafael da Rocha 5,251 Reputation points
    2022-12-07T10:56:49.017+00:00

    If users aren't signing out but just closing the RDP window, the session will not be closed and count towards the limit.
    Also, this isn't a supported configuration, and a breach of licensing. You might want to look into Azure Virtual Desktop for a solution.

    1 person found this answer helpful.

  2. vipullag-MSFT 26,471 Reputation points
    2022-12-07T13:59:37.933+00:00

    @sethian

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Adding to what RafelDaRocha has mentioned in his previous response, for having multiple users login check the Azure Virtual Desktop.

    Please check below document for more details on AVD Service.

    multi-session remote desktops

    How many users can simultaneously have an interactive session on Windows

    Azure Virtual Desktop Pricing

    Azure Virtual Desktop | Use multiple accounts for Workspace and VMs

    For any queries related to AVD, you can directly post or refer this AVD Tech Community.

    Hope this helps.
    If you need further help on this, tag me in a comment.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    1 person found this answer 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.