Как удалить termsrv dll
termsrv.zip
Work termsrv.dll 10.0.19041.964 (Windows 10 build 19042.985)
Отредактированный termsrv.dll в HEX редакторе, заменить по пути c:\Windows\System32\termsrv.dll
Edited termsrv.dll in HEX editor, replace along the way c:\Windows\System32\termsrv.dll
The text was updated successfully, but these errors were encountered:
wgm096350 commented May 14, 2021
After replace the termsrv.dll, multiple users are allowed. THX
wgm096350 commented May 14, 2021
termsrv.zip
Work termsrv.dll 10.0.19041.964 (Windows 10 build 19042.985)
Отредактированный termsrv.dll в HEX редакторе, заменить по пути c:\Windows\System32\termsrv.dll
Edited termsrv.dll in HEX editor, replace along the way c:\Windows\System32\termsrv.dll
Dear creativ45, Is there any manuals on how to modify the termsrv.dll? Maybe, I could modify the dll myself on a differenct version of Windows 10.
TeozMac commented May 14, 2021
Hello,
I try to copy the / term.. / file , and I got the copy permission denied, even if I run Explorer with Admin rights.
How should I do ?
THX
creativ45 commented May 14, 2021
Hello,
I try to copy the / term.. / file , and I got the copy permission denied, even if I run Explorer with Admin rights.How should I do ?
THX
Нужно дать разрешение на редактирование файла.
creativ45 commented May 14, 2021
termsrv.zip
Work termsrv.dll 10.0.19041.964 (Windows 10 build 19042.985)
Отредактированный termsrv.dll в HEX редакторе, заменить по пути c:\Windows\System32\termsrv.dll
Edited termsrv.dll in HEX editor, replace along the way c:\Windows\System32\termsrv.dll
Dear creativ45, Is there any manuals on how to modify the termsrv.dll? Maybe, I could modify the dll myself on a differenct version of Windows 10.
Ищем строку начинающуюся с 39 81 3C 06 00 00
Затем это
Меняем на Это
Все готово! можно заменять.
wgm096350 commented May 14, 2021
Hello,
I try to copy the / term.. / file , and I got the copy permission denied, even if I run Explorer with Admin rights.How should I do ?
THX
To replace the dll file, you have to terminate the "Remote Desktop Services", then use the following command for replacing:
takeown.exe /f termsrv.dll icacls.exe termsrv.dll /grant administrators:F copy "C:\Users\hp1\Desktop\termsrv.dll" "C:\Windows\System32\"
wgm096350 commented May 14, 2021
termsrv.zip
Work termsrv.dll 10.0.19041.964 (Windows 10 build 19042.985)
Отредактированный termsrv.dll в HEX редакторе, заменить по пути c:\Windows\System32\termsrv.dll
Edited termsrv.dll in HEX editor, replace along the way c:\Windows\System32\termsrv.dll
Dear creativ45, Is there any manuals on how to modify the termsrv.dll? Maybe, I could modify the dll myself on a differenct version of Windows 10.
Ищем строку начинающуюся с 39 81 3C 06 00 00
Затем это
Меняем на Это
Все готово! можно заменять.
Is the string "39 81 3C 06 00 00" fixed? In future Windows updates, do I also search for "39 81 3C 06 00 00" and replace it with "B8 00 01 00 00 89 81 38 06 00 00 90"?
creativ45 commented May 14, 2021
termsrv.zip
Work termsrv.dll 10.0.19041.964 (Windows 10 build 19042.985)
Отредактированный termsrv.dll в HEX редакторе, заменить по пути c:\Windows\System32\termsrv.dll
Edited termsrv.dll in HEX editor, replace along the way c:\Windows\System32\termsrv.dll
Dear creativ45, Is there any manuals on how to modify the termsrv.dll? Maybe, I could modify the dll myself on a differenct version of Windows 10.
Ищем строку начинающуюся с 39 81 3C 06 00 00
Затем это
Меняем на Это
Все готово! можно заменять.
Is the string "39 81 3C 06 00 00" fixed? In future Windows updates, do I also search for "39 81 3C 06 00 00" and replace it with "B8 00 01 00 00 89 81 38 06 00 00 90"?
Подлинный файл является одним из компонентов программного обеспечения Microsoft Windows Operating System, разработанного Microsoft Corporation .
Termsrv.dll - это файл DLL в Windows. DLL - это аббревиатура от Dynamic Link Library (динамически подключаемая библиотека). DLL файлы необходимы программам или расширениям веб-браузера, потому что они содержат программный код, данные и ресурсы. Бесплатный форум с информацией о файлах может помочь вам разобраться является ли termsrv.dll вирусом, трояном, программой-шпионом, рекламой, которую вы можете удалить, или файл принадлежит системе Windows или приложению, которому можно доверять.
- Используйте программу Настройщик Windows, чтобы найти причину проблем, в том числе и медленной работы компьютера.
- Обновите программу termsrv.dll. Обновление можно найти на сайте производителя (ссылка приведена ниже).
- В следующих пунктах предоставлено описание работы termsrv.dll.
Информация о файле termsrv.dll
Описание: termsrv.dll не является необходимым для Windows. Termsrv.dll находится в папке C:\Windows\System32. Известны следующие размеры файла для Windows 10/8/7/XP 295,936 байт (54% всех случаев), 295,424 байт или 296,960 байт.
Сервис может быть запущен и остановлен из Панели Инструментов - Сервисы или другими программами. У процесса нет видимого окна. Это не системный файл Windows. Процесс дезактивирован. Поэтому технический рейтинг надежности 8% опасности.
Важно: Некоторые вирусы маскируют себя как termsrv.dll, например VirTool:Win32/Ursnif.B (определяется антивирусом Microsoft), и TSPY_URSNIF.XXXS (определяется антивирусом TrendMicro). Таким образом, вы должны проверить файл termsrv.dll на вашем ПК, чтобы убедиться, что это угроза. Мы рекомендуем Security Task Manager для проверки безопасности вашего компьютера.
Комментарий пользователя
Пока нет комментариев пользователей. Почему бы не быть первым, кто добавить небольшой комментарий и одновременно поможет другим пользователям?
Лучшие практики для исправления проблем с termsrv
Аккуратный и опрятный компьютер - это главное требование для избежания проблем с termsrv. Для этого требуется регулярная проверка компьютера на вирусы, очистка жесткого диска, используя cleanmgr и sfc /scannow, удаление программ, которые больше не нужны, проверка программ, которые запускаются при старте Windows (используя msconfig) и активация Автоматическое обновление Windows. Всегда помните о создании периодических бэкапов, или в крайнем случае о создании точек восстановления.
Если у вас актуальные проблемы, попробуйте вспомнить, что вы делали в последнее время, или последнюю программу, которую вы устанавливали перед тем, как появилась впервые проблема. Используйте команду resmon, чтобы определить процесс, который вызывает проблемы. Даже если у вас серьезные проблемы с компьютером, прежде чем переустанавливать Windows, лучше попробуйте восстановить целостность установки ОС или для Windows 8 и более поздних версий Windows выполнить команду DISM.exe /Online /Cleanup-image /Restorehealth. Это позволит восстановить операционную систему без потери данных.
Следующие программы могут вам помочь для анализа процесса termsrv.dll на вашем компьютере: Security Task Manager отображает все запущенные задания Windows, включая встроенные скрытые процессы, такие как мониторинг клавиатуры и браузера или записей автозагрузки. Уникальная оценка рисков безопасности указывает на вероятность процесса быть потенциально опасным - шпионской программой, вирусом или трояном. Malwarebytes Anti-Malware определяет и удаляет бездействующие программы-шпионы, рекламное ПО, трояны, кейлоггеры, вредоносные программы и трекеры с вашего жесткого диска.
termsrv сканер
Security Task Manager показывает все запущенные сервисы Windows, включая внедренные скрытые приложения (например, мониторинг клавиатуры или браузера, авто вход). Уникальный рейтинг надежности указывает на вероятность того, что процесс потенциально может быть вредоносной программой-шпионом, кейлоггером или трояном.
Бесплатный aнтивирус находит и удаляет неактивные программы-шпионы, рекламу, трояны, кейлоггеры, вредоносные и следящие программы с вашего жесткого диска. Идеальное дополнение к Security Task Manager.
Reimage бесплатное сканирование, очистка, восстановление и оптимизация вашей системы.
04.01.2019
itpro
Windows 8
комментария 33
В ОС Windows 8 / 8.1, как и предыдущих версиях клиентских ОС Microsoft, поддерживается только одно одновременное входящее RDP-подключение. Это означает что к компьютеру Windows 8 через удаленный рабочий стол может одновременно подключиться только один пользователь (одна сессия), локальная или удаленная. В большинстве случаев этого достаточно, но иногда хотелось бы иметь возможность одновременной работы сразу нескольких пользователей в собственных сессиях. Хорошим примером может быть компьютер в роли Media Center, когда в консольной сессии воспроизводится видео, и одновременно необходимо удаленно поработать с системой без прерывания видео на TV.
Совет. Удаленный RDP доступ не работает в домашних (Home) редакциях Windows, требуется редакции Pro или Enterprise.
Совет. Предварительно в свойствах компьютере на вкладке Удаленный доступ (Remote) нужно включить RDP доступ и добавить учетные записи нужных пользователей в локальную группу Remote Desktop Users. Локальным администраторам удаленный RDP доступ разрешен по умолчанию. После включения RDP доступа в свойствах системы, Windows Firewall автоматически включает правила, разрешающий входящий трафик на порт 3389. Иногда наличие этого правила следует проверить вручную.
Так, например, в серверной версии Windows поддерживаются два одновременных административных подключения с индивидуальными сессиями (в случае организации на базе Windows Server терминального сервера RDS , это число может быть еще большим).
Тем не менее, на просторах интернета можно найти специальный патч, позволяющий обойти это ограничение. Благодаря этому патчу несколько пользователей смогут одновременно подключиться по RDP к компьютеру с Windows 8 / Windows 8.1.
Важно. Использование данного патча, по сути, является нарушением лицензионного соглашения и условий использования продуктов Microsoft. Поэтому все описанные ниже операции вы выполняете на свой риск.
Итак, патч предполагает собой замену оригинального системного файла %SystemRoot%\System32\termsrv.dll (библиотека, используемая службой Remote Desktop Services).
Ссылки на модифицированную версию библиотеку termsrv.dll:
Перед заменой системной библиотеки создадим резервную копию файла termsrv.dll командой:
Теперь, если что-то пойдет не так, всегда можно вернуться к начальной конфигурации, заменив текущий файл оригинальным termsrv.dll_old.
Скачайте архив с библиотекой для своей версии Windows.
В Windows 8 предварительно нужно изменить значение следующих ключей в ветке реестра HKLM\System\CurrentControlSet\Control\Terminal Server\:
- fDenyTSConnections (DWORD) —0 (ключ позволяет удаленно включить RDP на компьютере)
- fSingleSessionPerUser (DWORD) — 0
Эту же операцию можно выполнить из командной строки:
Затем переходим в каталог C:\Windows\System32, находим файл termsrv.dll и открываем его свойства.
По-умолчанию, владельцем этого файла является TrustedInstaller и даже у администратора нет прав на его замену.
Перейдем на вкладку Security и нажмем кнопку Edit. В списке доступа найдите группу локальных администраторов и предоставьте ей полные права на файл (Full Control) и сохраните изменения.
Следующий шаг перед заменой файла библиотеки, открыть консоль управления службами (services.msc) и остановить службу Remote Desktop Services.
Скопируем файл termsrv.dll из скачанного архива для своей версии Windows в каталог %SystemRoot%\System32\ (с заменой).
Примечание. Архив для Windows 8.1 содержит два файла 32_termsrv.dll и 64_termsrv.dll, для 32-х и 64-х битной версии Windows 8.1 соответственно. Распакуйте архив и переименуйте файл для своей версии системы в termsrv.dll
После замены файла запустите службу Remote Desktop Services и попытайтесь создать две RDP сессии с пропатченной машиной под разными учетными записями. Если вы все сделали правильно, должны открыться две независимые сессии удаленного рабочего стола.
Важно! Использование пропатченной версии termsrv.dll имеет ряд недостатков. Главный из которых – при установке очередного обновления Windows 8.1 / 8 этот файл может быть заменен. Соответственно, придется самостоятельно с помощью HEX редактора патчить новый файл, либо искать в интернете готовый модифицированный файл для вашего билда Windows.
В качестве решения, устойчивого к замене файла termsrv.dll при установке обновлений Windows, следует использовать открытое Open Source решение RDP Wrapper Library (доступен на GitHub), которое не правит файл termsrv.dll, и является прослойкой между службой Terminal Services и SCM. Подробнее об использовании RDP Wrapper Library можно почитать тут.
09.06.2020
itpro
Windows 10, Windows 7, Windows Server 2016
комментариев 26
Встроенный Remote Desktop Connection (RDP) клиент Windows (mstsc.exe) при каждом успешном соединении с удаленным компьютером сохраняет в системе его имя (или ip адрес) и имя пользователя, под которым был выполнен вход. При следующем запуске клиент RDP предлагает пользователю выбрать одно из подключений, которыми он уже пользовался ранее. Пользователь может выбрать из списка имя удаленного RDP/RDS сервера, и клиент автоматически подставляет используемое ранее для входа имя пользователя.
Это удобно с точки зрения конечного пользователя, но не безопасно. Особенно, когда вы подключаетесь к своему RDP серверу с общедоступного или недоверенного компьютера.
Информация о всех RDP сессиях хранится индивидуально для каждого пользователя компьютера в реестре, т.е. обычный пользователь (не администратор) не сможет просмотреть историю удаленных подключений другого пользователя.
В этой статье мы покажем, где в Windows хранится история подключений к удаленным рабочим столам и сохраненные пароли, и каким образом можно эту историю очистить.
Удаление журнала RDP подключений из реестра системы
Информация о всех RDP подключениях хранится в реестре каждого пользователя. Удалить компьютер(ы) из списка истории RDP подключений штатными средствами Windows не получится. Придется вручную удалять параметры из реестра системы.
- Откройте редактор реестра regedit.exe и перейдите в ветку HKEY_CURRENT_USER\Software\Microsoft\TerminalServerClient;
- Внутри этого раздела нас интересуют две ветки: Default (хранит историю о 10 последних RDP подключениях) и Servers (содержит список всех RDP серверов и имен пользователей, используемых ранее для входа);
- Разверните ветку реестра HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default, в которой содержится список 10 адресов или имен удаленных компьютеров, которые использовались последними (MRU – Most Recently Used). Имя (IP адрес) удаленного сервера хранится в значении ключа MRU*. Чтобы очистить историю последних RDP-соединений, выделите все ключи с именами MRU0-MRU9, щелкните правой клавишей и выберите пункт Delete;
- Теперь разверните ветку HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers. В ней содержится список всех RDP подключений, которые использовались ранее под этим пользователем. Разверните ветку с именем (IP адресом) любого хоста. Обратите внимание на значение параметра UsernameHint (подсказка имени пользователя). В нем указано имя пользователя, использующееся для подключения к RDP/RDS хосту. Именно это имя пользователя будет подставлено в окно клиента mstsc.exe, когда вы в следующий раз попытаетесь подключится к этому хосту. Кроме того в переменной CertHash находится отпечаток RDP сертификата сервера (см. статью о настройке доверенных TLS/SSL сертфикатов для RDP);
- Чтобы очистить историю всех RDP-подключений и сохраненных имен пользователей нужно очистить содержимое ветки реестра Servers. Т.к. выделить все вложенные ветки не получится, проще всего удалить ветку Servers целиком, а затем пересоздать ее вручную;
Примечание. Описанная методика очистки истории подключений Remote Desctop Connection применима для всех версий десктопных версий (от Windows XP и до Windows 10) и для серверных платформ Windows Server.
Скрипт очистки истории (логов) RDP подключений
Выше мы показали, как вручную очистить историю RDP подключений в Windows. Однако делать это вручную (особенно на нескольких компьютерах) – занятие достаточно долгое. Поэтому мы предлагаем небольшой скрипт (bat-файл), который позволяет автоматически очистить историю подключений к удаленным рабочим столам.
Для автоматизации очистки истории RDP, данный скрипт можно поместить в автозагрузку, либо распространить его на компьютеры пользователей с помощью логоф скрипта групповой политики.
@echo off
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default" /va /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers" /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Servers"
attrib -s -h %userprofile%\documents\Default.rdp
del %userprofile%\documents\Default.rdp
del /f /s /q /a %AppData%\Microsoft\Windows\Recent\AutomaticDestinations
Последовательно разберем все команды скрипта:
- Отключен вывод информации в консоль;
- Удаление всех параметров в ветке HKCU\Software\Microsoft\Terminal Server Client\Default (очистка списка последних 10 RDP соединений);
- Удаление ветки HKCU\Software\Microsoft\Terminal Server Client\Servers вместе с вложенными элементами (очистка списка всех RDP подключений и сохраненных имен пользователей);
- Пересоздаем ветку реестра Servers;
- Убираем атрибуты Скрытый и Системный у файла default.rdp в каталоге профиля текущего пользователя;
- Удаление файла default.rdp;
- Очистка Recent Items.
Вы можете скачать готовый скрипт тут: CleanRDPHistory.bat
Кроме того, можно очистить историю подключений RDP с помощью следующего PowerShell скрипта:
Get-ChildItem "HKCU:\Software\Microsoft\Terminal Server Client" -Recurse | Remove-ItemProperty -Name UsernameHint -Ea 0
Remove-Item -Path 'HKCU:\Software\Microsoft\Terminal Server Client\servers' -Recurse 2>&1 | Out-Null
Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Terminal Server Client\Default' 'MR*' 2>&1 | Out-Null
$docsfoldes = [environment]::getfolderpath("mydocuments") + '\Default.rdp'
remove-item $docsfoldes -Force 2>&1 | Out-Null
Примечание. Кстати, функция очистка логов RDC встроена во многие «чистильщики» системы и реестра, такие как, CCCleaner и т.д.
Как запретить Windows сохранять историю RDP подключений?
Если вы хотите, чтобы Windows не сохраняла историю RDP подключений, нужно запретить запись в ветку реестра HKCU\Software\Microsoft\Terminal Server Client для всех аккаунтов, в том числе System. Сначала отключите наследование разрешений на указанную ветку (Permissions -> Advanced -> Disable inheritance). Затем измените ACL на ветку, выставив Deny галочку для пользователей (но, вы должны понимать, что это уже unsupported configuration…).
В результате mstsc просто не сможет записать информацию об RDP подключении в реестр.
Очистка Bitmap кэша RDP
В клиенте Remote Desktop Connection есть функционал кэширования изображений (persistent bitmap caching). Клиент RDP при подключении сохраняет редко изменяющиеся куски удаленого экрана в виде кэша растровых изображений. Благодаря этому клиент mstsc.exe загружает из локального кэша части экрана, которые не изменились с момента последней прорисовки. Этот механизм кэширования RDP уменьшает количество данных, передаваемых по сети.
RDP кэш представляет собой два типа файлов в каталоге %LOCALAPPDATA%\Microsoft\Terminal Server Client\Cache :
В этих файлах хранятся сырые растровые изображения RDP экрана в виде плиток 64×64 пикселя. С помощью простых PowerShell или Python скриптов (легко ищутся по запросу RDP Cached Bitmap Extractor) можно получить PNG файлы с кусками экрана рабочего стола и использовать их для получения конфиденциальной информации. Размер плиток мал, но достаточен для получения полезной информации для изучающего RDP кэш.
Вы можете запретить RDP клиенту сохранять изображение экрана в кэш, отключив опцию Persistent bitmap caching (Постоянное кэширование точечных рисунков) на вкладке Advanced.
В этом случае нужно очистить каталог RDP кэша или отключить опцию Bitmap Caching.
Удаление сохраненных RDP паролей
Если при установке удалённого RDP подключения, перед вводом пароля пользователь поставил галку Remember Me / Запомнить меня, то имя пользователя и пароль будут сохранены в системном менеджере паролей системы (Credential Manager). При следующем подключении к этому же компьютеру, RDP клиент автоматически использует сохранённый ранее пароль для авторизации на удаленном компьютере.
Вы можете удалить сохраненный пароль прямо из окна клиента mstsc.exe. Выберите в списке подключений тоже самое подключение, и нажмите на кнопку Delete. Далее подтвердите удаление сохраненного пароля.
Либо можно удалить сохраненный пароль непосредственно из менеджера паролей Windows. Перейдите в следующий раздел Панели Управления: Control Panel\User Accounts\Credential Manager. Выберите Manage Windows Credentials и в списке сохранённых паролей найдите имя компьютера (в формате TERMSRV/192.168.1.100 ). Разверните найденный элемент и нажмите на кнопку Remove.
В доменной среде вы можете запретить сохранение паролей для RDP подключений можно с помощью политики Network access: Do not allow storage of passwords and credentials for network authentication (см. статью).
Очистка RDP логов на сервере
Логи подключения так же ведутся на стороне RDP/RDS сервера. Вы можете найти информацию об RDP подключениях в логах Event Viewer:
I had this working for a long time, but when I ran an antivirus for another issue, it killed RDP. Now, I cannot get it working again, nor can i uninstall it. I've downloaded the files and tried installing, but it says RDP is already installed. I can see it listed in Programs and Features, but I get an error message when i try to uninstall. Change and Repair seem to have no effect either. If I try to run the uninstall.bat file that fails also. I'm at a loss on how to simply remove RDP Wrapper altogether, so i can start fresh.
The text was updated successfully, but these errors were encountered:
chrisbaber commented May 6, 2020
It was a stand alone virus program that deleted files (eset online), even though I said to not quarantine them. I don't have any stand alone anti-virus programs installed normally, I only use that one for a one-off check due to some weirdness I was experiencing. I just use the built-in defender in Windows 10. I've never previously specifically allowed RDP in that program, but came across an autoupdate batch file for RDP which suggested it, so I actually already did allow the exception, but I'm still having the issues. Below is the exception as I have it setup, and also the files in program files/RDP Wrapper file, which is where I believe it's suggested to be installed.
I did download the installer.msi from github, which I don't think I've ever used before, but that didn't seem to actually install/do anything. It is also in the wrapper folder.
not sure what else to try next.
The .msi just copies the files to Program Files and runs the install program, so you can just do that. In an administrator command prompt, run RDPWInst.exe . It should fix everything up for you, or at least tell you why it isn't working.
On Wed, 6 May 2020 at 10:44, chrisbaber ***@***.***> wrote: It was a stand alone virus program that deleted files (eset online), even though I said to not quarantine them. I don't have any stand alone anti-virus programs installed normally, I only use that one for a one-off check due to some weirdness I was experiencing. I just use the built-in defender in Windows 10. I've never previously specifically allowed RDP in that program, but came across an autoupdate batch file for RDP which suggested it, so I actually already did allow the exception, but I'm still having the issues. Below is the exception as I have it setup, and also the files in program files/RDP Wrapper file, which is where I believe it's suggested to be installed. I did download the installer.msi from github, which I don't think I've ever used before, but that didn't seem to actually install/do anything. It is also in the wrapper folder. not sure what else to try next. [image: exclusions] [image: wrapper files] — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or unsubscribe .
chrisbaber commented May 6, 2020
same as before, failed to set up TermService. Unknown error.
chrisbaber commented May 6, 2020
I checked services and tried starting Remote Desktop Services and got this error.
So it seems to be a windows issue, not necessarily a RDP issue. Not sure where to turn for help resolving this.
Next thing to try is to use that to do an uninstall. RDPWInst -u . My best guess as to why TermService isn't starting is that it is trying to call a now non-existant RDP Wrapper dll from somewhere . I also don't see an rdpwrap.ini file there - the ones that rdpinst -r can find are rather out of date. There's a newer one in this github repo's pull request queue that should work. (that link on this site that says, "Pull Requests".)
On Wed, 6 May 2020 at 11:28, chrisbaber ***@***.***> wrote: same as before, failed to set up TermService. Unknown error. [image: error] — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or unsubscribe .
chrisbaber commented May 6, 2020
So, the weirdness continues. running RDPWInst -u from an admin cmd prompt give the same error, Failed to setup TermService. Unknown error.
I thought, before posting here, that I would just rename the RDP Wrapper folder, and start over. So I created a new RDP Wrapper folder and tried to install, and uninstall before posting here. I currently have a RDP Wrapper folder, and an OLD RDP Wrapper folder. The .ini file(s) are (were) in the OLD RDP Wrapper folder. I copied them to the new folder. Not sure why they didn't get created when I tried to start over, but I suppose it's all related.
I've tried to RDPWInst -u from both locations, and have had the same error in each.
I moved on to working on cleaning up other stuff, and saw a Default.rdp file as I was moving around, and figured I'd just d-click and see what happened.
It connected to my remote host, and is working just fine! In fact, for the first time in years, it actually shadowed correctly, and didn't interrupt the session on the server, which continued to play a video without any issues at all, while I was able to work away in the remote session for an hour with no problems at all.
Both the RDP Wrapper and OLD RDP Wrapper folders were checked, and both continue to give the same Stopped and Not Listening red 'errors' when I checked RDPConf.exe, but it's actually working fine, great even.
I'd still like to resolve this issue, and know that I only have the one working instance, which can be installed and uninstalled correctly, but I honestly don't know what else to check, nor am I certain it's best to continue messing with what seems to be actually working better than it has in a long time, even if it says it's not working.
chrisbaber commented May 6, 2020
I just tried to uninstall again, and thought this might point to something useful
Not sure if c:\windows\Installer\bc009.msi is the right place to be trying to uninstall from, nor how that came to be the path, but it does correctly refer to RDP Wrapper, so maybe it's right?
robbak commented May 6, 2020
You are probably using the feature that is the reason why all the rdp stuff is still in windows for us to mess with - Remote assistance. Even on an unmodified Windows Home, you can still create an invitation file that allows someone to Shadow your session, for remote troubleshooting purposes. It doesn't allow someone to create a second session, or to log in remotely if you aren't logging in.
Oh, that dialog is completely normal, when using the .msi file to install or uninstall. But I haven't used the .msi file - copying files out of the .zip is much easier.
I'm going to bow out here. I don't have any other suggestions to give you. Perhaps if you tried starting/restarting the remote access service from the services.msc, or from the command line ( net stop termservices and net start termservices ) you might get more information.
chrisbaber commented May 6, 2020
First, I really appreciate your help with this; thank you!!
To be clear, I'm trying to use my laptop (which is giving the errors) to connect to the server, which is actually working. My understanding of remote assistance is that it would allow my laptop to allow someone else to connect to the laptop, which may or may not work; I haven't tested it.
The server is basically unchanged for a long time, apart from perhaps some windows updates.
I tried running net stop termservices and got this
I checked services and see that Remote Desktop Services is set to Automatic, but not started. Trying to start it gives this.
I'm researching that now, but it seems like a Windows issue. Solutions seem convoluted so far
robbak commented May 6, 2020
I don't quite understand what you are doing. Ordinary unmodified Windows Home will happily act as a RDP client, connecting to a server. We use RDPWrapper to allow Windows Home and Professional to act as RDP servers, the computer you connect to, bypassing the limitations Microsoft puts on these.
You would only need RDPWrapper on your laptop computer if you wanted to connect to your laptop from another computer.
AS to why terminal services isn't working on your notebook computer, check whether you have a valid copy of termsrv.dll in Windows/System32. Many older how-tos recommend messing around with this file, copying in older versions of it, so this file may have been deleted. You also could use sfc to sort out any problems with missing or corrupted system files.
chrisbaber commented May 6, 2020
Okay. I didn't realize I could connect from the laptop without RDP Wrapper. i thought I needed it on all machines.
I do have termserv.dll in Windows/System32
File version 10.0.18362.657
Size 1.01 MB
I don't recall ever messing with that file, so I assume it's the correct version.
I'm happy to remove RDP Wrapper from the laptop, as it's one less thing to manage moving forward. But, I'm unable to do so. I cannot find any way to simply remove it now.
Every attempt at uninstalling fails with "Failed to set up TermService. Unknown error."
I really do appreciate all your help, and I'm sorry my system is being intolerable.
hdatma commented Jul 5, 2020 •
I see exactly the same problem with TermService on the latest version of W10Pro.
This may be useful:
heychief3000 commented Apr 9, 2021 •
I had this working for about three days and Windows Anti-Virus decided to delete some important files.
But I believe I have found a solution!
Why can i not just re-install the bloody thing? TermService can't start and gives me the same error message as listed above.
But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
So what we want to do is make the variable Installed evaluate to False. This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Turns out this file rdpwrap.dll is deleted! Ouch! Using a Search program like Everything, I cannot find it anywhere on my system.
So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to:
C:\Windows\System32\termsrv.dll
(It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use:
Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me. Just need to backup rdpwrap.dll, and find out why Windows deleted it.
(I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!
iwiiiwi commented Oct 14, 2021
I had this working for about three days and Windows Anti-Virus decided to delete some important files. But I believe I have found a solution!
Why can i not just re-install the bloody thing? TermService can't start and gives me the same error message as listed above. But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
So what we want to do is make the variable Installed evaluate to False. This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Turns out this file rdpwrap.dll is deleted! Ouch! Using a Search program like Everything, I cannot find it anywhere on my system. So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to: C:\Windows\System32\termsrv.dll (It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use: Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me. Just need to backup rdpwrap.dll, and find out why Windows deleted it. (I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!
My rdpwrap.dll was also deleted by Anti-Virus. It worked. Thank you much!
Something I want to added: the type of Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters ServiceDll is REG_EXPAND_SZ.
If someone deleted it by mistake like me, you can receate it with this type.
madkoding commented Dec 4, 2021
I had this working for about three days and Windows Anti-Virus decided to delete some important files. But I believe I have found a solution!
Why can i not just re-install the bloody thing? TermService can't start and gives me the same error message as listed above. But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
So what we want to do is make the variable Installed evaluate to False. This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Turns out this file rdpwrap.dll is deleted! Ouch! Using a Search program like Everything, I cannot find it anywhere on my system. So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to: C:\Windows\System32\termsrv.dll (It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use: Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me. Just need to backup rdpwrap.dll, and find out why Windows deleted it. (I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!
Читайте также: