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 v1903 - May 2019 Update
After this update termsrv.dll is upgraded to version 10.0.18362.53. To get back concurrent remote desktop connections, the make the following changes:
Find:
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
The patched version can be download from here. The original, v10.0.18362.53 file can be found here.
Older Windows 10 versions
-----------------------------------------------------------------------------------------------------------------------------
Windows 10 x64 v1809 - October 2018 Update + Cumulative April 2019 Update
After this update termsrv.dll is upgraded to version 10.0.17763.437. To get back concurrent remote desktop connections, the make the following changes:
Find:
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
The patched version can be download from here. The original, v10.0.17763.437 file can be found here.
-----------------------------------------------------------------------------------------------------------------------------
Windows 10 x64 v1809 - October 2018 Update
Windows 10 October 2018 Update (1809) updates termsrv.dll to version 10.0.17763.1. To get back concurrent remote desktop connections, the make the following changes:
Find:
39 81 3C 06 00 00 0F 84 7F 2C 01 00
replace with:
B8 00 01 00 00 89 81 38 06 00 00 90
The patched version can be download from here. The original, v10.0.17763.1 file can be found here.
-----------------------------------------------------------------------------------------------------------------------------
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 the 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
The patched version can be download from here. The original, v10.0.17134.1 file can be found here.
-----------------------------------------------------------------------------------------------------------------------------
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 the 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
The patched version can be download from here. The 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 the 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
The 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 the 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
The patched version can be download from here. Original, v10.0.10586.0 file is here.
-----------------------------------------------------------------------------------------------------------------------------
Windows 10 x64 RTM (August 2015)
File termsrv.dll file version 10.0.10240.16384.
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
The patched version can be downloaded from here. The 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.
If update.bat doesn't add support to your Windows version, try checking Open Issues on RDP Wrapper GitHub page. You may find how to manually update rdpwrap.ini until official support is added.
Source:
- https://www.mysysadmintips.com/windows/clients/545-multiple-rdp-remote-desktohttps://appuals.com/how-to-setup-rdp-on-windows-10-all-versions/
- https://appuals.com/how-to-setup-rdp-on-windows-10-all-versions/
- https://ehikioya.com/multiple-rdp-sessions-in-windows-rdp-wrapper-library/