Remote Desktop multiple connections same user

Hi,

Remote Desktop/Terminal Services has two settings for multiple sessions. You can either allow multiple sessions per user [in which case if you log in twice, you'll get two sessions], or force a single session per user [in which case you can only log in once and subsequent sessions will be redirected to the original session.

To change this setting, you'll need to perform a registry change. The following steps describe the process:

  1. Start Registry Editor [by default, this is located at c:\windows\regedit.exe].
  2. Go to the following registry key:

    HKEY_LOCAL_MACHINE\
        System\CurrentControlSet\Control\TerminalServer

  3. If the fSingleSessionPerUser value doesn't exist, create a new DWORD value named fSingleSessionPerUser
  4. Open the fSingleSessionPerUser value. The possible values for this setting are as follows: 0x0Allow multiple sessions per user0x1Force each user to a single session
  5. Enter the new setting, and then click OK.

Best Regards Cartman

Please remember to mark the replies as an answers if they help. If you have feedback for TechNet Subscriber Support, contact

RDP is a protocol developed by Microsoft, that allows a user to access remote systems graphically. The default Windows servers allow only one remote desktop session at a time. But, in some cases, we are required to enable remote desktop for multiple users to allow access at a time.

You can achieve this by making little changes to the system registry keys. Once the changes are done, multiple users can connect to your system using the RDP client. You can also limit the number of users who can connect at a time.

In this tutorial, we will discuss enable and disable multiple remote desktop sessions in Windows server 2012, 2012 R2, 2016, and 2019.

Follow the below steps to enable multiple remote desktop sessions on a Windows system.

  1. Log in to the Windows system.
  2. Open the start screen [press the Windows key] and type “Edit group policy” or “gpedit.msc”, and launch it.
  3. Navigate to Computer Configuration >> Administrative Templates >> Windows Components >> Remote Desktop Services >> Remote Desktop Session Host >> Connections.
  4. Double click on “Set Restrict Remote Desktop Services user to a single Remote Desktop Services session and set this to Disabled.
  5. Next, double click on “Limit number of connections” and set the RD Maximum Connections allowed to 999999. You can also set the limit to 2 to allow two session only.

Below is the screenshots of changes being made:

To disbale the multiple remote desktop sessions, follow below instructions:

  1. Log in to the Windows system.
  2. Open the start screen [press the Windows key] and type “Edit group policy” or “gpedit.msc”, and launch it.
  3. Navigate to Computer Configuration >> Administrative Templates >> Windows Components >> Remote Desktop Services >> Remote Desktop Session Host >> Connections.
  4. Double click on “Set Restrict Remote Desktop Services user to a single Remote Desktop Services session and set this to “Enabled.

Posted 21 August 2021 - 12:19 PM

The keyword you are looking for is RDP "multiparty sessions" or "concurrent remote desktop connection"

I am going to post a reference link and the steps, just in case the link ever dies: Multiple RDP Sessions [Concurrent Remote Desktop Connection] [monovm.com]

This process involves the replacement of the original file. Before you begin, do take a backup. Use the following command to take a backup:

Copy c:WindowsSystem32termsrv.dll termsrv.dll_backup

Once you have successfully taken the backup, start performing the following steps:

Step 1: Firstly, you have to allocate the administrator group’s rights to the file. 

Step 2: Then right-click on the file and select Properties. Head towards the Security tab. And then click Edit. 

Step 3: Now search for the Local administrator group and allocate complete control over the file.

Step 4: Click on the Save button. 

Step 5: Now, open the command prompt or services.msc console and terminate the Remote Desktop service.

           Use the following command:

           Net stop TermService

Step 6: Open termsrv.dll file and search this  line:

           39 81 3C 06 00 00 0F 84 73 42 02 00

           And type this instead:

            B8 00 01 00 00 89 81 38 06 00 00 90

Step 7: All you have to do now is click on the Save button. Try to run the Term Service first before establishing a concurrent RDP connection. 

Here is one other method: How to increase the number of concurrent RDP connections in Microsoft’s remote desktop connection manager | Mike Says Meh


Microsoft MCE, CASP+, Linux+, Server+, Cloud+, Certified Forensic Computer Examiner

Video liên quan

Chủ Đề