Multiple RDP (Remote Desktop) sessions in Windows 10

Update: For Windows 11 termsrv.dll modifications, please visit the following page.

Option 1 – Modifying termsrv.dll

In order 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 the ownership and assign yourself full permissions. You also need to stop the Remote Desktop service (TermService) if it’s running.

DLL files can be modified using any HEX Editor (for example Tiny Hexer).

Windows 10 x64 v22H2 (10/2023)

For termsrv.dll version 10.0.19041.3570:

Find:

39 81 3C 06 00 00 0F 84 F7 40 01 00

replace with:

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

—————————————————————————————————————————–

Older Windows 10 versions

Windows 10 x64 v22H2 (08/2023)

At some point v22H2 termsrv.dll was updated to version 10.0.19041.3271 To get back concurrent remote desktop connections, make the following changes:

Find:

39 81 3C 06 00 00 0F 84 E7 43 01 00

replace with:

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

The patched version can be downloaded from here. The original, v10.0.19041.3271 file can be found here.


Windows 10 x64 v22H2 – 2022 Update

termsrv.dll version 10.0.19041.2075 To get back concurrent remote desktop connections, make the following changes:

Find:

39 81 3C 06 00 00 0F 84 85 45 01 00

replace with:

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

The patched version can be downloaded from here. The original, v10.0.19041.2075 file can be found here.


Windows 10 x64 v21H1 – May 2021 Update

201H1 update didn’t change termsrv.dll version for me, it stayed the same 10.0.19041.1023 so the same 20H2 patch should work just fine.

Windows 10 x64 v20H2 – October 2020 Update

After this update termsrv.dll is upgraded to version 10.0.19041.1023 To get back concurrent remote desktop connections, make the following changes:

Find:

39 81 3C 06 00 00 0F 84 21 68 01 00

replace with:

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

The patched version can be downloaded from here. The original, v10.0.19041.1023 file can be found here.


Windows 10 x64 v2004 – May 2020 Update (20H1)

After this update termsrv.dll is upgraded to version 10.0.19041.84 To get back concurrent remote desktop connections, make the following changes:

Find:

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

The patched version can be downloaded from here. The original, v10.0.19041.84 file can be found here.


Windows 10 x64 v1909 – November 2019 Update

After this update termsrv.dll is upgraded to version 10.0.18362.657. To get back concurrent remote desktop connections, 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 downloaded from here. The original, v10.0.17763.1 file can be found here.


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, 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 downloaded from here. The original, v10.0.17763.1 file can be found here.


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, 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 downloaded 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, 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 downloaded 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 downloaded 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 downloaded 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 downloaded from here. The 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 downloaded from here. The 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

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.

May 2017
Windows 10 64bit


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *