Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / How to Allow Multiple RDP Sessions on Windows 10 and 11

June 30, 2023 Windows 10Windows 11

How to Allow Multiple RDP Sessions on Windows 10 and 11

Remote users can connect to their Windows 10 and 11 computers through the Remote Desktop Services (RDP). All you need to do is enable Remote Desktop, grant the user RDP access permissions, and connect to the computer using any remote desktop client. However, the number of concurrent RDP sessions is limited in desktop versions of Windows. Only one active Remote Desktop user session is allowed.

A warning will appear asking you to disconnect the first user’s session if you try to establish a second RDP connection.

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

windows11 dosnt allow multiple rdp - Another user is signed in. If you continue, they’ll be disconnected. Do you want to sign in anyway?

Contents:
  • Number of Concurrent RDP Connections on Windows
  • RDP Wrapper: Enable Multiple RDP Sessions on Windows
  • RDP Wrapper Not Working on Windows
  • Patch the Termsrv.dll to Enable Multiple Remote Desktop Sessions
  • Multiple Concurrent RDP Connections in Windows 10 Enterprise Multi-session

Number of Concurrent RDP Connections on Windows

There are a number of restrictions on the use of Remote Desktop Services in all desktop versions of Windows 10 and 11:

  1. Only Windows Professional and Enterprise editions can accept remote desktop connections. RDP access is not allowed to Home/Single Language Windows editions;
  2. Only one simultaneous RDP connection is available. Attempting to start a second RDP session will prompt the user to end the active session;
  3. If the user is working at the computer console (locally), their local session is disconnected (locked) when they make a remote RDP connection. The remote RDP session will also be terminated if the user logs into Windows from the computer’s console.

The number of concurrent RDP connections on Windows is actually a license limitation. Microsoft prohibits the creation of a workstation-based Terminal RDP server for multiple users to work simultaneously.

If your tasks require the deployment of a terminal server, Microsoft suggests purchasing Windows Server (allows two simultaneous RDP connections by default). If you need more concurrent user sessions, you will need to purchase RDS CALs, install, and configure the Remote Desktop Session Host (RDSH) role or deploy an RDS farm.

Technically, any version of Windows with sufficient RAM and CPU resources can support dozens of remote user sessions simultaneously. On average, an RDP user session requires 150-200MB of memory (excluding running apps). This means that the maximum number of concurrent RDP sessions is limited only by the available resources of the computer.

In this article, we are going to show you three ways to remove the limit on the number of concurrent RDP connections in Windows 10 and 11:

  • RDP Wrapper
  • Modifying the termsrv.dll file
  • Upgrading Windows 10/11 edition to Enterprise for virtual desktops (multi-session)
Note. Any modifications to the operating system that are described in this article are considered a violation of the Windows License Agreement and may be used at your own risk.

Before you proceed, make sure that the Remote Desktop protocol is enabled in Windows.

  • Go to Settings -> System —> Remote Desktop -> Enable Remote Desktop;enable remote desktop on windows
  • Or use the classic Control Panel: run the command SystemPropertiesRemote and check the option Allow remote connection to this computer.
Find out how to enable and configure Remote Desktop on Windows.

RDP Wrapper: Enable Multiple RDP Sessions on Windows

The RDP Wrapper Library OpenSource project allows you to enable multiple RDP sessions on Windows 10/11 without replacing the termsrv.dll file. This tool acts as a layer between SCM (Service Control Manager) and the Remote Desktop Services. The RDP wrapper doesn’t make any changes to the termsrv.dll file, it simply loads the termsrv with the modified settings.

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

Important. Before installing the RDP Wrapper, it is important to make that you are using the original (unpatched) version of the termsrv.dll file. Otherwise, RDP Wrapper may become unstable or not start at all.

You can download the RDP Wrapper from the GitHub repository https://github.com/binarymaster/rdpwrap/releases (the latest available version of the RDP Wrapper Library is v1.6.2). The project hasn’t been updated since 2017, but it can be used in all new builds of Windows 10 and 11. To use the wrapper on modern versions of Windows, simply update the rdpwrap.ini configuration file.

RDP Wrapper is detected as a potentially dangerous program by most antivirus scanners.  For example, it is classified as PUA:Win32/RDPWrap (Potentially Unwanted Software) with a low threat level by the built-in Microsoft Defender antivirus. If your antivirus settings are blocking the RDP Wrapper from starting, you will need to add it to the exceptions.

rdpwrap detected as potentially unwanted software

The RDPWrap-v1.6.2.zip archive contains some files:

  • RDPWinst.exe — used to install/uninstall an RDP wrapper library;
  • RDPConf.exe — RDP Wrapper configuration tool;
  • RDPCheck.exe —an RDP check tool (Local RDP Checker);
  • install.bat, uninstall.bat, update.bat — batch files to install, uninstall, and update RDP Wrapper.

RDPWrap-v1.6.2 install files

To install RDPWrap, run the install.bat file as an administrator. The program is installed in the C:\Program Files\RDP Wrapper directory.

installing install RDP Wrapper Library in windows 10

Run RDPConfig.exe when the installation is complete.

windows 10: rdp wrapper not supported issue

Most likely, immediately after installation, the tool will show that the RDP wrapper is running (Installed, Running, Listening), but not working. Note the red [not supported] warning. It reports that this version of Windows 10 22H2 (ver. 10.0.19041.1949) is not supported by the RDPWrapper.

This is because the rdpwrap.ini configuration file does not contain settings for your Windows version (build). +

✅ Download the latest version of rdpwrap.ini here https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini

Manually copy the contents of this page into the C:\Program Files\RDP Wrapper\rdpwrap.ini file. Or download the INI file using the PowerShell cmdlet Invoke-WebRequest (you must first stop the Remote Desktop service):

Stop-Service termservice -Force
Invoke-WebRequest https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini -outfile "C:\Program Files\RDP Wrapper\rdpwrap.ini"

update rdpwrap.ini file

You can create a scheduled task to check for changes to rdpwrap.ini and update it automatically.

This screenshot shows that the latest version of the rdpwrap.ini file (Updated=2023-06-26) is used on the computer.

Restart your computer and run the RDPConfig.exe tool. Check that all items in the Diagnostics section are green and that the [Fully supported] message is displayed. The RDP wrapper started successfully on Windows 11 22H2 in my case.

rdpwrapper on windows11

Now try to establish several concurrent RDP sessions with this computer under different user accounts (use your favorite RDP client: mstsc.exe, RDCMan, mRemoteNG, etc).

You can use saved RDP credentials to connect to a remote computer.

You can check that two (or more) RDP sessions are active on the computer at the same time by using the command:

qwinsta

rdp-tcp#0         user1                 1  Active
rdp-tcp#1         user2                 2  Active

qwinsta: list active rdp sessions

multiple RDP sessions on Windows 10

The RDPWrap tool is supported in all Windows editions, so you can build your own terminal (RDS) server on any Windows device. So you can turn any version of Windows client into a full-featured terminal server.

The following options are available in the RDP Wrapper:

  • Enable Remote Desktop
  • RDP Port —change the default remote desktop port number (TCP 3389)
  • Hide users on logon screen – allow hide the list of users from the Windows Logon Screen;
  • Single session per user — allow several concurrent RDP sessions under the same user account. This option sets the fSingleSessionPerUser registry value to 0 (HKLM\SYSTEM\ CurrentControlSet\Control\Terminal Server\fSingleSessionPerUser). This parameter is also configured through the GPO option Restrict Remote Desktop Services to a single Remote Desktop Services session under Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections;
  • The Session Shadowing Mode allows you to configure the remote control (shadow) connection mode to the RDP users’ desktops
You can set limits on the duration of RDP user sessions using the Group Policy. This allows idle user sessions to be automatically disconnected.

RDP Wrapper Not Working on Windows

In some cases, the RDP Wrapper may not work as you expect it to and you may not be able to use more than one RDP connection on Windows.

The termsrv.dll file version can be updated during Windows Updates installation. If the description for your version of Windows is missing from the rdpwrap.ini file, then the RDP Wrapper will not be able to apply the necessary settings. In this case, the status [not supported]. will be displayed in the RDP Wrapper Configuration window.

✅ In this case, you must update the rdpwrap.ini file as described above.

If RDP Wrapper does not work after updating the rdpwrap.ini file, try to open the rdpwrap.ini file and look for the section for your version of Windows.

How to understand if your Windows version is supported in rdpwrapper config?

The screenshot below shows that for my version of Windows 11 (10.0.22621.317) there are two sections of settings:

[10.0.22621.317]
...
[10.0.22621.317-SLInit]
...

update rdpwrap.ini after installing windows updates

If there is no section in the rdpwrap configuration file for your version of Windows, try searching the web for the rdpwrap.ini file. Add the configuration settings you found to the end of the file.

If RDP Wrapper does not work after you install security updates or upgrade the Windows build, check that there is no Listener state: Not listening warning in the RDPWrap Diagnostics section.

rdp wrapper not listening

Try updating the rdpwrap.ini file, and then reinstalling the rdpwrapper service:

rdpwinst.exe -u
rdpwinst.exe -i

It can happen that when you try to make a second RDP connection as a different user, you will get an error message:

The number of connections to this computer is limited and all connections are in use right now. Try connecting later or contact your system administrator.

Windows 10 RDP warning:The number of connections to this computer is limited and all connections are in use right now

In this case, you can use the local Group Policy Editor (gpedit.msc) to enable the “Limit number of connections” option under Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections section. Increase the ‘RD maximum connection allowed’ value to 999999.

group policy: Limit the number of rdp connections

Restart your computer to update the local Group Policy and apply the settings.

Patch the Termsrv.dll to Enable Multiple Remote Desktop Sessions

To remove the limit on the number of concurrent RDP user connections in Windows without using rdpwrapper, you can replace the original termsrv.dll file. This is the main library file used by the Remote Desktop Service. The file is located in the C:\Windows\System32 directory.

It is advisable to make a backup copy of the termsrv.dll file before editing or replacing it. This will help you to revert to the original version of the file if necessary. Open an elevated command prompt and run the command:

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

Then you need to take ownership of the termsrv.dll file. To change a file’s owner from TrustedInstaller to the local Administrators group, use the command:

takeown /F c:\Windows\System32\termsrv.dll /A

SUCCESS: The file (or folder): c:\Windows\System32\termsrv.dll now owned by the administrators group

Now use the icacls.exe tool to grant Full Control permissions to the termsrv.dll file for the local Administrators group:

icacls c:\Windows\System32\termsrv.dll /grant Administrators:F

processed file: c:\Windows\System32\termsrv.dll Successfully processed 1 files; Failed processing 0 files.

termsrv.dll takeown and grant access permissions

Now you need to stop the Remote Desktop service (TermService) using the services.msc console or with the command:

net stop TermService

It also stops the Remote Desktop Services UserMode Port Redirector service.

Stop TermService

Run the winver command or the following PowerShell command to find your Windows build number:

Get-ComputerInfo | select WindowsProductName, WindowsVersion

In my case, Windows 10 build 22H2 is installed.

Then open the termsrv.dll file using any HEX editor (for example, Tiny Hexer). Depending on the build of Windows you are using, you will need to find and replace the string according to the table below:

Windows buildFind the stringReplace with
Windows 11 22H239 81 3C 06 00 00 0F 84 75 7A 01 00 

 

 

 

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

 

Windows 10 22H239 81 3C 06 00 00 0F 84 85 45 01 00
Windows 11 21H2 (RTM)39 81 3C 06 00 00 0F 84 4F 68 01 00
Windows 10 x64 21H239 81 3C 06 00 00 0F 84 DB 61 01 00
Windows 10 x64 21H139 81 3C 06 00 00 0F 84 2B 5F 01 00
Windows 10 x64 20H239 81 3C 06 00 00 0F 84 21 68 01 00
Windows 10 x64 200439 81 3C 06 00 00 0F 84 D9 51 01 00
Windows 10 x64 190939 81 3C 06 00 00 0F 84 5D 61 01 00
Windows 10 x64 190339 81 3C 06 00 00 0F 84 5D 61 01 00
Windows 10 x64 180939 81 3C 06 00 00 0F 84 3B 2B 01 00

 

Windows 10 x64 18038B 99 3C 06 00 00 8B B9 38 06 00 00

 

Windows 10 x64 170939 81 3C 06 00 00 0F 84 B1 7D 02 00

 

Tiny Hexer cannot edit termsvr.dll file directly from the system32 folder. Copy it to your desktop and replace the original file after modifying it.

For example, my build of Windows 10 x64 is 22H2 19045.2006 (termsrv.dll file version is 10.0.19041.1949). Open the termsrv.dll file in Tiny Hexer, then find the text:

39 81 3C 06 00 00 0F 84 75 7A 01 00

and replace it with:

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

Tiny Hexer Editor

Save the file and start the TermService.

If something goes wrong and you experience some problems with the Remote Desktop service, stop the service and replace the modified termsrv.dll file with the original version:

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

To avoid manually editing the termsrv.dll file with a HEX editor, you can use the following PowerShell script to automatically patch the termsrv.dll file. The PowerShell script code is available in my GitHub repository at the following link:

https://github.com/maxbakhub/winposh/blob/main/termsrv_rdp_patch.ps1

This script was written for the Windows PowerShell version and does not work in modern PowerShell Core.

👍 The advantage of the method of enabling multiple RDP sessions in Windows 10 or 11 by replacing the termsrv.dll file is that antivirus software will not react to it (unlike RDPWrap, which is detected by many antivirus products as a malware/hack tool/trojan).

👎The disadvantage of this is that you will have to manually edit the file each time you update the Windows build (or if the monthly cumulative patches update the version of termsrv.dll).

Multiple Concurrent RDP Connections in Windows 10 Enterprise Multi-session

Microsoft has recently released a special edition of the operating system called Windows Enterprise Multi-Session (Previously known as Windows 10 Enterprise for Remote Sessions and Windows 10 Enterprise for Virtual Desktops)

The key feature of this edition is that it supports multiple concurrent RDP user sessions out of the box. Although the Windows multi-session edition is only allowed to be run in Azure VMs, you can install this edition on an on-premises network and use that computer as a terminal server (even though this would be against Microsoft’s licensing policies).

The Enterprise Multi-Session edition is available for both Windows 10 and Windows 11.

Next up, we’re going to show you how to upgrade a Windows 10 Pro edition to Windows 10 Enterprise for Virtual Desktop and use it for multiple RDP users simultaneously.

Open a command prompt and check your current edition of Windows (Professional in this example):

DISM /online /Get-CurrentEdition

dism: check windows edition

Upgrade your edition of Windows 10 from Pro to Enterprise with the command:

changepk.exe /ProductKey NPPR9-FWDCX-D2C8J-H872K-2YT43

Now install the GVLK key for Windows 10 Enterprise for Remote Sessions:

slmgr.vbs /ipk CPWHC-NT2C7-VYW78-DHDB2-PG3GK

upgrade windows pro to enterprise multi-session

Check that your edition of Windows 10 has now changed to ServerRdsh (Windows 10 Enterprise for Virtual Desktops).

windows 10 enterprise for virtual desktops

Activate your copy of Windows 10 Enterprise Multi-Session edition on your KMS server:

slmgr /skms kms-srv.woshub.local:1688
slmgr /ato

active windows 10 enterprise on kms

See the Key Management Service (KMS) Activation FAQ.

Open the Local GPO Editor (gpedit.msc) and enable Per-User licensing mode in the Set the Remote Desktop licensing mode  (Computer Configuration -> Policies -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing).

GPO: set per-user remote desktop license mode

You must restart Windows after activation. Now try connecting to the computer using RDP with different user accounts. As you can see, Windows 10 Enterprise multi-session supports simultaneous RDP connections right out of the box.

Get-ComputerInfo | select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer

Windows 10 Enterprise for Virtual Desktops 2009           10.0.19041.2728

qwinsta

multiple rdp connections on windows 10 enterprise multisession

In this article, we have looked at a number of ways to get rid of the limit on the number of concurrent RDP user connections and run a free terminal server on desktop versions of Windows 10/11. Each method has its own advantages and disadvantages. Which one you choose is up to you.

248 comments
36
Facebook Twitter Google + Pinterest
previous post
Printer Settings Could Not Be Saved, Operation Not Supported
next post
Check for Open (Listening) Ports with PowerShell

Related Reading

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

How to Use Ansible to Manage Windows Machines

September 25, 2023

Installing Language Pack in Windows 10/11 with PowerShell

September 15, 2023

How to View and Change BIOS (UEFI) Settings...

September 13, 2023

248 comments

Eric January 27, 2016 - 4:57 pm

This isnt working
 
The listening state is not working 

Reply
Ben February 10, 2016 - 8:51 pm

Run the update.bat with administrator privileges

Reply
Sisqo April 5, 2022 - 1:41 pm

“Important. Before installing RDP Wrapper, it is important to make that you are using the original (unpatched) version of the termsrv.dll file. Otherwise, RDP Wrapper may become unstable or not start at all.”

How could you possibly confirm this? So this can’t be done on existing machines that have been in service for more than a few months or year? We patch every month with Patch Tuesday.

Reply
aditi February 29, 2016 - 5:09 am

Hi Ben
I tried after update.bat file and still its not supporting for Listening. 
 
 

Reply
Oleksiy Shtanko March 12, 2016 - 12:27 pm

On GitHub there is no archive with .exe’s anymore, only source code. Anyone have the already compiled version?

Reply
glenn March 12, 2016 - 3:20 pm

I cant find it either any help would be appreciate email to [email protected]

Reply
Oleksiy Shtanko March 12, 2016 - 4:33 pm

Apparently, the link in the article leads to an old or somewhat different fork of the project which contains only source codes.
The .exe’s are in the Release section over here: https://github.com/stascorp/rdpwrap/releases

Reply
Meher March 17, 2016 - 6:02 am

Hi  I am also getting same problem like Listener state [not supported ] and I have ran the update.bat file then I am getting error as Failed to Download latest INI from GitHub.

Reply
Jesus March 17, 2016 - 4:39 pm

A mi me ha funcionado correctamente tras ejecutar el archivo .bat. Comprabado en un Windows 10 Pro 64bits 

Reply
Jesus March 17, 2016 - 4:40 pm

Perdón me refería al ejecutar el ACTUALIZADOR.BAT

Reply
Dave March 17, 2016 - 6:32 pm

Thanks. The link to rdpwrap is stale and it’s confusing because there are downloads available but none of them contain binaries. The link should be https://github.com/stascorp/rdpwrap/releases.

Reply
MichaelZ March 24, 2016 - 4:04 am

I’m running Windows 10 Home and installed RDP Wrapper from the following binary listed above: “https://github.com/stascorp/rdpwrap/releases”
A fix for the listener state when running RDPConf.exe or if you get a error in Update.bat about a serive not starting is to enable “Routing and Remote Access” in services. 
Change it from disabled to automatic, then right click the service and start it.  This worked for me I hope it helps.

Reply
ArtS March 28, 2016 - 11:25 pm

I found a site with the zip file containing the wininst.exe file.
https://github.com/stascorp/rdpwrap/releases
I installed RDP Wrap and ran the Config. Everything was Green.
However, when I try to run a second user remotely, it removes the first user.
Everything looks good. On the host pc I am allowing all connections.
Any help would be appreciated.

Reply
Odeh April 1, 2016 - 12:47 pm

Hello,
If a User is connected through RDP to Windows 10 via USER1, How to prevent other users from other PCs to connect remotely to the same PC with Widows 10 using USER1.
In Other Words if there is a live RDP connection, I want to prevent other users to connect remotely at the same time forcing the live connection to break?
 

Reply
admin April 4, 2016 - 9:43 am

Hi
You can’t prevent such behavior.
Perhaps it will be easier to create a separate account for each remote user or allow multiple Remote Desktop sessions per user (registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer-> fSingleSessionPerUser = 0 )

Reply
larrybud December 16, 2020 - 4:56 pm

You would prevent them from doing so with a password.

If you only want a connection from a specific computer, set up firewall rules for port 3389 to only allow a certain mac address in

Reply
Max Korman April 4, 2016 - 9:11 am

By default each user is restricted to a single Remote Desktop session. You can allow multiple Remote Desktop sessions per user by changing a registry key:
Create (or edit) the follwoing registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer
Create a new DWORD value with name fSingleSessionPerUser
The possible values for this setting :
0×0 Allow multiple sessions per user
0×1 Force each user to a single session

Reply
Dennis May 25, 2016 - 1:28 pm

fSingleSessionPerUser only works for Windows Server versions.

Reply
Daniel June 11, 2016 - 12:08 pm

termsrv.dll version 10.0.10586.0 is not supported in version 1.6 (output from RDPWInst.exe):
[*] Installing…
[*] Terminal Services version: 10.0.10586.0
[-] This version of Terminal Services is not supported.
Send your termsrv.dll to project developer for support.
…

Reply
Rob June 23, 2016 - 5:50 pm

<Now, our Windows 10 allows two users to start RDP sessions simultaneously…>
Not interested in only two, how about 10 or so?

Reply
Werner Lieske July 26, 2016 - 12:48 pm

Did you ever find out if this is possible? I have a client that wants to do this for about 20 users.

Reply
Dirk August 4, 2016 - 8:01 am

Windows 10 Anniversary Update change code anyone now fix ?

new version
termsrv.dll
10.0.14393.0
16.07.2016

Reply
Dirk August 4, 2016 - 2:16 pm

Since build 14393 is rumored to be the RTM Anniversary Update, here is the hex required to allow multiple RDP sessions on the 64 bit version of this build:
Replace
39 81 3C 06 00 00 0F 84 D3 DE 02 00
with
B8 00 01 00 00 89 81 38 06 00 00 90

Reply
Sean C August 12, 2016 - 3:44 pm

I’ve patched the Anniversary Update (version 1607 / build 14393):
https://ufile.io/cb5ee

Reply
alehandro September 14, 2016 - 12:48 pm

From today i recive not spported on Win 10,mybe after some win update….Any solution??

Reply
David September 26, 2016 - 4:33 pm

Hi. I am also getting same problem on Windows 10 Pro 32 Bits.
Stop working. Any Help?

Reply
admin September 28, 2016 - 5:46 am

After installing latest updates on Windows, RDP Wrapper Library has stopped normal functioning
To fix this issue, try to run update.bat from release package

Reply
Hans September 29, 2016 - 11:43 am

Hi. Is is possible, that RDP Wrapper still does not work?

Reply
admin September 30, 2016 - 5:08 am

Hi,

You have tried to update using a update.bat file?

Reply
Hans October 2, 2016 - 8:16 pm

Hi, yes I have. After deinstalling and installing again the first log-in works sometimes, but then RDP only says “connecting…” for a few seconds and just stops without doing anything. The problem started after Windows 10 updated to 1607 (Build 14393.xxx) a couple of days ago.

Reply
Max October 3, 2016 - 7:43 am

Try to install RDP Wrapper Library v1.6.1  (_https://github.com/stascorp/rdpwrap/releases). According to the developers, support of Windovs 10.0.14931.1000 and 10.0.14936.1000 was added to the ini file (_https://github.com/stascorp/rdpwrap/issues/168)

 
 

Reply
Hans October 5, 2016 - 11:19 am

Hi, thanks for the replay. Sadly I am using 1.6.1, it is not working. Only optionI found so far is uninstalling, setting windows settings back to allowing RDP (after every uninstall it is set to no) and reinstalling. Then I have about 30 seconds to one minute to log every external user into windows.
I will try uninstalling the windows update, maybe that will help until windows forces the update back in.

Reply
Hans October 7, 2016 - 2:28 pm

I am back to 1511, that works without a problem.

Reply
Eduardo October 26, 2016 - 12:32 am

Obrigado, me ajudou muito…

Reply
Saint December 22, 2016 - 7:39 am

have you logined 50 users at the same time?I can only login 28 users.Is there any limit by Windows 10?

Reply
hadi December 23, 2016 - 5:17 am

Thanks . It is working . I use RDP Wrapper library

Reply
Jason January 15, 2017 - 11:33 pm

Thanks for this article! Works perfectly. This, in combination with Hamachi (paid version so the service stays alive after logout), is a great!

Reply
Daniel Potter February 23, 2017 - 10:02 am

what is the maximum number of concurrent logged in users that it will support?

Reply
Simon March 14, 2017 - 8:39 pm

Is it possible to have 1 local user (physically at the PC) and 1 remote simultaneously)? I’m on Windows 10 Pro.

Reply
Christian July 19, 2017 - 5:04 am

Is it possible to use a computer with rdpwrapper local and with one or two remote connections?

How to configure?

If I am logged-in locally on my computer and work and a remote connection tries to get in then my local account must be closed otherwise the remote connecrion can be placed.
Is that normal??
Can I not use the computer local and remote (with another user account? – of course) at the same time?

Reply
Kebbek August 9, 2017 - 7:21 pm

83/5000
Hi, thanks for the tutoring. Is there any way to have sound on the client pc? Thank you!

Reply
admin August 30, 2017 - 5:09 am

Open connection options in mstsc.exe and go to the tab Local Resources. Find Remote audio section and press Settings button. Select the option Remote audio playback -> Play on this computer.

Reply
Prateek February 23, 2018 - 8:28 am

It’s working perfectly 🙂

Reply
yctn March 16, 2018 - 9:23 am

today my windows 10 machine rebooted and it stopped working. maby there is a new update or something? Anyone having the same issue?

Reply
xmax April 16, 2018 - 5:19 pm

I have the same problem. Last update W10 and this stop working.

Reply
james May 2, 2018 - 12:30 am

windows 10 build 16299 – ran the program , works in the config and testmode ! but i get remote desktop error in that it says remote desktop isnt working ??? for one of 3 reasons , 1, 2, 3, typical windows error message, is this still working or have i totally stuffed the remote desktop now ? please help asap

Reply
javier May 2, 2018 - 9:46 am

It stop working after last update 1803 🙁

Reply
javier May 3, 2018 - 7:22 am

I will answer myself, if you overwrite termsrv.dll from older version 10.0.16299.15 for example you will be able to install correctly and works correctly with last version 1803

Reply
Johnny May 2, 2018 - 12:45 pm

– Windows 10 April 2018 Update 17134 RTM x64 build
– Find: 8B 99 3C 06 00 00 8B B9 38 06 00 00
– Replace With: B8 00 01 00 00 89 81 38 06 00 00 90

Reply
neverless May 2, 2018 - 5:58 pm

I cant do the hex editing, because the hex editor is not willing to open the dll. I did the ownership change on the dll, I gave full access to it, but still no luck. I used RDP Wrapper earlier, but it doesnt support build 17134. Can somebody upload please the updated ini for RDP wrapper OR the patched dll (for build 17134)?

Reply
Serg May 11, 2018 - 7:41 am

Replace the file in the :\Windows\system32\termsrv.dll directory with the old version of C:\Windows.old\system32\termsrv.dll, and restart the computer. After that, rdp wrapper starts working again! Tested on Windows 10 1803 Spring Update!

Reply
John C McKenney June 2, 2018 - 2:14 pm

Avira says this is malware. Chrome says it’s dangerous. Comments about that?

Reply
Garry May 6, 2019 - 4:06 pm

Microsoft has the power to have any software that mods Windows listed as “malware” to scare people away from using it.

Reply
Greg August 21, 2018 - 12:31 pm

My current version of termsrv.dll is 17741 and my prior version is 17738. I notice that the size of termsrv has changed dramatically from 339k to 992k. Both of these releases also control an additional service called Remote Desktop Services UserMode Port Redirector, I don’t know if the older versions controlled that service or not. Bottom line, I can’t modify termsrv because the hex string to search for is no longer in the module, rdpwrapper does not work with the updated termsrv. I downloaded the patched version of termsrv.dll but haven’t tried using it yet. that will be my next adventure. Somehow I think it may not work only because it appears the code has been redesigned to function differently than was originally designed. However, I’m going to give it a try.

Reply
Greg August 21, 2018 - 1:13 pm

Tried the downloaded version of termsrv, it just crashed when starting. put 17741 back in place. Anyone have any ideas here?

Reply
Greg August 21, 2018 - 1:14 pm

Just realized, my email address is wrong, s/b gpkerr not gkerr

Reply
Martin September 7, 2018 - 5:39 pm

– Windows 10 April 2018 Update 17134.254 RTM x64 build

I try these :

– Find: 8B 99 3C 06 00 00 8B B9 38 06 00 00
– Replace With: B8 00 01 00 00 89 81 38 06 00 00 90

Can’t have more than 1 user in RDP at a time … any solution to this ?

THanks for your help

Reply
jamani January 22, 2019 - 11:17 am

this worked for me

Reply
Santi October 3, 2018 - 4:45 pm

Thank you VERY much for the information. I managed to get it working with the RDP Wrapper Library. I tried to edit the DLL but it was impossible to find the reference to 39 81 3C 06 00 00 0F 84 73 42 02 00

Reply
Tak October 11, 2018 - 4:50 pm

while downloading RDPWrap-v1.6.2.zip, my anti-virus programs is saying the file contains a virus or malware.
Has anyone else seen this? I’m using firefox also.

Reply
Curt November 10, 2018 - 2:24 pm

Windows 10 October 2018 Update 17763.1 x64 build, tested today and working OK:

– Search: 39 81 3C 06 00 00 0F 84 7F 2C 01 00
– Replace: B8 00 01 00 00 89 81 38 06 00 00 90

Enjoy it!

Reply
Hoa Nguyen November 19, 2018 - 7:52 am

Thank you very much

Reply
AndrePKI November 13, 2018 - 6:32 pm

The download from GitHub may trigger your virusscanner: see https://www.virustotal.com/#/file/4f9ea0c2ef2e6df72c42e47abcf591dde2f59716a2bc48c353697261c1462e53/detection

Reply
KEktop December 8, 2018 - 3:54 pm

Ok, i figured that this doesnt work very well. So i clicked on uninstall.bat. Now i cannot contact my server anymore. Not via Putty, RDP… help?

Reply
Ross February 8, 2019 - 8:38 pm

Very funny, It looks like no one is using antivirus here…
The file RDPConf.exe contains a virus that gives access to external people to your PC (RemAdmin)

Reply
Gechurch July 15, 2019 - 4:29 am

The point of the software is to modify Windows to allow multiple remote connections. It’s expected behaviour to have antivirus software flag it as a risk that allows remote connections.

Reply
gming February 13, 2019 - 5:07 am

I also installed
17763.107.101029-1455.rs5_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us
4518890KB
windows enterprise 1809 evaluation 90 days & applied patch. It was working perfectly.
It was working as single user with many multisession at a time, (multi login single user RDP as it is normal with windows server 2016/2008)
It was also working as different terminal services users with multisession to a single machine.
I see there updates on machine were installed and then single user with multiple session is no longer working. I don’t cause the issue. Update KB4487044 / KB4470755 / KB4483452 installed on 13-Feb-2019.
Later i uninstalled those two KB but still the multi login/ simultaneously single user with terminal services for different sessions didn’t worked. (the kb4470788 was not removable)
I used two things to make it happened
1.) HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server fSingleSessionPerUser key Change the key value from 1 to 0
2.) RDPWrap-v1.6.2.zip 1.52MB
Can some one assist to make again windows 10 pro or entp 1809 multi-logging same user with differnt concurrent sessions to single host locally or remotely as I done previously so that I get updates as well.

Reply
anonimus February 15, 2019 - 2:10 am

https://www.virustotal.com/es-ar/file/35a9481ddbed5177431a9ea4bd09468fe987797d7b1231d64942d17eb54ec269/analysis/1550152290/

Reply
Hermann Gottschalk February 15, 2019 - 9:32 am

On Win 10 Pro i had to set via gpeditor
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.

From here, first set the Restrict Remote Desktop Services user to a single Remote Desktop Services session parameter to Disabled.

Next, double-click on Limit number of connections and then set the RD Maximum Connections allowed to 999999.

Reply
m4q February 19, 2019 - 6:24 pm

I have Win Pro and I have only 1 option there “Set rules for remote….”
on:
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.

Reply
tdoxent February 26, 2019 - 8:49 pm

getting the following error: another user is signed in if you continue, they’ll be disconnected do you want to sign in anyway

Reply
Astroman87 March 4, 2019 - 10:11 pm

I have two Windows 10 Pro x64 systems that no longer allow multiple users at the same time.

Reply
ANONYMOUS March 6, 2019 - 11:42 pm

Thank you so much, i found this and solve all of my problems 👌

Reply
plrbear March 26, 2019 - 2:56 am

Ver 1.5.0.0 service ver. 10.0.17763.292 is showing not supported no matter what I try. This will not allow multiple people to use the machine. I continue to get “another user is signed in if you continue, they’ll be disconnected do you want to sign in anyway”.
What am I missing here? The updated .ini is there. Everything appears to be correct but it will not work.

Reply
Sean C March 28, 2019 - 6:48 am

Use an updated INI file that supports 1809 and it will work as expected… read the thread here for details:
https://github.com/stascorp/rdpwrap/issues/699

Reply
dk March 29, 2019 - 10:16 am

Suddenly a restrictionon 2 rdp sessions appeared in Windows 7.
When reinstalling rdpwrapper:
[!] This version of Terminal Services is supported partially.
It means you may have some limitations such as only 2 concurrent sessions.
Try running “update.bat” or “RDPWInst -w” to download latest INI file.
If it doesn’t help, send your termsrv.dll to project developer for support.
After removing KB4489878 everything is OK.

Reply
dk April 12, 2019 - 5:29 am

The rdpwrapper stopped working in my Windows 10.0.17134.706 (windows 10 1803 x 64) after installing new updates on April 11, 2019.
I upgraded my Windows 10 to 1809 (the file was updated to 10.0.17763.437), then I edited the rdpwrap.ini file and add the following section:
[10.0.17763.437-SLInit]
bInitialized.x86 =CD798
bServerSku.x86 =CD79C
lMaxUserSessions.x86 =CD7A0
bAppServerAllowed.x86 =CD7A8
bRemoteConnAllowed.x86=CD7AC
bMultimonAllowed.x86 =CD7B0
ulMaxDebugSessions.x86=CD7B4
bFUSEnabled.x86 =CD7B8
bInitialized.x64 =ECAB0
bServerSku.x64 =ECAB4
lMaxUserSessions.x64 =ECAB8
bAppServerAllowed.x64 =ECAC0
bRemoteConnAllowed.x64=ECAC4
bMultimonAllowed.x64 =ECAC8
ulMaxDebugSessions.x64=ECACC
bFUSEnabled.x64 =ECAD0

[10.0.17763.437]
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=77A41
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=3E520
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=18025
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1ACDC
SLInitFunc.x64=New_CSLQuery_Initialize

bInitialized.x64 =ECAB0
bServerSku.x64 =ECAB4
lMaxUserSessions.x64 =ECAB8
bAppServerAllowed.x64 =ECAC0
bRemoteConnAllowed.x64=ECAC4
bMultimonAllowed.x64 =ECAC8
ulMaxDebugSessions.x64=ECACC
bFUSEnabled.x64 =ECAD0

Or you can download the rdpwrapper with the integrate patch. Follow the link https://github.com/stascorp/rdpwrap/issues/729

Reply
Brandon Mingo April 12, 2019 - 7:33 am

Thanks, I’m going to give that a shot on my machine that updated to 1809.

Reply
Puding April 15, 2019 - 6:42 am

Hello folks
File version: 10.0.17763.437
search: 39 81 3C 06 00 00 0F 84 3B 2B 01 00
replace with: B8 00 01 00 00 89 81 38 06 00 00 90

Reply
Johnny May 22, 2019 - 9:40 pm

Hey,

I got the latest rdpwrap.ini:
https://github.com/stascorp/rdpwrap/files/3062713/rdpwrap.zip

to replace the existing one, I had to first stop the Remote Desktop Services windows service.
(which will also stop another service: Remote Desktop Services UserMode Port Redirector)

The file is now editable/replaceable.
Then replace C:\Program Files\RDP Wrapper\rdpwrap.ini (in my case I just copy paste the extra section but I needed to run my text editor in Administrator privilege mode)
restart the 2 windows service (also make sure they are in automatic start mode)

And bingo, I now see [fully supported]

Reply
Aruna Telshan June 28, 2019 - 6:56 am

Wow! Its working.. Thanks for the info i have been searched a solution for hours.

Reply
Karthik September 3, 2019 - 7:52 am

Are you Tamil

Reply
Johnny May 22, 2019 - 9:41 pm

contrary to what I’ve read, there is no need to restart the computer, start and stop the Remote Desktop Services is enough
(running windows 10 pro N 64 bits 10.0.17763.437)

Reply
Brenden Ward May 24, 2019 - 10:28 am

Johnny done what you said but still can’t get it to work 🙁 any ideas anyone

Reply
Brenden Ward May 24, 2019 - 11:09 am

Johnny needed reboot and it’s working fine thank you

Reply
JohnnyTwo May 25, 2019 - 7:36 pm

Just tested on Windows 10 x64 1809. I chose to restart the PC tho. Concurrent Remote Desktop sessions is functional.

Reply
JohnnyTwo May 25, 2019 - 7:37 pm

What I did: installed RDPWrap 2.6.2.
That’s all.

Reply
Rohan Nish June 18, 2019 - 8:21 am

RDPWRAPPER works fine for me on 1809 but I noticed that the printer redirection has stopped working, anyone else have this problem

Reply
Johnix June 27, 2019 - 12:02 am

Hi. Is the Wrapper use illegal?

Remote access. No more than once every 90 days, you may designate a single user who physically uses the licensed device as the licensed user. The licensed user may access the licensed device from another device using remote access technologies. Other users, at different times, may access the licensed device from another device using remote access technologies, but only on devices separately licensed to run the same or higher edition of this software.

From https://www.microsoft.com/en-us/Useterms/Retail/Windows/10/UseTerms_Retail_Windows_10_English.htm

Reply
admin July 8, 2019 - 4:50 am

Yes, this is violation of the Microsoft licensing agreement.

Reply
saurav July 4, 2019 - 8:17 am

By mistake I click on rdpcheck file and now my system not login after the restart.
It showing username and password and after putting the credentials, login error.

Reply
admin July 8, 2019 - 4:40 am

I think you need to reset the local administrator password using a boot, rescue or install disk.

Reply
Ion July 24, 2019 - 7:21 pm

Hello,
we did a security update on windows 10 Pro, today 7/24/19, and after it we can connect only one RDP at a time. So we changed the termsrv.dll, did all as instructed, and now we can’t connect even one RDP, we get Access Denied error. Any suggestions how we may solve this?

Reply
Ion July 24, 2019 - 7:23 pm

also worth to note that I disconnected the windows auto-updater, and for some reason it still told one of the users (administrators) that there is an update that has to be made.

Reply
Sam September 18, 2019 - 10:25 pm

Cannot get concurrent session to work on Win 10 Pro version 1903 OS build 18362.356. All green in RDPConf, except still shows “not supported”. Followed all possible instructions in correct order including replacing INI file and restarting appropriate services and/or restarting computer – nothing works. All was good 1 week ago. Any ideas? Will appreciate any suggestions, impacting my work big time.

Reply
Rob September 21, 2019 - 8:54 pm

If you updated to version 1903 less than 10 days ago you can go to settins > updates > recovery and use the go back to the previous version of Windows 10 option. Version 1903 was recently released and not sure if there is a fix for it yet.

Reply
Rob September 21, 2019 - 9:03 pm

edit termsvr.dll for win ver 18362.267 1903

39 81 3C 06 00 00 0F 84 5D 61 01 00
to
B8 00 01 00 00 89 81 38 06 00 00 90

Reply
COREY February 17, 2021 - 11:03 am

HI IM AFTER PATCH FOR THE NEW WIN 10 20HD2 , FOR TERMSERV.DLL
I TRIED THEONE FOR VER 20HD1 AND IT WONT WORK WITH THE NEW 20HD2. HAVE LOOKED EVERYWHERE .DO YOU KNOW WHERE I CAN GET IT. THANKS IN ADVANCE

Reply
Sam September 25, 2019 - 2:05 am

Thank you Rob. I actually when back to previous build and it worked. I also found updated INI here https://github.com/stascorp/rdpwrap/pull/859 that supposed to work for newest build.

Reply
Al October 27, 2019 - 12:18 pm

Thanks, Rob. That worked for me on 1903.

Reply
James Bowery November 11, 2019 - 5:59 pm

Does this permit the console session at the same time as the RDP session?

Reply
Michael Brower December 11, 2019 - 2:35 am

putatively

Reply
Andrei November 25, 2019 - 3:26 pm

Windows 10×32 vercion 1903
os-build: 18362.356
All green in RDPConf, except still shows “not supported”.

Reply
Andres December 3, 2019 - 3:03 pm

help for windows 10 November 2019 (1909)

Reply
Mauricio December 4, 2019 - 12:31 pm

Any update for 18363.476?

Reply
Netember December 8, 2019 - 9:26 pm

1909 win 10 pro x64 Works for me, same ROB solution for 1903:
Rob
September 21, 2019 – 9:03 pm
edit termsvr.dll for win ver 18362.267 1903
39 81 3C 06 00 00 0F 84 5D 61 01 00
to
B8 00 01 00 00 89 81 38 06 00 00 90

Thank You ROB!

Reply
ROBB December 18, 2019 - 4:09 pm

Hi there, it worked for me aswell (after a few hours digging).
1903 Win 10 Pro with Rob’s solution. (Thanks Rob from Robb)
I previously installed RDP Wrapper and got all green but didn’t work till I did the termsvr.dll change, so I’m not sure what is really doing the trick LOL.

Reply
Brau0591 January 30, 2020 - 4:33 pm

Hi, I’m having one issue with this, one remote connection get suddenly close and I have to connect again, it doesn’t show me any error or something, it just close the session, any idea why this Is happening?

Reply
ROBB January 31, 2020 - 7:55 am

Hi there, maybe somebody has logged in. Have you checked that more than one session are allowed?

Reply
eyallvy February 1, 2020 - 5:52 pm

Great and detailed instructions, obviously written by a real pro. However…

1. The RDP Wrapper software gets marked as malware, both by Malwarebytes and Trend Micro antivirus apps. In comes up relatively clean on the VirusTotal site, but I didn’t dare ignore my antivirus app warnings and opted instead for editing the termsvr.dll file as per instructions. The result works fine, but the instructions about editing it appear to be missing a small but crucial item…

2. The Tiny Hexer editor app refused to edit termsvr.dll while in was inside the system32 folder and gave an error message. I intuitively copied it out to another, non-system folder and the edit went fine. I then copied the edited file back into the system32 folder and all was well.

Please keep up the great work and add updates as regards the edits required to termsvr.dll in future updates of W10.

Reply
n19htmare February 10, 2020 - 5:00 pm

Yep a few people are saying RDP Wrapper is infected. Is there any other software?

Reply
admin February 11, 2020 - 7:26 am

You can use the modified termsrv.dll file instead of RDP Wrapper.

Reply
BobH February 15, 2020 - 3:59 pm

Still get ‘listener not supported’ on Windows 10 Home v1909 with RDP Wrapper v1.6.2, latest version of rdpwrap.ini and patching termsrv.dll as described by Rob and the hex editing table you had provided. I also tried enabling Routing and Remote Access in services. I had run update.bat and even tried the RDPWinst commands with no success. I guess there’s no way to get RDP to work with Windows 10 Home.

Reply
Robert February 17, 2020 - 3:59 am

With Windows 10 x64 1909, the listening state is no supported, even with the latest ini file

Reply
Jim March 6, 2020 - 8:54 pm

Hei is there somewhere info about rdp patch 20h1 (19041) insider? The patchted rdp file from 1903 do not work.
Thanks

Reply
Nat March 17, 2020 - 3:56 pm

I just moded my termsrv.dll and it worked, 2 users at the same time. Was a pain with the admin rights for system 32 folder but got there in the end. Excellent work and thank you

Reply
Fernando Moura March 25, 2020 - 3:10 am

For Version 10.0.18362.657

Do the following 3 replacements

Find Hex
39813C0600000F845D610100
Replace with
B80001000089813806000090

Find Hex
047411488D1577
Replace With
04EB11488D1577

Find Hex
58010000FF15F7
Replace With
58000000FF15F7

Reply
Someone April 4, 2020 - 9:50 am

It worked for me by modified termsrv.dll. Thank you.

Reply
Dean April 20, 2020 - 4:24 pm

Hi,
So I think I’d like to use the code modification method – changing the termsrv.dll file – and Not use RDP Wrapper. It sounds straightforward. I don’t want to install software that might set off virus warning bells. And all I really care about is being able to allow a 2nd user (RDP or local) without bumping an existing user (RDP or local) off.

However, it seems RDP Wrapper tool provides for numerous parameters:
– specifying a different RDP port
– type of Authentication Mode
– type of Session Shadowing Mode
– etc.

Does anybody know What the termsrv.dll code changes above actually does ?
What settings/configuration is being setup ?
For instance, I specifically do Not want to use the default port (3389). But does the termsrv.dll code changes above allow for a port other than 3389 ?

Thanks, appreciate any helpful responses/comments.

Reply
Dean April 20, 2020 - 4:26 pm

fyi – I already have my RDP setup with a different port #

Reply
admin April 21, 2020 - 6:26 am

You can change the RDP listening port number on your computer in accordance with the article https://woshub.com/change-rdp-port-3389-windows/

Reply
Dean April 24, 2020 - 7:12 pm

Thanks for the response, but I already have my RDP connection setup with a different port #. The gist of my question is, what does the code change method actually do ?? For example, one of my concerns is, if I change the termsrv.dll file…. does that code (those parameters) override my port # setup…. and ‘that’ code relies on using the default of 3389 ? How about Authentication Mode or Session Shadowing Mode, etc.

Reply
Bharath TSR May 1, 2020 - 11:43 am

Hi
I tried using RDP wraper but I could not fix the error not supported.
Then I tried editing termsrv.dll and it worked great. Thank you So much

Reply
rey May 6, 2020 - 1:58 pm

hi Bharath, how did you edit termsrv.dll and what to edit in the file? need help, tnx

Reply
henrry May 6, 2020 - 3:57 am

tengo la versio win 10 pro 1903 pero no me funciona
Microsoft Windows [Versión 10.0.18362.30]

Reply
artur May 11, 2020 - 9:45 am

hello i have 1809 17763.1158 can you halp me \?cannot download rdpwrap from sourse , i tryed to update termsrv but it dont works

Reply
Krox May 20, 2020 - 4:18 am

On Windows 10 x64 2004 you should replace 39 81 3C 06 00 00 0F 84 D9 51 01 00 to B8 00 01 00 00 89 81 38 06 00 00 90 in the termsrv.dll file.

Reply
jim May 30, 2020 - 6:26 pm

Hello KROX – I tested it on x64 2004 – but after that, the service did not start, I made 2 restarts – what could be wrong? thanks

Reply
Amir May 31, 2020 - 9:09 pm

Thanks KROX,
It worked for me. Awesome!

Reply
pko June 4, 2020 - 2:50 pm

worked for me as well.

Reply
Sarah June 11, 2020 - 2:37 am

I see this topic a lot. Why doesn’t MS create a multi-user desktop OS and just charge more for it to account for the multiple users? I think a lot of people would go for it for the convenience. I know I would.

Reply
Dante June 12, 2020 - 2:04 pm

Windows server!

Reply
tlbb June 11, 2020 - 8:53 pm

Latest Windows 10 version Build 19041 (either came out in May or June 2020) updates termsrv.dll, can no longer find the binary code.

Reply
tlbb June 12, 2020 - 5:35 am

Patch for termsrv.dll [10.0.19041.84] – Windows Professional (x64) – version 2004 (OS build 19041.264)
007444833D46BA 00EB44833D46BA
C706010000008BDF C706000000008BDF
39813C0600000F84D9510100 B80001000089813806000090​

Reply
Greg June 16, 2020 - 4:15 pm

I have OS build 19041.329. I replaced the first string, but could not find the other two strings. It did not work, I get bumped by a new remote user. Thank you.

Reply
TLBB June 16, 2020 - 9:12 pm

GREG, try to to search from the beginning again.

Reply
Greg June 16, 2020 - 9:45 pm

Must the second and third strings be found and replaced before this will work? In the past there was only one string that had to be replaced, and then it worked.

Reply
Greg June 16, 2020 - 9:53 pm

Did not see your answer, sorry. That was my problem. Thank you!

Reply
Greg June 16, 2020 - 10:14 pm

Works great, thank you! I actually have Server 2016, but do not want to install it just to allow one other person to share my computer.

Reply
TLBB June 16, 2020 - 11:53 pm

Glad it works. Another drawback for using server OS is its incompatible with many applications.

Reply
Arthur Fatt June 17, 2020 - 2:09 pm

Version 2004

39 81 3C 06 00 00 0F 84 D9 51 01 00
replaced with
B8 00 01 00 00 89 81 38 06 00 00 90

Reply
PCFixerGuy June 18, 2020 - 10:11 am

Different version of 1909:
Search for 39 81 3C 06 00 00 0F 84 5D 61 01 00
replace with:
B8 00 01 00 00 89 81 38 06 00 00 90

NOT ALL 1909 versions are the same. My build is: Version 10.0.18363.836

I also edited the INI file in Program Files\RDP Wrapper to include that version at the end. Just copied the latest 10.0.1836* version groups and added the current version.

Reply
PCFixerGuy June 18, 2020 - 10:21 am

Just a heads up everyone: In THIS instance, RDPCheck.exe still told me “Not Supported” but it DOES work.

Reply
Nate August 3, 2020 - 6:03 pm

Curious whether the same revision to the wrapper could be done for 18363.997?

Reply
Tony Morantes July 25, 2020 - 6:32 pm

Could someone share the information How to extract the code on our own on every windows update version?

Reply
HosseinK August 17, 2020 - 3:53 pm

Win10 build 1904: i write the termsrv.dll and worked. but the string wan’t exactly match. it was 39 81 3C 06 00 00 0F 84 xx xx xx xx that i replaced with B8 00 01 00 00 89 81 38 06 00 00 90.

Reply
hansangkyu September 16, 2020 - 4:20 am

Thank you! I done option 1

Reply
Axle September 20, 2020 - 6:54 pm

What is the hex code on Windows 10 20H1? Does this method work on Enterprise Image?

Reply
Ucup September 26, 2020 - 2:12 am

i was upgrade windows 10 home to pro, and i installed rdp wrap.
its say ok. listening and fully supported, but i still cant using remote desktop with multiple sesion.

Reply
joe September 26, 2020 - 2:47 pm

HI. need the rdp edit for window 10 version 2004 which they keep updating.
i edited termsrv.dll and rebooted .. service started ok.. but no mulitiple logins.
so msn has done some thing else or the hex edis for version 1909 does not work on 2004.
i have not tried rdp wrapper becuse it wont down load under virus protection. i may
turn that off and down load.

Reply
Calab September 26, 2020 - 7:05 pm

I tried to install this and now I can’t resolve any DNS. Pinging IP’s works, but not names. This looks like a virus to me.

Reply
Kubat October 2, 2020 - 1:38 am

Everyone, Thanks to the great work by the author and everyone who has posted to assist everyone. I have the new version 2004 and have used tiny Hexer, just as the author says and got everything working fine. Here is the needed data for the new version and how I found the area to make the change. Using Tiny Hexor I used a backup to mod first (follow the directions on ownership and icals and making backup) Use tiny hexer to find
Windows 10 x64 2004 39 81 3C 06 00 00 0F 84 D9 51 01 00
Replace with B8 00 01 00 00 89 81 38 06 00 00 90
In the future search for just 39 81 3C 06 00 00 as that never appears to change and replace the full hex (12 pairs starting with 39 81 3C 06 00 00 ) and replace with B8 00 01 00 00 89 81 38 06 00 00 90
Hopes this helps everyone and stay safe and healthy.

Reply
Hoa December 10, 2020 - 1:41 pm

Thank you very much

Reply
salvatore October 15, 2020 - 6:21 pm

Regards, sorry me for my bad english.
I used your procedure using the RDPWrap-v1.6.2.zip.
It works but if I try to log in from another PC, in the same account I log off the account of the PC I connect to.
How can I solve?
Thank you.

Reply
erminio October 15, 2020 - 6:22 pm

Regards, sorry me for my bad english.
I used your procedure using the RDPWrap-v1.6.2.zip.
It works but if I try to log in from another PC, in the same account I log off the account of the PC I connect to.
How can I solve?
Thank you.

Reply
roadparc November 12, 2020 - 8:28 pm

Use the latest version which is 1.6.2 (https://github.com/stascorp/rdpwrap/releases) Follow the procedure on that page and then download the update for the .ini file for the latest version of Windows on this page:
https://github.com/asmtron/rdpwrap/blob/master/binary-download.md
Again read and follow the procedures.
I did everything they say and it is working for Windoes Version 10.0.19041.84

Reply
John Dow November 30, 2020 - 10:31 am

Hello

Reply
Dave December 8, 2020 - 10:53 am

Thanks man this works Great for Window 10 Pro Build 1903 but can you help for Window 10 Pro Build 2009 which code i need to change.

Thanks

Reply
Hoa December 10, 2020 - 1:43 pm

Read Kubat mes … In the future search for just 39 81 3C 06 00 00 as that never appears to change and replace the full hex (12 pairs starting with 39 81 3C 06 00 00 ) and replace with B8 00 01 00 00 89 81 38 06 00 00 90

Reply
Doug January 7, 2021 - 10:30 pm

I have Windows 10 Version 1909 (OS Build 18363.1256). Using TinyHexer and HxD, I am having trouble finding 39 81 3C 06 00 00 0F 84 5D 61 01 00 to replace with B8 00 01 00 00 89 81 38 06 00 00 90. When I do a find for the value it states “No Results”. Even if i just search for 39, I get the same results so I know I am doing something wrong. I am not very familiar with Hex Editing software. Can anyone provide more details in how to change the termsvr.dll file with TinyHexer? I have tried using RDP Wrapper and although everything appears as if it should work, I cannot get multiple RDP sessions to work. By the way, EXCELLENTLY written by the Author and great feedback as well!!

Reply
DaveC January 13, 2021 - 6:17 pm

Just found windows build 2004 on my machine after auto update. Not finding the code strings in the termsrv.dll anymore. Has the hex editing instruction here no longer effective with this latest build?

Reply
Frank January 14, 2021 - 11:19 am

Same here! Las windows update has modified termsrv.dll and can’t find the string anymore.
Someone can tell what is the new string to search for ?

Thanks.

Reply
ananda January 14, 2021 - 6:09 am

i done have a step “group policy”, thanks bro

Reply
Break January 15, 2021 - 2:41 pm

Microsoft Windows [Version 10.0.19041.746]
For this version what code should be looked up for and replaced with.

Reply
czesio January 19, 2021 - 7:33 pm

Microsoft has been updated very quick recently.
Computer has just updated to latest version windows 10 pro version 2004, OS 19041.264

recheck termsrv.dll
It has been overwrote by the latest update.

It is
39 81 3c 06 00 00 0F 84 D9 51 01 00

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

This solution runs without additional software RDP Wrapper or RD Plus.
It is successful allowed multiple users access at same time simultaneously。

Reply
Kalandor January 21, 2021 - 12:24 pm

Used this on 20H2 build 19041.746

searched for
39 81 3C 06 00 00 0F 84 01 5E 01 00
replaced with
B8 00 01 00 00 89 81 38 06 00 00 90

Works without RDPWrapper .. of course backup termsrv.dll before editing.

Reply
Jozef January 29, 2021 - 12:52 pm

Hmmm, for me didn’t work – Win 10 Pro ver. 2004 – fileversion 10.0.19041.746 – TermService wont start… Any suggestions? Thank You very much.

Reply
Jozef February 2, 2021 - 10:52 am

Seconadry it worked ;o)

Reply
John June 10, 2021 - 5:16 pm

I’m on build 20H2 and termsrv 10.0.19041.746
I’m searching for: 39 81 3C 06 00 00 0F 84 01 5E 01 00 and not finding.
Any help?
Thanks in Advance.

Reply
BobH January 24, 2021 - 6:42 am

Thanks Kalandor – that worked for 20H2! FYI – can’t use Tiny Hexer to patch termsrv.dll in \windows\system32, even after taking ownership and setting full access (it would never find the file, probably due to inherited permissions). Had to copy termsrv.dll to another directory (i.e Downloads), use Tiny Hexer to patch that file, then copy the file back to \windows\system32

Reply
bigben973 January 25, 2021 - 1:34 pm

Used this on win10pro 1909 vers 18363.1316
Search at 0x01F270
39 81 3C 06 00 00 0F 84 75 61 01 00
Replace by
B8 00 01 00 00 89 81 38 06 00 00 90

Reply
Dewed January 29, 2021 - 4:52 pm

I too had to copy the termsrv.dll to a different directory to edit and then copy back but it Works like a champ – thanks All!
Search for:

39 81 3C 06 00 00 0F 84 75 61 01 00
Replace by
B8 00 01 00 00 89 81 38 06 00 00 90

WindowsProductName WindowsVersion
—————— ————–
Windows 10 Pro 2009

OS Build 19042.746

Reply
Marco Scari March 4, 2021 - 4:01 pm

Worked for me. However, is there a sustainable way to update this string in sebsequent versions? I have 19042.844 today. Thanks

Reply
Manny February 5, 2021 - 1:16 am

So, Windows just updated this again.
The version of the new termsrv.dll is 10.0.19041.789
I can’t find the above sequence in the file.
Anyone that could shine a light on this would be great!
Thanks you!

Reply
Manny February 5, 2021 - 1:46 pm

Never mind that, it’s the same string as .746. I have looked at it and at first I wasn’t finding that string. I was probably doing something wrong in the search. Tried again after a good night of sleep and, well, it’s working now. Tested!

Reply
Luis Gabriel March 8, 2021 - 10:05 pm

Agradezco publicaran la linea para Windows 10 Enterprise Compilación 2009

Reply
Luis Gabriel March 9, 2021 - 5:27 am

they can leave the line of win 10 Enterprise Compilation 2009

Reply
Igor March 26, 2021 - 11:45 am

If you’ll need patched termsrv for Windows 10 x64 Build 20H2_v2 look for it in the comments here https://github.com/stascorp/rdpwrap/issues/1354

Reply
Luca March 28, 2021 - 12:52 pm

Anyone knows how to do it for Windows 10 Pro 1909 Build 18363.1440?? Please help!!!

Reply
BobH April 18, 2021 - 1:24 am

I’m trying to set up an AWS Lightsail instance and ran into a surprising trap. This instance is running Windows Server 2019 and the greedy SOB’s only allow 2 simultaneous RDP connections. Purchasing Remote Desktop Services CAL’s is ridiculously expensive at about $100/user. I’m thinking about patching termsrv.dll just like I”ve done successfully on a Windows 10 computer. The problem here, is that you have to be able to connect to the instance other than with RDP. TeamViewer is deliberately blocked by AWS (so they can sell you and expensive integration via their AWS marketplace) – only can use it when connected via RDP. SSH doesn’t appear to be possible with a Windows Server instance, only with Linux instances.

If I can get connected to the instance with anything other than RDP, I can attempt the RDP patch.

Reply
Jamie Mason April 25, 2021 - 1:01 am

The DLL mod works great with Windows 10 20H2 / 1909 (Pro x64). Like others above have said, since the search string changes, it is best to search for “39 81 3C 06 00 00” as that part never seems to change. In my case, the whole string I had to find was actually:

39 81 3C 06 00 00 0F 84 01 5E 01 00

A couple other tips:
–Make sure you are searching for a hex value, not text-string, integer, etc. In the HxD hex editor, you have to select the data type and text-string is the default.
–Make sure you open the hex editor with admin permissions or it won’t allow you to modify the DLL file. Right click the hex editor in the start menu and select “run as administrator”

Reply
TY May 5, 2021 - 4:02 am

Nailed it, thanks Jamie

Reply
Andrea May 10, 2021 - 1:22 pm

Good morning, i have replace rdpwrap.ini and i have all green in RDPConf.exe
I have modify the Limit number of connections to 999999 and activate function but remote desktop, used in other pc, tell me “log off the current user?” and if i use RDPCheck in win 10 enterprise, used as server, the message is “The number of connections to this computer is limited…”
Do i have to perform other steps? Thank you

Reply
Andrea May 26, 2021 - 10:41 pm

solved with autoupdate in this link
https://github.com/stascorp/rdpwrap/issues/860

Reply
Termsrv May 14, 2021 - 2:29 pm

universal patch

LANG=C sed ‘s/\x39\x81\x3C\x06\x00\x00[\x00-\xFF]\{6\}/\xB8\x00\x01\x00\x00\x89\x81\x38\x06\x00\x00\x90/’ termsrv.dll > termsrv_patched.dll

Reply
Kalandor May 15, 2021 - 1:34 am

for termsrv.dll 10.0.19041.964

Replace
39 81 3C 06 00 00 0F 84 E1 6A 01 00
With
B8 00 01 00 00 89 81 38 06 00 00 90

Remember to backup

Reply
Manny May 26, 2021 - 9:04 pm

@KALANDOR (using your format)

For termsrv.dll 10.0.19041.1023
Replace
39 81 3C 06 00 00 0F 84 21 68 01 00
With
B8 00 01 00 00 89 81 38 06 00 00 90
Remember to backup

Reply
jojo June 16, 2021 - 3:44 pm

tanks many @KALANDOR, that’s work for me, where do you find this !!!, i search untill months :(((
i want a universal patcher for futur release !!!

Reply
Kalandor July 8, 2021 - 11:17 pm

Only the last 4 bytes change between updates… search for the common part 39 81 3C 06 00 00 0F 84 .. then copy it along with the next four bytes and replace with B8 00 01 00 00 89 81 38 06 00 00 90 .. Worked for me for the last 6 updates …

Reply
John June 10, 2021 - 5:17 pm

I’m on build 20H2 and termsrv 10.0.19041.746 build?
I’m searching for: 39 81 3C 06 00 00 0F 84 01 5E 01 00 and not finding.
Any help?
Thanks in Advance.

Reply
also John June 16, 2021 - 10:48 pm

Hi John, a workaround working since a couple of years aften any windows update, is simple to search only for 39 81 3C 06 00 00 0F 84 the next 4 number are the specific jump adress. Only those 4 numbers changes between the updates. e.g. in 20H2 I found 39 81 3C 06 00 00 0F 84 and 21 68 01 00 , therefor replace 39 81 3C 06 00 00 0F 84 21 68 01 00 with B8 00 01 00 00 89 81 38 06 00 00 90 , that is it. Keep in mind, this procedure may be works also after the next “surprising” update. Best Regards.

Reply
David July 3, 2021 - 8:36 am

Is it free for multi sessions? Currently I use AweSun Remote Desktop for mutli-concurrent sessions for free. Free and works well.

Reply
tgm July 4, 2021 - 1:04 pm

Giving a backdoor to an unknown company with NO place of address anywhere on their site, with no indication whatsoever of who they are?

They claim all kinds of things on their site (aweray/awesun), but nothing whatsoever is verifiable.

Do you work for them?

Reply
Thomas July 12, 2021 - 10:46 am

Hello, the workaround is not working for me on version 10.0.19041.1081

Reply
Manny July 16, 2021 - 4:42 pm

For new termsrv.dll version 19041.1081
Windows Build 21H2 19042.1083
Or
Windows Build 21H1 19043.1110

Search for:
39 81 3C 06 00 00 0F 84 DB 61 01 00

Replace it with:
B8 00 01 00 00 89 81 38 06 00 00 90

Remember:
The entire string is 12 pairs.
For a different version, search for the first 8 pairs (39 81 3C 06 00 00 0F 84) and fill in the rest with the last 4 pairs you will find on your version.
Then replace the entire 12 pairs with the string (Replace it with)

Reply
Anon August 14, 2021 - 6:11 am

The only solution that worked. Thank you all!

Reply
neutrino September 18, 2021 - 1:43 pm

The procedure from MANNY works fine after any major update since a couple of years. Search for the 39 81 3C 06 00 00 0F 84 XX XX XX XX and replace it with B8 00 01 00 00 89 81 38 06 00 00 90 . you can use a disassembler like IDA to see what is gone, the ask of termserv to the operating system “Are multible sessions allowed” gives with B8 00 01 00 00 89 81 38 06 00 00 90 always the answer Yes :-). During the replacement, the termserv is stopped, but you can use anydesk to connect to the machine remotely as admin. After restarting the termserv by a reboot, everything with RDP is still working.

Reply
dany September 20, 2021 - 7:39 pm

thanks
but we need it for Win 11

Reply
NEL October 14, 2021 - 6:30 am

Hi all.
Please find below a script that works for all Windows 10 – Windows 11 version
Set-ExecutionPolicy Bypass -Scope Process -Force

# All thanks to https://renenyffenegger.ch/notes/Windows/Remote-Desktop-Services/patch-termsrv_dll

#
# Get status of the two services UmRdpService and TermService...
#

$svc_UmRdpService_status = (Get-Service UmRdpService).status
$svc_TermService_status = (Get-Service TermService ).status

#
# ... display them ...
#

Write-Host "Status of service UmRdpService: $svc_UmRdpService_status"
Write-Host "Status of service TermService: $svc_TermService_status"

#
# ... before stopping them ...
#

Stop-Service UmRdpService -Force
Stop-Service TermService -Force

#
# Save ACL and owner of termsrv.dll:
#

$termsrv_dll_acl = Get-Acl c:\windows\system32\termsrv.dll
$termsrv_dll_owner = $termsrv_dll_acl.owner
Write-Host "Owner of termsrv.dll: $termsrv_dll_owner"

#
# Create backup of termsrv.dll, just in case:
#

Copy-Item c:\windows\system32\termsrv.dll c:\windows\system32\termsrv.dll.copy

#
# Take ownership of the DLL...
#

takeown /f c:\windows\system32\termsrv.dll
$new_termsrv_dll_owner = (Get-Acl c:\windows\system32\termsrv.dll).owner

#
# ... and grant (/Grant) full control (:F) to myself:
#

cmd /c "icacls c:\windows\system32\termsrv.dll /Grant $($new_termsrv_dll_owner):F /C"

#
# Read DLL as byte-array in order to modify the bytes.
#
# See https://stackoverflow.com/a/57342311/180275 for some details.
# NEL 2021-10-13 - The "if check" is there to differentiate between PowerShell Core and Powershell Traditional version...

if ($(Get-Content c:\windows\system32\termsrv.dll -Raw -asByteStream).exitcode -eq 0) {
$dll_as_bytes = Get-Content c:\windows\system32\termsrv.dll -Raw -asByteStream
}
else {
$dll_as_bytes = Get-Content c:\windows\system32\termsrv.dll -Raw -Encoding byte
}

#
# Convert the byte array to a string that represents each byte's value as hexadecimal value, separated by spaces:
#

$dll_as_text = $dll_as_bytes.forEach('ToString', 'X2') -join ' '

#
# Search for byte array (which is dependent on the Windows edition) and replace them.
# See
# https://woshub.com/how-to-allow-multiple-rdp-sessions-in-windows-10/
# https://forums.mydigitallife.net/threads/discussion-windows-10-termsrv-dll-patching.57102/page-18
# for details.
#

# NEL 2021-10-13 - Automating for future version (Working for W11):
$patternsregex = ([regex]'39 81 3C 06 00 00(\s\S\S){6}', # W10 > 1809
[regex]'8B 99 3C 06 00 00(\s\S\S){6}' #W10 <1809
)

$patch = 'B8 00 01 00 00 89 81 38 06 00 00 90'

Foreach ($patternregex in $patternsregex) {
If (Select-String -Pattern $patternregex -InputObject $dll_as_text) {
$dll_as_text_replaced = $dll_as_text -replace $patternregex, $patch
}
}

Elseif (Select-String -Pattern $patch -InputObject $dll_as_text) {
Write-Output 'The termsrv.dll file is already patch, exitting'
Exit
}

else { # Opens a url with probably new regex in comments
Write-Output "You need to search the new pattern bytes for the regex, try the last comments in : $(Start-Process https://woshub.com/how-to-allow-multiple-rdp-sessions-in-windows-10/)"
}

#
# Use the replaced string to create a byte array again
#

[byte[]] $dll_as_bytes_replaced = -split $dll_as_text_replaced -replace '^', '0x'

#
# Create termsrv.dll.patched from byte array:
#

if ($(Get-Content c:\windows\system32\termsrv.dll -Raw -asByteStream).exitcode -eq 0) {
Set-Content c:\windows\system32\termsrv.dll.patched -asByteStream -Value $dll_as_bytes_replaced
}
else {
Set-Content c:\windows\system32\termsrv.dll.patched -Encoding Byte -Value $dll_as_bytes_replaced
}

#
# Compare patched and original DLL (/b: binary comparison)
#

fc.exe /b c:\windows\system32\termsrv.dll.patched c:\windows\system32\termsrv.dll

#
# Expected output something like:
#
# 0001F215: B8 39
# 0001F216: 00 81
# 0001F217: 01 3C
# 0001F218: 00 06
# 0001F21A: 89 00
# 0001F21B: 81 0F
# 0001F21C: 38 84
# 0001F21D: 06 5D
# 0001F21E: 00 61
# 0001F21F: 00 01
# 0001F220: 90 00
#

#
# Overwrite original DLL with patched version:
#

Copy-Item c:\windows\system32\termsrv.dll.patched c:\windows\system32\termsrv.dll -Force

#
# Restore original ACL:
#

Set-Acl c:\windows\system32\termsrv.dll $termsrv_dll_acl

#
# Start services again:
#

Start-Service UmRdpService
Start-Service TermService

Heavy inspiration from https://renenyffenegger.ch/notes/Windows/Remote-Desktop-Services/patch-termsrv_dll

Reply
Wayne July 7, 2022 - 3:31 pm

Hi Nel –

Does the result of this script enable someone to use the console and simultaneous RDP connection without any prompts or user input to allow/disallow?

Reply
Jürgen October 23, 2021 - 8:06 pm

Hi,

RDPWrap solved the problem to use simultaneous RDP session but brought another problem: if I close RDP and reconnect than all running applications from the old session were closed and some applications running in background also are closed.

Anybody with the same behaviour and a possible solution?

Reply
admin October 26, 2021 - 10:59 am

Try to use the “Single Session Per User” option and configure the RDP timeouts correctly.

Reply
Manny November 8, 2021 - 4:21 pm

For new termsrv.dll version 19041.1202

Tested with
Windows Build 21H2 19042.1083
May work fine with other builds

Note for this build: The file changed but the string is the same as in 19041.1081

So…

Search for:
39 81 3C 06 00 00 0F 84 DB 61 01 00

Replace it with:
B8 00 01 00 00 89 81 38 06 00 00 90

Remember:
The entire string is 12 pairs.
For a different version, search for the first 8 pairs (39 81 3C 06 00 00 0F 84) and fill in the rest with the last 4 pairs you will find on your version.
Then replace the entire 12 pairs with the string (Replace it with)

Reply
Mandy November 9, 2021 - 12:27 pm

Great Content!!! would the termsrv.dll editing method work for this version “Windows Server 2016 Essentials
Version 1607(OS Build 14393.4704)”. Has anyone tried? Below is the string i could locate 39 81 3C 06 00 00 0F 84 4D 94 02 00. This server of mine has an domain controller on same servr as well hence posting to confirm before going ahead to edit.

Reply
admin November 10, 2021 - 11:53 am

I have not tested the termsrv.dll file fix for Windows Server 2016 Essentials.
I think the easiest way for you is to deploy a clean VM with an evaluation version of Windows Server 2016 Essentials and try to edit the termsrv.dll. This will not affect your production environment.

Reply
Luke November 15, 2021 - 7:39 am

Has anyone the hex changes for version 10.0.19041.1348?
The pattern 39 81 3C 06 00 00 0F 84 does’t seam to exist anymore.

Reply
Kalandor November 23, 2021 - 9:55 am

@LUKE – yes.. I have patched it on this version without issues… I even used the AutoPatcher with the following pattern.
x64, 39 81 3C 06 00 00 0F 84 * * * *, B8 00 01 00 00 89 81 38 06 00 00 90

Running 20H2 though, but I suppose if the DLL version is the same that would make no difference

Reply
U1 December 18, 2021 - 11:33 pm

Thanks for powershell script. Works as intended on Win 10 Pro 21H1.

Reply
Manny February 9, 2022 - 12:27 pm

For new termsrv.dll version 19041.1503

Tested with
Windows Build 21H2 19044.1526
May work fine with other builds

Search for:
39 81 3C 06 00 00 0F 84 CB 56 01 00

Replace it with:
B8 00 01 00 00 89 81 38 06 00 00 90

Remember:
The entire string is 12 pairs.
For a different version, search for the first 8 pairs (39 81 3C 06 00 00 0F 84) and fill in the rest with the last 4 pairs you will find on your version.
Then replace the entire 12 pairs with the string (Replace it with)

Reply
chester February 10, 2022 - 10:51 am

Edition Windows 11 Pro
Version 21H2
OS build 22000.493

find:
39 81 3C 06 00 00 0F 84 9F 6A 01 00
replace :
B8 00 01 00 00 89 81 38 06 00 00 90

Reply
Sonya February 21, 2022 - 8:53 pm

Dear Author of this tutorial,
THIS IS FABULOUS !!
Your instructions worked perfectly, on the first try, in Windows 11 Pro 22000.493.
I have donated to you on Paypal.
It’s a simply wonderful tool, this RDPWrap.
I can’t thank you enough!

Best regards from Keaau Hawaii, USA
sonya

Reply
admin February 22, 2022 - 7:32 am

Glad to help 😎

Reply
Kris February 26, 2022 - 9:43 pm

Thanks! This made things very easy for me. Cheers.

Reply
DEWED March 4, 2022 - 11:50 pm

Had trouble finding the Hex for windows build so i couldn’t patch. Script obviously didn’t work.

Windows 10 Pro 20H2 1/8/2021 OS Build 19042.1526

anyone got this working?

Reply
Manny March 29, 2022 - 2:18 am

For new termsrv.dll version 19041.1620

Tested with
Windows Build 21H2 19044.1620
May work fine with other builds

Search for:
39 81 3C 06 00 00 0F 84 AB 4A 01 00

Replace it with:
B8 00 01 00 00 89 81 38 06 00 00 90

Remember:
The entire string is 12 pairs.
For a different version, search for the first 8 pairs (39 81 3C 06 00 00 0F 84) and fill in the rest with the last 4 pairs you will find on your version.
Then replace the entire 12 pairs with the string (Replace it with)

Reply
FJE March 31, 2022 - 5:27 pm

Great tool and explanation and guide for how to use it! Thanks!

But yesterday I had to install all the pending updates of our Windows Pro and RDP stop to work, only one session was allowed. I tried everything, RDPupdate, uninstall re install, reboot the system, new .ini download… no way. I suspected it could be a problem of a new termsrv.dll and, yes, there was a new .dll dated just in yesterday, 30/03/22. So, I recovered an old .dll I had in a backup taken on 14/03/22 and it worked again.

Any idea of what other thing I could have done?

Thanks again

Reply
mfay April 6, 2022 - 11:51 am

You are clever thank you very much

Reply
TSC April 6, 2022 - 5:36 pm

For which string must I search on Windows 10 x86 ?
I dont have 39 81 3C 06 00 ….
I’m running Windows 10 Enterprise x86 2009 (termsrv.dll 10.0.19041.1503)

Thank you very much

Reply
Martín May 5, 2022 - 12:28 pm

Excelente!!!!
Funcionó perfectamente modificando termserv.dll con PowerShell.
Gran post, muy bien explicado todo.
Muchas gracias.
Un genio BEN!!!

Reply
Chris May 6, 2022 - 1:44 am

That powershell script is the bees knees! thanks!!!

Reply
Sabb May 12, 2022 - 1:32 pm

Is there a solution for Windows 10 x64 v21H2 termsrv.dll 10.0.19041.1566?
Is there a solution for Windows 10 x64 v21H2 termsrv.dll 10.0.19041.1682?

Reply
Marko May 13, 2022 - 2:47 pm

Is there a solution for Windows 10 x64 v21H2 termsrv.dll 10.0.19044.1706?

Reply
Marko May 13, 2022 - 6:11 pm

About termsrv.dll (x64): 10.0.19041.1682
Search for:
39 81 3C 06 00 00 0F 84 2B 86 01 00
Replace it with:
B8 00 01 00 00 89 81 38 06 00 00 90

And I made these steps also for Windows 10 x64 v21H2 termsrv.dll 10.0.19044.1706,
and it works also!
But I made it with my own Risk, so be carefull, backup original version of termsrv.dll.

Reply
Sabb May 16, 2022 - 8:05 am

Thanks for the termsrv.dll (x64): 10.0.19041.1682

Reply
Sabb May 16, 2022 - 8:17 am

Do you maybe have a solution for Is there a solution for Windows 10 x64 v21H2 termsrv.dll 10.0.19041.1566?

Reply
Sabb May 16, 2022 - 11:51 am

found it:
Windows 10 Pro
Version: 21H2
OS Build: 19044.1566
termsrv.dll (x64): 10.0.19041.1566
===============================
Replace:
39 81 3C 06 00 00 0F 84 2B 4D 01 00
With:
B8 00 01 00 00 89 81 38 06 00 00 90

Reply
OrangeCat June 4, 2022 - 2:23 pm

Hello.
I’ve been using the RDPWrapper for several years now.
Everything works fine, all green, fully supported, all is good.
But there is one thing I’d like to ask to those who can help.

When enabling “multiple «per-user» sessions”…
Is there a way to choose which specific session to login into?
If there’s currently only 1 logged in session, is it possible for RDP to choose this very same session regardless of enabling the concurrent per-user option

Furthermore, is there also a way to use this as some sort of a remote assistance manner?
(as in, being in the exact same session of another location, both sharing the same mouse/keyboard)?

I see some shadowing mode options, but never really figured out how to use that.

Reply
Justin June 8, 2022 - 1:31 am

Been using RDP Wrapper for many years. Updated to H1H2 and all was fine. Then about 2 weeks ago it stopped working. No updates have been installed since the last time it worked. Says supported and listening, all is green. But two different users cannot be logged in at the same time. The guy that runs the Github can’t figure it out either. It’s happening to many people. Start with issue #353.

https://github.com/stascorp/rdpwrap/issues/353

https://github.com/stascorp/rdpwrap/issues/1873

This is an old issue that once it pops up, no one can fix it. Every single machine on my network is now hosed. I’ll looking into running this script but only if I can automate it.

Reply
Manny June 9, 2022 - 10:26 am

For new termsrv.dll version 19041.1741

Tested with
Windows Build 21H2 19044.1741
May work fine with other builds

Search for:
39 81 3C 06 00 00 0F 84 73 55 01 00

Replace it with:
B8 00 01 00 00 89 81 38 06 00 00 90

Remember:
The entire string is 12 pairs.
For a different version, search for the first 8 pairs (39 81 3C 06 00 00 0F 84) and fill in the rest with the last 4 pairs you will find on your version.
Then replace the entire 12 pairs with the string (Replace it with)

Reply
Marko July 8, 2022 - 6:25 pm

It works with termsrv.dll version 19041.1741, thanks!

Reply
Kaloyan September 16, 2022 - 12:44 pm

Replacement of bits for termsrv version 10.0.19044.1949 not working.
Found: 39 81 3C 06 00 00 0F 84 C3 2A 01 00
replaced with: 39 81 3C 06 00 00 0F 84 C3 2A 01 00
Resul is a error after entering of correct password and no options for login “The object invoked has disconnected from it’s clients.”.

Reply
Kaloyan September 16, 2022 - 12:46 pm

*replaced with: B8 00 01 00 00 89 81 38 06 00 00 90

Sorry there is no options for edit, maybe because I’m not a registered user.

Reply
KALOYAN September 17, 2022 - 5:26 pm

Found solution in other forum:
termsrv.dll x64 19041.1949
Multi-user: File offset: 1E1C5. Find: 39 81 3C 06 00 00 0F 84 C3 2A 01 00 and replace with B8 00 01 00 00 89 81 38 06 00 00 90
Multi-session: File offset: 10D32. replace 01 with 00.
Replacing only 39 81 3C 06 00 00 0F 84 C3 2A 01 00 resulting in error.

Reply
Raynor September 29, 2022 - 10:27 am

@KALOYAN
I did patch the file as you described and am facing an “interesting” behaviour now. If I log into the machine locally and open a program, this program is not visible in the RDP session. It happens vice versa as well. The processes of the programs I opened however are still running (just not visible).

Reply
KALOYAN September 30, 2022 - 1:15 pm

Hi, RAYNOR,
It’s due to replacing offset at 10D32, witch unlocks multi-session. You can have one session locally and another with same user from RDP. Try it locally opening RDP to localhost with same user.

Reply
MARKO October 11, 2022 - 10:06 am

For Windows version 21H2 19044.2006 (september update)
Found: 39 81 3C 06 00 00 0F 84 C3 2A 01 00
Replace with: B8 00 01 00 00 89 81 38 06 00 00 90
also works

Reply
Shweew October 12, 2022 - 6:21 pm

patch for termsrv.dll (x64): 10.0.19041.2075
===============================
Replace:
39 81 3C 06 00 00 0F 84 85 45 01 00
With
B8 00 01 00 00 89 81 38 06 00 00 90

Reply
Steve October 19, 2022 - 1:38 pm

Thank you. This worked!

Reply
leo October 18, 2022 - 12:48 am

22000.1042
how to fix this version?

Reply
Devendra November 4, 2022 - 11:28 am

how can we run single application not full computer access thru this RDP process

Reply
Rich December 9, 2022 - 12:37 am

Holy Crap!! This is GREAT – SWEET!

Reply
warp December 10, 2022 - 2:25 am

22H2
19045.2311
Do you have this version?

Reply
AMAN December 19, 2022 - 1:21 pm

REMORT DEXTOP SERVICES IN IS NOT STARTIN ERROR CODE 126 THE SPECIFIED MODULE COULD NOT BE FOUND

Reply
haikal shiddiq January 3, 2023 - 4:32 am

many thanks bro, but just 1 notes before running that ps1 script is ensure to stop RDP services or you can found that termsrv is still running. Other than that this process should be successful.

regards,
haikal shiddiq

Reply
probiotic January 4, 2023 - 12:33 pm

thank you it works

Reply
Mahesh January 13, 2023 - 2:31 pm

What can be done for RDP to work on Win11 with ver 10.0.22621.608

Reply
srg April 2, 2023 - 3:46 pm

the “Hex edit” works for W10 but there isn’t a code for “The Birdie” / Canary release.
The Git hub MSI version of rdp wrapper gives a Windows Defender popup of “This program contains malware” if you try download it, the download can still be done. Not willing to try that -but works on W10 with the Hex edit.

Reply
Fabiano May 18, 2023 - 2:16 am

Hey guys, check out my PowerShell script on GitHub! I’m working on doing a better job, thank you very much! https://github.com/fabianosrc/TermsrvPatcher

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023
  • How to Use Ansible to Manage Windows Machines

    September 25, 2023
  • Installing Language Pack in Windows 10/11 with PowerShell

    September 15, 2023
  • Configure Email Forwarding for Mailbox on Exchange Server/Microsoft 365

    September 14, 2023
  • How to View and Change BIOS (UEFI) Settings with PowerShell

    September 13, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • How to Run Program without Admin Privileges and Bypass UAC Prompt
  • Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows
  • Fixing ‘The Network Path Was Not Found’ 0x80070035 Error Code on Windows
  • Updating List of Trusted Root Certificates in Windows
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top