Posted on February 13, 2018 · Posted in Windows 10

How to Allow Multiple RDP Sessions in Windows 10

Like in previous client versions of Microsoft operation systems, users of Windows 10 Pro and Enterprise (but not Home) editions can connect to their computers remotely using Remote Desktop Connection (RDP) service. However, there is a restriction on the number of simultaneous RDP sessions: only one remote user can work at a time. When you try to open a second RDP session, the session of the first user is prompted to be closed.


Another user is signed in. If you continue, they’ll be disconnected. Do you want to sign in anyway?

The fact is that the desktop editions of Microsoft operating systems have the following basic limitations on the use of the Remote Desktop service:

  1. Support for RDP access is available only in higher Windows editions (Professional and above). In Home editions this functionality is completely disabled.
  2. Only one simultaneous remote RDP connection is possible. When you try to open a second RDP session, you are prompted to close the existing connection.
  3. If there is a user who works on the console of the computer (locally), when if you try to create a new remote RDP connection, the console session is terminated. A remote RDP session is also forcibly terminated if the user tries to log in to the system console

Another user is signed in. If you continue, they’ll be disconnected. Do you want to sign in anyway? Actually, the number of simultaneous rdp connections is limited rather by the license, which does not allow to create an RDP server based on the workstation for use by multiple users, than by any technical aspect. From a technical point of view, any Windows version, if there is enough memory, can support simultaneous operation of several dozens of remote users (on average, 150-200 MB of memory is required for one session, without taking into account the launched apps). Those the maximum number of simultaneous RDP sessions in theory is limited only by computer resources.

Tip. In Windows 10 Home editions, the incoming remote desktop connections are forbidden at all. The problem, however, can be solved using RDP Wrapper Library.

Let’s consider two ways how to eliminate the restriction of simultaneous RDP connections to Windows 10:

Important. Initially, in the very first version of this article, the main working option that allows you to remove the limit on the number of simultaneous RDP connections was the way to modify and replace termsrv.dll file in the %SystemRoot%\System32 folder. However, when you install a new Windows 10 build or some security updates, this file can be replaced. As a result, you have to edit this file using Hex editor each time, which is quite tedious. Therefore, as the main way to organize a free terminal server on Windows 10 is to use the RDP Wrapper Library utility.

Note. System modifications described in the article will be probably treated as a violation of Microsoft License Agreement with all the consequences that come with it.

RDP Wrapper Library

The alternative to termsrv.dll file modification is the use of RDP Wrapper Library project. This software serves as a layer between SCM (Service Control Manager) and Terminal Services and allows not only to enable the support of several simultaneous RDP sessions but also to enable the support of RDP Host on Windows 10 Home editions. RDP Wrapper does not make any changes to termsrv.dll file, it just load termsrv library with the changed parameters.

Thus, this solution will work even in case of termsrv.dll file update. It allows not to be afraid of Windows updates.

Important. Before installing RDP Wrapper: it is important that you use the original (unpatched) version of the termsrv.dll file. Otherwise, RDP Wrapper may not work stably, or it cannot be started at all

RDP Wrapper can be downloaded from GitHub repository: the latest available version of RDP Wrapper Library v1.6.2 was released relatively recently – December 28, 2017). Based on the information on the developer page, all versions of Windows are supported. Windows 10 is supported right up to the version of Insider Preview build 10.0.17063.1000 (from December 13, 2017).

Tip. By the way, RDP Wrapper Library source code is also available. It means that if required, you can compile executables by yourself. archive contains some files:

  • RDPWinst.exe — an RDP Wrapper Library install/uninstall program
  • RDPConf.exe — an RDP Wrapper configuration utility
  • RDPCheck.exe — Local RDP Checker — an RDP check utility
  • install.bat, uninstall.bat, update.bat — batch files for installation, uninstallation and update of RDP Wrapper

RDPWrap-v1.6.2 install files

To install the utility, run install.bat with the Administrator privileges.  During the installation process, the utility accesses the GitHub site for the latest version of the ini file. To undo this, remove the -o flag in the install.bat file. The program will be installed in the C:\Program Files\RDP Wrapper directory.

installing install RDP Wrapper Library in windows 10

When the installation is over, run RDPConfig.exe. Make sure that all elements in Diagnostics section are green.

Note. In my case, since there is no Internet access on the computer, the program could not get from Github the current version of the INI file settings for my Windows edition. Therefore, the status is [not supported]. Download the rdpwrap.ini file from the development page and place it in the installation folder. Restart the service and make sure that [not supported] is changed to [fully supported].

RDP Wrapper Configuration Utility listener state - not supported

Several interesting features of the new version of RDP Wrapper:

  • Options Hide users on logon screen – allows you to hide the list of users on the welcome screen
  • If you disable the Single session per user option, multiple simultaneous RDP sessions will be allowed under the same account (the registry parameter fSingleSessionPerUser =  0 is set in the key HKLM\SYSTEM\ CurrentControlSet\Control\Terminal Server\fSingleSessionPerUser).

In the event that, after updating the Windows version, RDP Wrapper does not work, check that the Listener state: Not listening is listed in the Diagnostics section.

rdp wrapper not listening

Try to update the ini file using the update.bat script (or manually) and reinstall the service:
rdpwinst.exe -u
rdpwinst.exe -i

Try to open the second RDP session (make sure that RDP access is enabled in the system settings). It worked out well! Now, our Windows 10 allows two users to start RDP sessions simultaneously.

multiple RDP sessions on Windows 10

The Modification of termsrv.dll

Note. This method is applicable only to the RTM version of Windows 10 x64 (10240).

The restriction on the number of RDP connections can be eliminated using termsrv.dll file (a library file used by Remote Desktop Services) modification. The file is located in C:\Windows\System32) directory.

Before termsrv.dll file modification, create its backup (if necessary, you can use the original version of the file):

copy c:\Windows\System32\termsrv.dll termsrv.dll_backup

backup original termsrv.dll

Before termsrv.dll file editing, you have to become its owner and give the Administrators group the full rights to it (all steps are similar to those described in the article “Enable Multiple Concurrent RDP Sessions in Windows 8”). After that, stop Remote Desktop service (TermService) in services.msc console or from the command prompt:

Net stop TermService

Stop TermService

For Windows 10 x64 RTM edition (termsrv.dll file version is 10.0.10240.16384):

Open termsrv.dll file using any HEX editor (for example, Tiny Hexer)

Find the line:

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

Replace it with:

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

Tiny Hexer Editor

Save the file and run TermService.

The ready patched termsrv.dll file for Windows 10 Pro x64 can be downloaded here:

Related Articles