- Thinstation по русски Всё о лёгком подключении тонкого клиента
- Nav view search
- Навигация
- Искать
- Терминальный сервер из Windows 10
- Termsrv.dll version 10.0.10240.16384; Win 10 Pro 1909 18363.1110 #1177
- Comments
- VTSharpShooter commented Oct 6, 2020 •
- sk-lau commented Oct 8, 2020
- addrian1 commented Oct 10, 2020
- sk-lau commented Oct 15, 2020
- Termsrv dll windows 10 1909 patch
- Windows 10 x64 v2004 — May 2020 Update (20H1)
- Windows 10 x64 v1703 — Creators Update (April 2017)
- Windows 10 x64 Threshold 2 (November 2015)
- Windows 10 x64 RTM (August 2015)
- Option 2 — RDP Wrapper
Thinstation по русски Всё о лёгком подключении тонкого клиента
Nav view search
Навигация
Искать
Все о правильной активации Windows 10 тут
Терминальный сервер из Windows 10
Disclaimer: статья размещена только в познавательных целях.
Чтобы убрать ограничение на количество RDP подключений пользователей в Windows 10 можно изменить файл termsrv.dll. Это файл библиотеки, которая используется службой Remote Desktop Services. Файл находится в каталоге C:\Windows\System32.
Прежде, чем править или заменять файл termsrv.dll желательно создать его резервную копию. Это поможет вам в случае необходимости вернуться к исходной версии файла. Запустите командную строку с правами администратора и выполните команду:
Прежде чем править файл termsrv.dll, вам нужно стать его владельцем и предоставить группе администраторов полные права на него. Проще всего это сделать из командной строки. Чтобы сменить владельца файла с TrustedInstaller на группу локальных администраторов с помощью команды:
Должно появится сообщение: «Успех. Владельцем файла (или папки) «c:\Windows\System32\termsrv.dll» является группа администраторов» или «SUCCESS: The file (or folder): «c:\Windows\System32\termsrv.dll» now owned by the administrators group».
Теперь предоставим группе локальных администраторов полные права на файл termsrv.dll (Full Control):
(или Administrators в англоязычной версии Windows). Должно появится сообщение: «обработанный файл: c:\Windows\System32\termsrv.dll Успешно обработано 1 файлов; не удалось обработать 0 файлов» или «processed file: c:\Windows\System32\termsrv.dll Successfully processed 1 files; Failed processing 0 files«.
Теперь нужно остановить службу Remote Desktop Service (TermService) из консоли services.msc или из командной строки:
Прежде чем идти дальше, вам нужно узнать вашу версию (билд) Windows 10. Проще всего это сделать с помощью следующей команды PowerShell:
Затем откройте файл termsrv.dll с помощью любого HEX редактора (к примеру, Tiny Hexer). В зависимости от билда нужно найти и заменить строку:
Версия Windows 10 | Найти строку | Заменить на |
39 81 3C 06 00 00 0F 84 D9 51 01 00 | B8 00 01 00 00 89 81 38 06 00 00 90 | |
Windows 10 x64 1909 | 39 81 3C 06 00 00 0F 84 5D 61 01 00 | |
Windows 10 x64 1903 | 39 81 3C 06 00 00 0F 84 5D 61 01 00 | |
Windows 10 x64 1809 | 39 81 3C 06 00 00 0F 84 3B 2B 01 00 | |
Windows 10 x64 1803 | 8B 99 3C 06 00 00 8B B9 38 06 00 00 | |
Windows 10 x64 1709 | 39 81 3C 06 00 00 0F 84 B1 7D 02 00 |
Например, для самой первой редакции Windows 10 x64 RTM 10240 (версия файла termsrv.dll — 10.0.10240.16384) нужно открыть файл termsrv.dll в Tiny Hexer. Затем найдите строку:
39 81 3C 06 00 00 0F 84 73 42 02 00
И замените ее на:
B8 00 01 00 00 89 81 38 06 00 00 90
Сохраните файл и запустите службу TermService.
Если что-то пошло не так, и у вас возникнут проблемы со службой RDP, остановите службу и замените модифицированный файл termsrv.dll исходной версией:
copy termsrv.dll_backup c:\Windows\System32\termsrv.dll
Преимущество способа включения нескольких RDP сессий в Windows 10 путем замены файла termsrv.dll в том, что на него не реагируют антивирусы.
Основной недостаток — вам придется вручную править файл при каждом обновлении билда Windows 10 (или при обновлении версии файла termsrv.dll в рамках ежемесячных кумулятивных обновлений).
PS
Попалась ещё такая информация:
1903 и 1909 оригинал и патч:
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
Find:
04 74 11 48 8D 15 77
Replace With:
04 EB 11 48 8D 15 77
Find:
58 01 00 00 FF 15 F7
Replace With:
58 00 00 00 FF 15 F7
Альтернативой модификации файла termsrv.dll является использования проекта RDP Wrapper Library.
Эта программа работает в качестве прослойки между менеджером управления службами (SCM- Service Control Manager) и службой терминалов (Terminal Services) и позволяет включить не только поддержку нескольких одновременных RDP сессии, но и активировать поддержку RDP Host на домашних редакциях Windows 10.
RDP Wrapper не вносит никаких изменений в файл termsrv.dll, просто подгружая termsrv с изменёнными параметрами.
Таким образом, это решение будет работать даже при обновлении версии файла termsrv.dll, что позволяет не опасаться обновлений Windows.
Скачать RDP Wrapper можно с репозитория GitHub (последняя доступная версия RDP Wrapper Library v1.6.2)
Termsrv.dll version 10.0.10240.16384; Win 10 Pro 1909 18363.1110 #1177
Comments
VTSharpShooter commented Oct 6, 2020 •
I am trying to use RDPWrapper to concurrently allow both a local user and a remote user onto the same Windows 10 Pro machine at the same time. Windows 10 version is currently 1909 18363.1110. Original version of termsrv.dll was present in system32 directory.
I installed using install.bat; ran it as an administrator; which downloaded and installed the latest RDPWrap.ini file.
RDPConfig shows:
Wrapper Status: Installed
Service State: Running
Listener State: Listening, BUT [Not Supported>
Interestingly, Remote Desktop access still works — but it works as the original Remote Desktop did, meaning that the incoming user is warned that the local user must disconnect with the local user being asked if they wish to disconnect or not; still only one user allowed.
I ran update,bat, but I believe I need an updated .INI file for my version of termsrv.dll?
Please advise, or are there instructions for modifying an existing RDPWrap.ini for my version of termsrv.dll?
The text was updated successfully, but these errors were encountered:
sk-lau commented Oct 8, 2020
I am trying to use RDPWrapper to concurrently allow both a local user and a remote user onto the same Windows 10 Pro machine at the same time. Windows 10 version is currently 1909 18363.1110. Original version of termsrv.dll was present in system32 directory.
I installed using install.bat; ran it as an administrator; which downloaded and installed the latest RDPWrap.ini file.
RDPConfig shows:
Wrapper Status: Installed
Service State: Running
Listener State: Listening, BUT [Not Supported>
Interestingly, Remote Desktop access still works — but it works as the original Remote Desktop did, meaning that the incoming user is warned that the local user must disconnect with the local user being asked if they wish to disconnect or not; still only one user allowed.
I ran update,bat, but I believe I need an updated .INI file for my version of termsrv.dll?
Please advise, or are there instructions for modifying an existing RDPWrap.ini for my version of termsrv.dll?
I believe this version of the .INI will work. Please replace your current ini with this version
addrian1 commented Oct 10, 2020
Я пытаюсь использовать RDPWrapper, чтобы одновременно разрешить как локальному пользователю, так и удаленному пользователю работать на одном компьютере с Windows 10 Pro одновременно. Версия Windows 10 в настоящее время — 1909 18363.1110. Исходная версия termsrv.dll находилась в каталоге system32.
Я установил с помощью install.bat; запустил его как администратор; который загрузил и установил последний файл RDPWrap.ini.
RDPConfig показывает:
Состояние оболочки: Состояние установленной
службы : Состояние работающего
прослушивателя: Прослушивание, НО [не поддерживается>
Интересно, что доступ к удаленному рабочему столу по-прежнему работает, но он работает так же, как и исходный удаленный рабочий стол, а это означает, что входящий пользователь получает предупреждение о том, что локальный пользователь должен отключиться, а локального пользователя спросят, хотят ли они отключиться или нет; по-прежнему разрешен только один пользователь.
Я запустил update, bat, но считаю, что мне нужен обновленный .INI-файл для моей версии termsrv.dll?
Посоветуйте, пожалуйста, или есть инструкции по модификации существующего RDPWrap.ini для моей версии termsrv.dll?
СПАСИБО.
Я считаю, что эта версия .INI будет работать. Пожалуйста, замените ваш текущий ini на эту версию
Hello!
With this file, the Remote Desktop Service will not start
sk-lau commented Oct 15, 2020
Я пытаюсь использовать RDPWrapper, чтобы одновременно разрешить как локальному пользователю, так и удаленному пользователю работать на одном компьютере с Windows 10 Pro одновременно. Версия Windows 10 в настоящее время — 1909 18363.1110. Исходная версия termsrv.dll находилась в каталоге system32.
Я установил с помощью install.bat; запустил его как администратор; который загрузил и установил последний файл RDPWrap.ini.
RDPConfig показывает:
Состояние оболочки: Состояние установленной
службы : Состояние работающего
прослушивателя: Прослушивание, НО [не поддерживается>
Интересно, что доступ к удаленному рабочему столу по-прежнему работает, но он работает так же, как и исходный удаленный рабочий стол, а это означает, что входящий пользователь получает предупреждение о том, что локальный пользователь должен отключиться, а локального пользователя спросят, хотят ли они отключиться или нет; по-прежнему разрешен только один пользователь.
Я запустил update, bat, но считаю, что мне нужен обновленный .INI-файл для моей версии termsrv.dll?
Посоветуйте, пожалуйста, или есть инструкции по модификации существующего RDPWrap.ini для моей версии termsrv.dll?
СПАСИБО.
Я считаю, что эта версия .INI будет работать. Пожалуйста, замените ваш текущий ini на эту версию
https://www87.zippyshare.com/v/Aw6BRt2I/file.html
Hello!
With this file, the Remote Desktop Service will not start
I tried this INI with Windows 10 version 2002 Home and Pro version and it works
Termsrv dll windows 10 1909 patch
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 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:
39 81 3C 06 00 00 0F 84 D9 51 01 00
B8 00 01 00 00 89 81 38 06 00 00 90
The patched version can be download from here. The original, v10.0.19041.84 file can be found here.
Older Windows 10 versions
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:
39 81 3C 06 00 00 0F 84 5D 61 01 00
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 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:
39 81 3C 06 00 00 0F 84 5D 61 01 00
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 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:
39 81 3C 06 00 00 0F 84 3B 2B 01 00
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:
39 81 3C 06 00 00 0F 84 7F 2C 01 00
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:
8B 99 3C 06 00 00 8B B9 38 06 00 00
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:
39 81 3C 06 00 00 0F 84 B1 7D 02 00
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:
39 81 3C 06 00 00 0F 84 53 71 02 00
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)
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.