Multiple RDP (Remote Desktop) sessions in Windows 10

Option 1 - Modifying termsrv.dll

To have concurrent user sessions working in Windows 10, you need to make small changes to termsrv.dll file. This file is located in C:\Windows\System32 folder. Before modifying termsrv.dll for the first time, you need to take ownership and assign yourself full permissions. You also need to stop Remote Desktop service (TermService) if it's running.

DLL files can be modified using any HEX Editor (for example Tiny Hexer). You can do this yourself by replacing strings shown below, or just download patched versions from this page.

Windows 10 x64 v1803 - Spring 2018 Update (March 2018)

Windows 10 Spring 2018 Update (1803) updates termsrv.dll to version 10.0.17134.1. To get back concurrent remote desktop connections, make following changes:

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

Patched version can be download from here. Original, v10.0.17134.1 file can be found here.


Older Windows 10 versions

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 Fall Creators Update (1709 -  Redstone 3) updates termsrv.dll to version 10.0.16299.15. To get back concurrent remote desktop connections, make following changes:

Find:

39 81 3C 06 00 00 0F 84 B1 7D 02 00

replace with:

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

Patched version can be download from here. Original, v10.0.16299.15 file can be found here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 v1703 - Creators Update (April 2017)

Windows 10 Creators Update (1703 -  Redstone 2) updates termsrv.dll to version 10.0.15063.0. To get back concurrent remote desktop connections, make following changes:

Find:

39 81 3C 06 00 00 0F 84 53 71 02 00

replace with:

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

Patched version can be download from here. Original, v10.0.15063.0 file can be found here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 Threshold 2 (November 2015)

Windows 10 Fall Update (also called "Threshold Wave 2 Update") updates termsrv.dll to version 10.0.10586.0. To get back concurrent remote desktop connections, make following changes:

Find:
39 81 3C 06 00 00 0F 84 3F 42 02 00

replace with:
B8 00 01 00 00 89 81 38 06 00 00 90

Patched version can be download from here. Original, v10.0.10586.0 file is here.

-----------------------------------------------------------------------------------------------------------------------------

Windows 10 x64 RTM (August 2015)

termsrv.dll file version 10.0.10240.16384.

In termsrv.dll find:
39 81 3C 06 00 00 0F 84 73 42 02 00

and replace it with:
B8 00 01 00 00 89 81 38 06 00 00 90

Patched version can be downloaded from here. Original, untouched version of termsrv.dll v10.0.10240.16384 can be downloaded from here.


Option 2 - RDP Wrapper

Instead of modifying termsrv.dll file you can use RDP Wrapper which acts as a middleman between Terminal Services and Service Control Manager. This way you don't need to touch termsrv.dll file. Actually, if you already modified your termsrv.dll file, you need to revert to the original version before using this method.

Download and extract RDPWrap-v1.6.1.zip (or newer), then run install.bat as admin. After installation is completed, run RDPConfig.exe. If all items under Diagnostics are green, you should be good to go.

If "Listener state" is "Listening [not supported]", you will need to update the wrapper's configuration (.ini) file.

With the latest version of RDP Wrapper you no longer need to update rdpwrap.ini manually. Simply run update.bat and everything will be done automatically.

May 2017
Windows 10 64bit

Comments  

Duken30
# Duken30 2015-08-30 22:05
Hello,

I just recently gave this a shot with Windows 10 Consumer Preview Build 10532. I can't seem to get it to work with this build. Any help would be greatly appreciated. I think it is because of the version of the termsrv.dll I have included a link to the dll.

http://wikisend.com/download/456260/termsrv.dll
cH_rI_sI
# cH_rI_sI 2015-08-29 05:47
I have Win 10 x64 Home, in the RDP Wrapper everything is green, but when i start a Remote Desktop there is no Connection possible... Please help - thanks!
Somebody
# Somebody 2015-08-30 00:07
I don't believe the Home version has the capability to do terminal services / remote desktop. I believe you need to upgrade to Pro. I'll be quickly corrected if I'm incorrect....
Gecata
# Gecata 2015-08-25 16:19
Here is patched dll for 32 bit Win10 Enterprise. Tested today with 7 users all day connected. Seems to work fine!
Enjoy!

http://www56.zippyshare.com/v/Xvodvt4n/file.html

P.S. Please someone to reupload because of download limits on free file sharing servers!
enrico
# enrico 2015-08-24 09:49
Thanx a lot....fully works
Nazar
# Nazar 2015-08-17 02:22
Hi,

I've searched the net but could not find similar issues to mine. Win8.1 Pro was upgraded to Win10 Pro Final. I have this weird issue where port 3389 is not listening by checking "netstat -na|findstr 3389". The port is by default set to 3389 in the registry. The service is running normally by checking both services and "sc query termservice". There's nothing about RDP errors in the event logs. Though not related, I've also added RDP to the firewall just in case. All troubleshooting was done with either RDP service restart or reboot.

I've also tried using RDP Wrapper, the status is all green except "Listener state: Not listening" in red (it does shows [fully supported]). Do you have any idea? I've attached the screenshot. Thanks.

Gcraig
# Gcraig 2015-08-13 14:41
Will this work with Windows 10 Home 64 bit?
Zancum
# Zancum 2015-08-04 17:59
For windows, final 10, 32 BIT, patched termsrv.dll:

http://www.mediafire.com/download/ftujagq917qnm97/termsrv_patche_windows10_.zip
Gecata
# Gecata 2015-08-12 22:54
Quoting Zancum:
For windows, final 10, 32 BIT, patched termsrv.dll:

http://www.mediafire.com/download/ftujagq917qnm97/termsrv_patche_windows10_.zip


Link is dead! Re-upload it please!
Thanks in advance!
Xavier
# Xavier 2015-08-15 19:20
For windows, final 10, 32 BIT, patched termsrv.dll:

http://www.mediafire.com/download/ftujagq917qnm97/termsrv_patche_windows10_.zip

Can't find this file !!!
hugo
# hugo 2015-08-10 11:57
down link
Selye
# Selye 2015-08-03 22:36
For those who want to patch their W10 termsrv.dll try this. I did a quick check, it seems to work.

in termsrv.dll search for:
39 81 3C 06 00 00 0F 84 73 42 02 00
replace by:
B8 00 01 00 00 89 81 38 06 00 00 90

As usual, to modify system dlls, take ownership, set full permission. Don't forget to stop Remote Desktop Services in service console.
Selye
# Selye 2015-08-03 22:39
This is for 64bit version.
SEEJEE
# SEEJEE 2015-08-03 13:16
Does this version support remote multi-monitors. Before Ultimate was required for this, Windows Pro didn't work. Now that Windows 10 has Pro only, does it support remote multi-monitors? ?
Nexusonline
# Nexusonline 2015-07-30 20:56
Use this it works with Windows 10 as well
(just with untouched/origi nal termsrv.dll)

RDP Wrapper
https://www.youtube.com/watch?v=W9BpbEt1yJw
Matt
# Matt 2015-07-30 21:23
Quoting Nexusonline:
Use this it works with Windows 10 as well
(just with untouched/original termsrv.dll)

RDP Wrapper
https://www.youtube.com/watch?v=W9BpbEt1yJw


Unfortunately, not yet, at least for x64. See: https://github.com/binarymaster/rdpwrap/issues/39
cosmos321
# cosmos321 2015-08-02 18:08
Quoting Matt:
Quoting Nexusonline:
Use this it works with Windows 10 as well
(just with untouched/original termsrv.dll)

RDP Wrapper
https://www.youtube.com/watch?v=W9BpbEt1yJw


Unfortunately, not yet, at least for x64. See: https://github.com/binarymaster/rdpwrap/issues/39


For me, it's working well on Win10 Pro x64 (Upgrade from Win7 Pro x64). Used the instructions in the youtube video and updated the .ini manually. Everything's working well!
Matt
# Matt 2015-08-03 13:14
Quoting cosmos321:
Quoting Matt:
Quoting Nexusonline:
Use this it works with Windows 10 as well
(just with untouched/original termsrv.dll)

RDP Wrapper
https://www.youtube.com/watch?v=W9BpbEt1yJw


Unfortunately, not yet, at least for x64. See: https://github.com/binarymaster/rdpwrap/issues/39


For me, it's working well on Win10 Pro x64 (Upgrade from Win7 Pro x64). Used the instructions in the youtube video and updated the .ini manually. Everything's working well!


Yup, thankfully was fixed late last week!
Matt
+1 # Matt 2015-07-30 03:16
Service failed to load for me with Windows 10 final:

Quote:
The Remote Desktop Services service terminated with the following error:
The specified module could not be found.
Had to put the old termsrv back into play to get it to start...bummer :(
Kurt
# Kurt 2015-08-01 02:48
Just tried this on Windows 10 final x64 following all of Max2's instructions. This worked perfectly. I was able to restart the service after replacing termsrv.dll
Jonathan
+1 # Jonathan 2015-07-29 20:55
Help me, please, guys can you say me if this patch is for 64 bit only? i tryed to change the dll but i can register 'cause show problem with the architecture, anyone have the termsrv.dll for 32 bit?
Danny
+2 # Danny 2015-08-01 21:24
For 32 bit try changing your 32 bit termsrv.dll

3B 81 20 03 00 00 0F 84 2A D5 00 00
with
B8 00 01 00 00 89 81 20 03 00 00 90
KameLong
# KameLong 2015-08-29 14:29
Thank you Danny.I am successful in your way.
Max2
+1 # Max2 2015-07-25 12:29
Remember any update from MSFT will restore the original termsrv.dll file, so this should be done again.
Max2
+1 # Max2 2015-07-25 12:28
6. Go to services.msc again and run (start) the "Remote Desktop Services".

Works on 10240 - could cause some sound issues.
Max2
+1 # Max2 2015-07-25 12:28
3. Now install "InstallTakeOwn ership.reg" (which adds take ownership option to your right click menu). If you can't find the file, simply search Google for "Take Ownership registry" and install it.

4. Go to c:\windows\syst em32 and copy the file "termsrv.dll" to some folder (if something goes wrong).

5. Copy the termsrv.dll that you downloaded from this website to the original c:\windows\syst em32 (overwrite the current file).
Max
+1 # Max 2015-07-25 12:27
1. Open cmd with administrator rights (winkey, type "cmd", right click "run as administrator"

2. Run "services.msc", find "Remote Desktop Services", right click and click "stop".
If it hangs (which happens often), open cmd and type: "sc queryex termservice". It will print some crap, just find the value next to "PID" (process id).
Next just force killing the process, by typing "taskkill.exe /pid:123 /f" (assuming 123 is the PID your found earlier).
gja
# gja 2015-07-19 16:54
Thanks for the tip. Tried this with Win 10 build 10240 and it does not work. Only one connection allowed still. Any thoughts?
Max2
# Max2 2015-07-25 12:39
Answer in comments below

Newsletter

Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait