Содержание
- Startservice error code 1056
- Comments
- yo1995 commented Sep 15, 2016
- This comment has been minimized.
- yo1995 commented Sep 15, 2016
- RDP Wrapper Library
- Модификация файла termsrv.dll
- Starting service error 1056
- Вопрос
- Ответы
- Принудительное завершение зависшей службы Windows
- Принудительное завершение зависшей службы Windows : 2 комментария
- Starting service error 1056
- Answered by:
- Question
- Answers
- All replies
Startservice error code 1056
Copy link Quote reply
Apparently, the problem is about a service called «Network Localtion Awareness».
The strange thing is that when I checked my services.msc list, the referred services is enabled.
Another strange thing is that when I downloaded the 1.61 version and installed it with -o parameter, the conf.exe still yields a 1.5.0.0 version as the picture below. Even after updating it remains the same.
Please give me some instruction about this issue. Thanks !
My dll version is 6.1.7601.18637.
Copy link Quote reply
After uninstall and reinstall, the error in the log disappear but the connection refused problem remains.
Если что-то пошло не так с доступом по RDP через RDPWrap (например, антивирус удалил файлы ПО), и служба «Службы удаленных рабочих столов» не запускается с ошибкой «указанный файл не найден», то нужно в ветку реестра HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTermServiceParameters добавить параметр ServiceDll — REG_EXPAND_SZ — %SystemRoot%System32 ermsrv.dll
Это вернёт работоспособность встроенному RDP.
И теперь можно переустановить RDPWrap
Спасибо за статейку! Выручил!
Владимир Вязниковцев 4 дн
Полтора месяца я искал решение этой проблемы и вот оно счастье! Благодарю о великий человек! Думал уже систему придётся грохать 🙁
Как и в прошлых клиентских версиях операционных систем Майкрософт, пользователи Pro и Enterprise Windows 10 (но не Home) редакций могут удаленно подключаться к своим компьютерам через службу удаленных рабочих столов (RDP). Однако есть ограничение на количество одновременных RDP сессии – возможна одновременная работа только одного удаленного пользователя. При попытке открыть вторую RDP сессию, сеанс первого пользователя предлагается завершить.
В английской версии предупреждение такое:
Дело в том, что в настольных редакциях операционных систем Microsoft есть следующие основные ограничения на использование службы удаленного рабочего стола:
- Поддержка RDP доступа имеется только в старших редакциях Windows (Professional и выше), а в домашних редакциях (Home) этот функционал отключен.
- Возможно только одно удаленного RDP подключения. При попытке открыть вторую RDP-сессию, пользователю предлагается завершить существующее подключение.
- В том случае, есть пользователь работает за консолью компьютера (локально), при удаленном подключении RDP, его сеанс будет отключен (заблокирован). Правильно и обратное утверждение: удаленный RDP сеанс принудительно завершается, если пользователь авторизуется на консоле системы
По сути, ограничение на количество одновременных rdp подключений является не техническим, а скорее лицензионным, запрещающее создавать на базе рабочей станции терминальный RDP сервер для работы нескольких пользователей. Хотя с технической точки зрения любая редакция Windows при наличии достаточного количества памяти может поддерживать одновременную работу нескольких десятков удаленных пользователей (в среднем на одну сессию пользователя без учета запускаемых приложений требуется 150-200 Мб памяти). Т.е. максимальное количество одновременных сессий в теории ограничивается только ресурсами компьютера.
Мы рассмотрим два способа отключить ограничение на количество одновременных RDP подключений к Windows 10:
RDP Wrapper Library
Альтернативой модификации файла 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: https://github.com/binarymaster/rdpwrap/releases (последняя доступная версия RDP Wrapper Library v1.6.2 вышла относительно недавно – 28 декабря 2017 года). Судя по информации на странице разработчика, поддерживаются все версии Windows. Windows 10 поддержиывается вплость до версии Insider Preview build 10.0.17063.1000 от 13 декабря 2017 года.
Архив RDPWrap-v1.6.2.zip содержит несколько файлов:
- RDPWinst.exe —программа установки/удаления RDP Wrapper Library
- RDPConf.exe — утилита настройки RDP Wrapper
- RDPCheck.exe — Local RDP Checker — утилита проверки RDP
- install.bat, uninstall.bat, update.bat — пакетные файлы для установки, удаления и обновления RDP Wrapper
Чтобы установить утилиту, запускам файл install.bat с правами администратора.
После окончания установки запускаем RDPConfig.exe. И удостоверяемся, что в секции Diagnostics все элементы окрашены в зеленый цвет.
Из интересных особенностей новой версии RDP Wrapper:
- опция H >В том случае, если после обновления версии Windows, RDP Wrapper не работает, проверьте, что в секции Diagnostics присутствует надписьListener state: Not listening.
Попробуйте обновить ini файл скриптом update.bat, либо вручную и переустановить службу
rdpwinst.exe -u
rdpwinst.exe -i
Пытаемся открыть вторую RDP сессию. Все получилось! Теперь наша Windows 10 позволяет одновременно подключаться по RDP сразу двум удаленным пользователям.
Утилита должна работать на всех поддерживаемых на данный момент редакциях Windows : Windows Vista, Windows 7, Windows 8, Windows 8.1 и Windows 10. Таким образом из любой клиентской версии Windows можно сделать сервер терминалов.
Модификация файла termsrv.dll
Убрать ограничение на количество RDP подключений можно с помощью модификации файла termsrv.dll (файл библиотеки, используемый службой Remote Desktop Services). Файл находится в каталоге C:WindowsSystem32).
Перед модификацией файла termsrv.dll желательно создать его резервную копию (в случае необходимости можно будет вернуться к первоначальной версии файла):
copy c:WindowsSystem32 ermsrv.dll termsrv.dll_backup
Перед правкой файла termsrv.dll нужно стать его владельцем и предоставить группе администраторов полные права на него (все операции выполняются аналогично описанным в статье Убираем ограничение на количество RDP сессий в Windows 8). Затем остановите службу Remote Desktop service (TermService) из консоли services.msc или из командной строки:
Net stop TermService
Для редакции Windows 10 x64 RTM (версия файла termsrv.dll — 10.0.10240.16384): Откройте файл termsrv.dll с помощью любого HEX редактора (к примеру, 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.
Источник
Starting service error 1056
Вопрос
Before two people can work in my pc by Connecting RDP. But after upgrading to Windows 10 1809 am unable to do that. First user needs to sign out if second user wants to Work. What can i do to prevent this problem?
Ответы
hi,
can you enter winver in command prompt on problematical windows 10 and look the os version ? is it win10 pro or win10 enterprise or other version ?
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
Hi, am able to solve the problem. RDP Wrapper not working after latest Security update.
Am using Windows 10 Pro 1809 (OS Build 17763.107)
So by uninstalling December 19, 2018—KB4483235 (OS Build 17763.195) my RDP Wrapper working. Am now able to use multiple RDP Session.
Источник
Принудительное завершение зависшей службы Windows
Зависшая служба Windows не реагирует на команды запуска и остановки.
Управление службой через стандартную оснастку недоступно. Использование команды sc также не дает результата.
C:Windowssystem32>sc stop ZvitGrp1
[SC] ControlService: ошибка: 1061:
Служба в настоящее время не может принимать команды.
Для того, чтобы убить зависшую службу, необходимо получить ее ID и воспользоваться командой taskkill:
Имя_службы: ZvitGrp1
Тип : 10 WIN32_OWN_PROCESS
Состояние : 3 STOP_PENDING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
Код_выхода_Win32 : 0 (0x0)
Код_выхода_службы : 0 (0x0)
Контрольная_точка : 0x0
Ожидание : 0x0
ID_процесса : 56624
Флаги :
C:Windowssystem32>taskkill /PID 56624 /F
Успешно: Процесс, с идентификатором 56624, успешно завершен.
Все действия выполнять из командной строки, запущенной с правами администратора.
Принудительное завершение зависшей службы Windows : 2 комментария
Спасибо за инструкцию! Очень помогла!
Отлично, спасибо огромное! Были проблемы со звуком на windows 10. Описанная методика помогла, audiosrv не перезапускался и не работал, все время был в статусе «остановлен» при попытке через диспетчер служб перезапустить выдавалось «одна копия службы уже запущена».
Источник
Starting service error 1056
This forum is closed. Thank you for your contributions.
Answered by:
Question
Answers
- Marked as answer by Magon Liu Moderator Tuesday, October 11, 2011 10:03 AM
Sir, Please try these steps it will be Started :
- Click Start, Run and typeServices.msc
- Double-click theNetwork Connectionsentry
- Set itsStartup typeto Manual
- ClickStartto start the service
- Double-clickWindows Management Instrumentation
- Set its Startup type toAutomatic
- ClickStartto start the service.
MCP | MCTS | MCITP
OK, try from CMD
Start —> CMD «Run As Administrator» —> netsh firewall set opmode enable
MCP | MCTS | MCITP
Thanks for the help its most appreciated this is the report
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:UsersMichael>netsh firewall set opmode enable
The service has not been started.
C:UsersMichael>sc start DCOMLaunch
[SC] StartService FAILED 1056:
An instance of the service is already running.
C:UsersMichael>sc start RpcSs
[SC] StartService FAILED 1056:
An instance of the service is already running.
C:UsersMichael>sc start BFE
[SC] StartService FAILED 1058:
The service cannot be started, either because it is disabled or because it has n
o enabled devices associated with it.
C:UsersMichael>sc start mpsdrv
[SC] StartService FAILED 1056:
An instance of the service is already running.
C:UsersMichael>sc start MpsSvc
[SC] StartService FAILED 1068:
The dependency service or group failed to start.
- Windows Firewall is not the default firewall
- Windows Firewall does not start
- Windows Vista could not start Windows Firewall. Service-specific error 5 (0x5)
- Remote Assistance does not work
- You cannot access shared files and printers
MCP | MCTS | MCITP
I already tried «Microsoft fix it» it couldnt find the solution. This is the report
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:UsersMichael>sc config BFE start= auto
[SC] ChangeServiceConfig SUCCESS
C:UsersMichael>sc start BFE
SERVICE_NAME: BFE
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 2 START_PENDING
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x7d0
PID : 2040
FLAGS :
C:UsersMichael>sc start MpsSvc
SERVICE_NAME: MpsSvc
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 2 START_PENDING
(NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x7d0
PID : 2040
FLAGS :
- Marked as answer by Magon Liu Moderator Tuesday, October 11, 2011 10:03 AM
Really surprised me to see no-one start with a question, although MCP’s are all trained to do this..
The user has come back with an entirely different ‘solution’ to those launched into by our so-called professionals here, related directly to what was going on in his/her system at the time (in this case an update). Another example might be that some advice on stopping various other services to speed up XP ‘for free’ had just been followed — just fixed exactly this problem, with exactly the same error messages on another PC after a user had done this, simple by racking down the services menu and starting all the commonly running services.
Источник
Содержание
- 1 Comments
- 1.1 yo1995 commented Sep 15, 2016
- 1.2 This comment has been minimized.
- 1.3 yo1995 commented Sep 15, 2016
- 2 RDP Wrapper Library
- 3 Модификация файла termsrv.dll
Copy link Quote reply
Apparently, the problem is about a service called «Network Localtion Awareness».
The strange thing is that when I checked my services.msc list, the referred services is enabled.
Another strange thing is that when I downloaded the 1.61 version and installed it with -o parameter, the conf.exe still yields a 1.5.0.0 version as the picture below. Even after updating it remains the same.
Please give me some instruction about this issue. Thanks !
My dll version is 6.1.7601.18637.
Copy link Quote reply
After uninstall and reinstall, the error in the log disappear but the connection refused problem remains.
Если что-то пошло не так с доступом по RDP через RDPWrap (например, антивирус удалил файлы ПО), и служба «Службы удаленных рабочих столов» не запускается с ошибкой «указанный файл не найден», то нужно в ветку реестра HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTermServiceParameters добавить параметр ServiceDll — REG_EXPAND_SZ — %SystemRoot%System32 ermsrv.dll
Это вернёт работоспособность встроенному RDP.
И теперь можно переустановить RDPWrap
Спасибо за статейку! Выручил!
Владимир Вязниковцев 4 дн
Полтора месяца я искал решение этой проблемы и вот оно счастье! Благодарю о великий человек! Думал уже систему придётся грохать 🙁
Как и в прошлых клиентских версиях операционных систем Майкрософт, пользователи Pro и Enterprise Windows 10 (но не Home) редакций могут удаленно подключаться к своим компьютерам через службу удаленных рабочих столов (RDP). Однако есть ограничение на количество одновременных RDP сессии – возможна одновременная работа только одного удаленного пользователя. При попытке открыть вторую RDP сессию, сеанс первого пользователя предлагается завершить.
В английской версии предупреждение такое:
Дело в том, что в настольных редакциях операционных систем Microsoft есть следующие основные ограничения на использование службы удаленного рабочего стола:
- Поддержка RDP доступа имеется только в старших редакциях Windows (Professional и выше), а в домашних редакциях (Home) этот функционал отключен.
- Возможно только одно удаленного RDP подключения. При попытке открыть вторую RDP-сессию, пользователю предлагается завершить существующее подключение.
- В том случае, есть пользователь работает за консолью компьютера (локально), при удаленном подключении RDP, его сеанс будет отключен (заблокирован). Правильно и обратное утверждение: удаленный RDP сеанс принудительно завершается, если пользователь авторизуется на консоле системы
По сути, ограничение на количество одновременных rdp подключений является не техническим, а скорее лицензионным, запрещающее создавать на базе рабочей станции терминальный RDP сервер для работы нескольких пользователей. Хотя с технической точки зрения любая редакция Windows при наличии достаточного количества памяти может поддерживать одновременную работу нескольких десятков удаленных пользователей (в среднем на одну сессию пользователя без учета запускаемых приложений требуется 150-200 Мб памяти). Т.е. максимальное количество одновременных сессий в теории ограничивается только ресурсами компьютера.
Мы рассмотрим два способа отключить ограничение на количество одновременных RDP подключений к Windows 10:
RDP Wrapper Library
Альтернативой модификации файла 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: https://github.com/binarymaster/rdpwrap/releases (последняя доступная версия RDP Wrapper Library v1.6.2 вышла относительно недавно – 28 декабря 2017 года). Судя по информации на странице разработчика, поддерживаются все версии Windows. Windows 10 поддержиывается вплость до версии Insider Preview build 10.0.17063.1000 от 13 декабря 2017 года.
Архив RDPWrap-v1.6.2.zip содержит несколько файлов:
- RDPWinst.exe —программа установки/удаления RDP Wrapper Library
- RDPConf.exe — утилита настройки RDP Wrapper
- RDPCheck.exe — Local RDP Checker — утилита проверки RDP
- install.bat, uninstall.bat, update.bat — пакетные файлы для установки, удаления и обновления RDP Wrapper
Чтобы установить утилиту, запускам файл install.bat с правами администратора.
После окончания установки запускаем RDPConfig.exe. И удостоверяемся, что в секции Diagnostics все элементы окрашены в зеленый цвет.
Из интересных особенностей новой версии RDP Wrapper:
-
опция H >В том случае, если после обновления версии Windows, RDP Wrapper не работает, проверьте, что в секции Diagnostics присутствует надпись Listener state: Not listening.
Попробуйте обновить ini файл скриптом update.bat, либо вручную и переустановить службу
rdpwinst.exe -u
rdpwinst.exe -i
Пытаемся открыть вторую RDP сессию. Все получилось! Теперь наша Windows 10 позволяет одновременно подключаться по RDP сразу двум удаленным пользователям.
Утилита должна работать на всех поддерживаемых на данный момент редакциях Windows : Windows Vista, Windows 7, Windows 8, Windows 8.1 и Windows 10. Таким образом из любой клиентской версии Windows можно сделать сервер терминалов.
Модификация файла termsrv.dll
Убрать ограничение на количество RDP подключений можно с помощью модификации файла termsrv.dll (файл библиотеки, используемый службой Remote Desktop Services). Файл находится в каталоге C:WindowsSystem32).
Перед модификацией файла termsrv.dll желательно создать его резервную копию (в случае необходимости можно будет вернуться к первоначальной версии файла):
copy c:WindowsSystem32 ermsrv.dll termsrv.dll_backup
Перед правкой файла termsrv.dll нужно стать его владельцем и предоставить группе администраторов полные права на него (все операции выполняются аналогично описанным в статье Убираем ограничение на количество RDP сессий в Windows 8). Затем остановите службу Remote Desktop service (TermService) из консоли services.msc или из командной строки:
Net stop TermService
Для редакции Windows 10 x64 RTM (версия файла termsrv.dll — 10.0.10240.16384): Откройте файл termsrv.dll с помощью любого HEX редактора (к примеру, 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.
Posted by jpluimers on 2018/06/04
RDP Wrapper works as a layer between Service Control Manager and Terminal Services, so the original termsrv.dll file remains untouched. Also this method is very strong against Windows Update.
- Source: [WayBack] stascorp/rdpwrap: RDP Wrapper Library
- Via: [WayBack] RDP Wrapper – concurrent RDP sessions for home usage (up to 15 concurrent sessions) https://github.com/stascorp/rdpwrap/releases – Ilya S – Google+
- Releases: [WayBack] Releases · stascorp/rdpwrap
I’ve tested this on Windows 7 Home Premium and it works fine, see the log below. On Windows 10 Fall Creators Update and up, I had to get the rfxvmt.dll
files (in %windir%System32
and %windir%SysWOW64
) from a Windows Professional system, see Known Issues. You can download them from the repository as well.
- Download from github.com/stascorp/rdpwrap/releases
- Unzip
- Run the
install.bat
:
C:UsersjeroenpDownloadsRDPWrap-v1.6.1>install.bat RDP Wrapper Library v1.6 Installer v2.3 Copyright (C) Stas'M Corp. 2016 [*] Notice to user: - By using all or any portion of this software, you are agreeing to be bound by all the terms and conditions of the license agreement. - To read the license agreement, run the installer with -l parameter. - If you do not agree to any terms of the license agreement, do not use the software. [*] Installing... [*] Terminal Services version: 6.1.7600.16385 [+] This version of Terminal Services is fully supported. [+] TermService found (pid 1168). [*] Shared services found: CryptSvc, Dnscache, LanmanWorkstation, NlaSvc [*] Extracting files... [+] Folder created: C:Program FilesRDP Wrapper [*] Downloading latest INI file... [+] Latest INI file -> C:Program FilesRDP Wrapperrdpwrap.ini [+] Extracted rdpw64 -> C:Program FilesRDP Wrapperrdpwrap.dll [+] Extracted rdpclip6164 -> C:WindowsSystem32rdpclip.exe [*] Configuring service library... [*] Checking dependencies... [*] Checking CertPropSvc... [*] Checking SessionEnv... [*] Terminating service... [*] Starting CryptSvc... [*] Starting Dnscache... [*] Starting LanmanWorkstation... [*] Starting NlaSvc... [-] StartService error (code 1056). [*] Starting TermService... [*] Configuring registry... [*] Configuring firewall... OK. [+] Successfully installed. ______________________________________________________________ You can check RDP functionality with RDPCheck program. Also you can configure advanced settings with RDPConf program. Druk op een toets om door te gaan. . . C:UsersjeroenpDownloadsRDPWrap-v1.6.1>rdpcheck
Note that this “error” is normal: [-] StartService error (code 1056).
as it means the service is already started: [WayBack] System Error Codes (1000-1299) (Windows)
ERROR_SERVICE_ALREADY_RUNNING
- 1056 (0x420)
- An instance of the service is already running.
–jeroen
This entry was posted on 2018/06/04 at 06:00 and is filed under Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
help
I can’t currently see the installed version number in the application, but I can see the actual system version number when I execute install.
I have replaced the ini. I don’t know what went wrong.
Have you encountered the same error, can you tell me how to solve this problem.
Thanks.
Win32/Mamson.A!AC detected using RDP sebaxakerhtc version
Windows defender is detecting this as sever risk virus. Is this a false positive?
Hello, i’m having trouble with Windows 10 updates. Is there any new version available?
HI,
RDP Wrapper Configuration is full OK.
But when i test, I can only connect one sessions. The other connections says me (in french) : le nombre de connexions à cet ordinateur est limité et toues les connexions sont actuellement utilisées.
Starting both programs only results in a tab in the taskbar but no actual window appears. Mousing over the tab for a preview shows a white screen. I only have windows defender installed for antivirus and its real-time protection is turned off.
Hi, it looks like version I am using is not supported. I am using Microsoft Windows [Version 10.0.19044.2075]
Could you do something about that?
I’ve just installed RDP Wrap and I’m running into some issues:
RDF Check states the error «Socket connection failed».
RDF Configuration shows that the listener state is not listening and not supported.
Here are the images: imgur.com/a/eTTPGuY
I have done some research on the «issues» tab and I saw some people suggesting that removing a windows security update can fix this issue, however, I have a fresh install of windows, so I don’t think this option is available for me.
I am running Windows 10 Home, version 1909. OS build: 18363.657
found my Rdp wrapper was no longer working in the last few weeks so I have installed the latest 1.6.1 ver but when I run RDPConf I am still getting that rdp wrapper: not installed as below
Hello
Remote desktop only works two connections.
Need Help please! Thanks a lot !
I was updated Windows to Dev 10.0.25281.1000 yesterday.
The Rdpwrap was not support this version.
Please help me! Thanks.
hello I just got rdp and it wont load after the back ground any help?
Greetings,
RDP connection is not working from my Android phone to wrapped Windows 10 VM. From PC to PC its working and from phone to W8.1/WS2008R2/linux RDP its working.
Error screen:
Connecting to <IP>
Configuring remote PC...
RDP host:
Windows 10 Enterprise
1803
OS build 17134.112
RDP client:
Android
Microsoft Remote Desktop 10.0.15.1208
I think this would be a great idea, actually. That’s easy enough to document and for users of RDPWrap to do. And it would make people calmer since every AV wouldn’t be alarming.
Well, maybe if I change the behaviour of installer not to enable RDP by default after installation, it will be more secure, and those AVs would be more quiet.
Originally posted by @binarymaster in #277 (comment)
when i log put in my email and password i get access denied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
Page 5 of 12
-
For sessions that close immediately, make sure you have passwords on your accounts (default settings do not allow network logins to passwordless accounts, and this is something you really don’t want to change), and also that you have firewall port 3389 open. While troubleshooting, you can try to disable the firewall and see if that fixes it, but make sure to re-enable it after you have narrowed it down.
I never got RDPCheck to work either, and given the default setting that connections to localhost are not allowed, I think this tool creates more confusion than it’s worth. I seem to remember reading somewhere that some other security checks had to be disabled just to get RDPCheck to work, which I think is a bad approach just to allow a testing tool to function correctly.
So far the hack itself is working for me and I really like this approach instead of directly patching the DLL file. However, I have seen that it needs to be updated for different versions of the termsrv.dll file, so is it really as resilient to Windows Updates? Is this expected to work when a new termsrv.dll file is released as an update, or would rdpwrap and need to be updated for each new termsrv.dll version?
-
Of course, you need to log in multiple user accounts to enjoy concurrent sessions.
But, you can also use the same user account for concurrent sessions, using this command:
reg add "HKLMSYSTEMCurrentControlSetControlTerminal Server" /v fSingleSessionPerUser /t REG_DWORD /d 0 /f
RDP Wrapper mainly uses two techniques:
1) Hooking exported DLL WinAPI function
used in: only Vista and Windows 7
2) Hooking / replacing internal functions
used in: Vista, 7, 8, 8.1, 10 and higherThe first point allows remote connections and two concurrent sessions (as on Windows Server without Application Terminal Server role). It’s fully automated and will work with new updates.
The second point allows unlimited concurrent sessions and multiple sessions per one user. This part can’t be easily automated, it requires to research each termsrv.dll version in IDA Pro to find appropriate offsets for functions, assembly instructions and variables in the memory.So, actually RDP Wrapper is really strong against updates for Vista and Windows 7 (except some extended features). For Windows 8 terminal services updates it isn’t so adaptive, but it still remains in the system.
Immunity against Windows Update means that it will stay in the system registry and will load with newer versions of terminal services though some features will be unavailable partially or entirely. Of course, I can implement autoupdate routine for RDP Wrapper, but this can lead to problems with antivirus software, etc. It is better to leave it to the server administrator.
-
8.1 one language, version of dll is 6.3.9600.17095. Installation log:
bin>RDPWInst.exe -i
RDP Wrapper Library v1.3
Installer v2.2
Copyright (C) Stas’M Corp. 2014
[*] Installing…
[*] Terminal Services version: 6.3.9600.17095
[+] TermService found (pid 3332).
[*] Shared services found: CryptSvc, Dnscache, LanmanWorkstation, NlaSvc
[*] Extracting files…
[+] Folder created: C:Program FilesRDP Wrapper
[+] Extracted rdpw64 -> C:Program FilesRDP Wrapperrdpwrap.dll
[*] Configuring service library…
[*] Checking dependencies…
[*] Checking CertPropSvc…
[*] Checking SessionEnv…
[*] Terminating service…
[*] Starting CryptSvc..
[*] Starting Dnscache…
[-] StartService error (code 1056).
[*] Starting LanmanWorkstation…
[*] Starting NlaSvc…
[-] StartService error (code 1056).
[*] Starting TermService…
[*] Configuring registry…
[*] Configuring firewall…
Ok.RDPchecker throws «Network level Authentication is required», telnet to localhost 3389 fails, and the port is not listened on (not sure if should, though). Firewall inbound rules configured.
Reboot/service restart does not help — RDP to does not work.
EDIT: Fixed. Turned out termsrv.dll was incorrectly modified before — some binary garbage in place of the strings mentioned. Restored from backup (to do that without reboot — find svchost that holds this dll and kill it), run RDPWinst.exe -u and RDPWInst.exe -i
-
-
-
Staff Member
-
Ive sent you a PM with MSU files and termsrv.dll pre extracted from the MSU files where applicable (apart from the arm versions), note as previously the msu contains two versions so ive labelled both versions for you with the right numbers.
-
isnt the whole point of the RDP wrapper project to be immune to windows updates? Did the most current wave up updates break this?
-
I think this update may break RDP concurrent sessions on Windows 8 and higher. Windows 7 and older will work with only 2 concurrent sessions.
I’m already working on RDP Wrapper update.
UPD:
According to files information, termsrv.dll will be updated only in Windows Vista SP2 and Windows 7 SP1. -
Wrong! That was just the advertising ploy to get you to try his app. Nothing makes you immune to windows updates except disabling windows updates.
-
-
RDP Wrapper has been updated!
+ bonus: created a new program for RDP user-friendly configuration.
I think it will be very useful -
After hexedting the last termserv only to have this last KB-induced-termsrv-death I broke down and decided to try the RDP wrapper. It’s weird—the first dozen times I tried to run the exe or the bat file it didn’t run, then I tried again and it worked.
Like a charm!!
Thanks binarymaster!!!!
My only suggestion is to provide the 5 files as a zip—I couldn’t figure out how to download the bat files from github.
-
Staff Member
-
-
-
Staff Member
-
Great!
But is it still limited to 2 concurrent connections on Win7?
If so, well, too bad
Page 5 of 12
|
Зарегистрируйтесь или войдите на сайт как пользователь, чтобы комментировать и оценивать материалы. RDP Wrapper Library by Stas’M (update 2017.12.27)
Добавлять комментарии могут только зарегистрированные пользователи. [ Регистрация | Вход ] |
|