How do I remote desktop to multiple users?

Microsoft offers the Remote Desktop Protocol (RDP) in Windows Server to allow remote desktop connections for multiple users, and while most versions of Windows include a RDP client, only the Professional, Ultimate and Server editions of Microsoft Windows offer the RDP server to accept incoming connections.

Unlike the server editions of Windows, Microsoft limits the client editions of Windows to one concurrent user, whether remote or local, preventing multiple remote desktop connections. So if a remote desktop connection is made, no one physically at the PC can use it or even see the desktop without first kicking off the remote user.

Remote Desktop for Multiple Users on Windows 7 Solution

Fortunately, there is a workaround that will enable multiple RDP sessions on a Windows 7 operating system that only requires a few simple steps. Developer Deepxw created a handy unofficial modification called the Universal Termsrv.dll Patch that will override this setting to allow multiple remote desktop sessions on Windows 7 computers (this solution will also work for earlier versions of Windows). Users will even be able to use the same applications simultaneously.

Note: Before starting this process, it is important to note that using this workaround is a violation of the Microsoft License Agreement.

Applying the multiple RDP users patch

After downloading the file, start by creating a backup of termsrv.dll before you apply this patch. The program will automatically create a backup file but there’s no harm in creating another one for some added security and peace of mind.

You will find the file in the C:WindowsSystem32 directory. To undo the Registry changes it makes, you can save the .reg file that’s included with the download and manually edit the Registry to remove the changes shown in the .reg file.

After creating a manual backup, follow these steps:

  1. After downloading the Universal Termsrv.dll Patch and creating a backup (file download link updated 8/20/2020 with correct download) extract the ZIP file. Deepxw lists 32-bit (x86) and 64-bit (x64) OS support for the patch on Windows XP SP2 SP3, Windows Vista SP1 SP2, and Windows 7 operating systems. You can find more information on this patch on Deepxw’s blog.

  1. Find the patch program you should run based upon your processor. For 32-bit (x86) it’s UniversalTermsrvPatch-x86.exe, and for 64-bit (amd64) it’s UniversalTermsrvPatch-x64.exe.

How do I remote desktop to multiple users?

Figure 1. Screen capture from deepxw.blogspot.com: 3 clients and 1 local console connect to Windows 7 RC 6.1.7100.0.

For Windows 7 and Windows Vista, you will want to save the vista.reg. For users still operating Windows XP, you’ll want to save the xp.reg file.

  1. Right-click on the patch program and select to Run as administrator.

  2. On the program, click the Patch button and it will replace the Termsrv.dll file and perform the Registry modification. It will also save a backup so you can later undo the modification if desired.

  3. Next, restart your computer for the modification to take effect

Now you just need to enable incoming remote desktop connections. Here’s how to do so with Windows 7 or Vista:

  1. Right-click on Computer from the Start Menu and select properties.

  2. Click Remote settings on the left.

  3. Under Remote Desktop, select one of the three options.

  4. Administrators on the computer will automatically be added to the list of remote users but if you need to add standard users, click Select Users.

Now you should be able to connect multiple user remote sessions to your pc with ease.

Securing Connections for Multiple Remote Desktop Sessions in Windows

Windows should automatically configure Windows Firewall to allow the RDP traffic to pass through. However, if you’re using a third-party firewall on your PC, you may be required to manually configure the firewall to allow the traffic.

It’s also vital to note that when remotely connecting over the internet, you must configure your router to forward incoming RDP connections to the desired PC. And unless you perform other RDP settings modifications to change the RDP ports in the Windows Registry, you will be limited to configuring one PC on the network for incoming connections via the internet.

What are Windows Remote Desktop Sessions?

For those unfamiliar with Remote Desktop sessions, using a standard RDP available on Windows 7 gives a single remote user unrestricted control over the mouse and keyboard, as well as all the programs and resources on the physical, or “host”, computer. It will appear and feel as if you were sitting right at your work PC.

So what happens when you need to access the host computer even though the machine is currently being operated by someone else either physically in the office or by another user logging in remotely?

The issue with multiple RDP Sessions on Windows 7

If a user attempts to log in remotely to a Windows 7 machine that is currently in use, the person physically using the machine or one that is logged in remotely will be kicked out of their session. The PC will bring up a message saying, “Logged on remotely from ‘computer name,’” followed by the prompt:

“Your Remote Desktop Session has ended. Another user connected to the remote computer, so your connection was lost. Try connecting again, or contact your network administrator or technical support group.”

The solution is Multiple Remote Desktop sessions, also known as concurrent sessions. This functionality offers the advantage of allowing multiple users to log in to the same computer without disturbing others who are already logged in and operating the machine.

In this article, we’ve largely covered the issues associated with enabling multiple user remote desktop sessions on Windows 7 and earlier versions of the OS. For users who have upgraded to later versions of Windows and are interested in setting up multiple user Remote Desktop sessions, check out our article which details how to solve this issue on Windows 8 and Windows 10.

Eric Geier is the founder of NoWiresSecurity, a cloud-based Wi-Fi security service, and On Spot Techs, an on-site computer services company. He is also a freelance tech writer — become a Twitter follower or visit his Facebook Fan Page to keep up with his writings.

Follow ServerWatch on Twitter and on Facebook

In this article, we’ll look at potential issues and workarounds that will allow you to enable Remote Desktop sessions for multiple users on Windows 10 and Windows 8/8.1.

As with earlier versions of the Windows operating system, Windows 10 and 8 restrict the use of Microsoft’s Remote Desktop Protocol (RDP) to one remote connection, preventing users from making multiple RDP connections.

The issue with multiple Remote Desktop Sessions on Windows 10 and 8

Attempting to initiate a second Remote Desktop session will cause any users working locally on the machine or logged in through an existing RDP session to be kicked out. The issue is not a result of the technical capabilities of Windows 10 but rather with the license agreement.

Now that we’ve determined the obstacles we’re facing, let’s consider two popular options you can use to enable multiple Remote Desktop users on Windows 10 and 8: either by using the RDP Wrapper Library application or by editing the termsrv.dll file.

Enabling multiple RDP Sessions in Windows

Note: Before you begin, it’s important to remember that both of these processes are in violation of the Microsoft License Agreement.

RDP Wrapper Library

This is the easier, or at least less tedious, option. The problem that arises when you modify termsrv.dll, is that when installing a new Windows 10 build or simply some security updates, the termsrv.dll file can sometimes be updated automatically. As a result, you will have to modify termsrv.dll using HEX Editor after every update.

The RDP Wrapper Library, on the other hand, will simply be loading the file with changed parameters, so after any updates, it will continue to work without any issues.

Follow these steps to use the RDP Wrapper Library to enable multiple user RDP sessions:

  1. Start by downloading the RDP Wrapper Library here. The latest version is 1.6.2. According to the developer page, this will be supported for all versions of Windows. The RDP Wrapper Library serves as a layer between SCM (Service Control Manager) and Terminal Services, and it not only enables support for multiple simultaneous RDP sessions, it also enables RDP Host support on Windows 10.

How do I remote desktop to multiple users?

Figure 1. Screen capture from github.com

  1. To use the RDP Wrapper, you’ll first need to install the RDP Wrapper Library by running install.bat with Administrator privileges.

  1. Once the installation is complete, run RDPConfig.exe and first check that all elements in the Diagnostics section are green.

  1. Test the ability to run multiple Remote Desktop connections by opening a second RDP session. You should be now able to successfully enable Remote Desktop connections for multiple users on Windows 10 or Windows 8.

Modifying termsrv.dll

The alternative to using the RDP Wrapper is to replace the original termsrv.dll file, which can be found in the C:WindowsSystem32 directory. Before editing or replacing anything, it is recommended that you manually create a backup of the file. You can do this through the command line prompt (cmd.exe) with the following command:

Copy c:WindowsSystem32termsrv.dll termsrv.dll_backup

Follow these steps to modify termsrv.dll:

  1. First, you will need to become the owner of the termsrv.dll file and assign the Administrators group full rights to the file. Head into the Properties after right-clicking on the file. Then go to the Security tab and click on Edit. In the access list, find the local administrators group and give it full control over this file and save the changes.

  1. Now you need to stop the Remote Desktop service (TermService) in either the services.msc console or from the command prompt with the following:

Net stop TermService

  1. Now open the termsrv.dll file using any HEX editor (such as the freeware HxD editor) and search for the following line:

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

Replace this line with:

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

How do I remote desktop to multiple users?

Figure 2. Screen capture from mh-nexus.de

  1. Finally, save the termsrv.dll file and run TermService before attempting to run multiple Remote Desktop connections by opening a second RDP session.

Regardless of what method you chose, you should now be able to connect multiple user Remote Desktop sessions on Windows 10 and Windows 8. If you experience any issues enabling multiple RDP connections or have some helpful advice to contribute, please share with us in the comments section below.

If you’re interested in learning how to allow multiple RDP sessions for Windows Server 2012, 2016 or 2019, check out our next blog post in this series.