一、RDP Wrapper工作机制
根据rdpwap.ini文件调用相应windows版本的termsrv.dll.
实用的命令:
> net stat -au | findstr 3389 ; 查看端口是否启动
> net stop termservice ; 停止远程桌面
> net start termservice;
> mstsc
>
二、问题解决
注意查看防火墙
在rdpwrap.ini中加入如下内容,windows更新后也加上如下内容可以解决not listening的问题:
[10.0.22621.3593]
SingleUserPatch.x64=1
SingleUserOffset.x64=C563
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=1C455
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=9F1A1
LocalOnlyCode.x64=jmpshort
SLInitHook.x64=1
SLInitOffset.x64=2BAC0
SLInitFunc.x64=New_CSLQuery_Initialize[10.0.22621.3593-SLInit]
bServerSku.x64=12DF50
bRemoteConnAllowed.x64=12DF64
bFUSEnabled.x64=12DF74
bAppServerAllowed.x64=12DF5C
bMultimonAllowed.x64=12DF68
lMaxUserSessions.x64=12DF54
ulMaxDebugSessions.x64=12DF70
bInitialized.x64=12DF4C
2. Rdpwrapper使用:
1. rdpwrapper下载地址:rdpwrapper下载地址:Release RDP Wrapper Library v1.6.2 · stascorp/rdpwrap · GitHubRDP Wrapper Library. Contribute to stascorp/rdpwrap development by creating an account on GitHub.https://github.com/stascorp/rdpwrap/releases/tag/v1.6.2
2. 最新的ini文件下载地址 GitHub - sebaxakerhtc/rdpwrap.ini: RDPWrap.ini for RDP Wrapper Library by Stas'MRDPWrap.ini for RDP Wrapper Library by Stas'M. Contribute to sebaxakerhtc/rdpwrap.ini development by creating an account on GitHub.https://github.com/sebaxakerhtc/rdpwrap.ini
3.
(查找历史ini文件) rdpwrap.ini/autogenerated at master · sebaxakerhtc/rdpwrap.ini · GitHubRDPWrap.ini for RDP Wrapper Library by Stas'M. Contribute to sebaxakerhtc/rdpwrap.ini development by creating an account on GitHub.https://github.com/sebaxakerhtc/rdpwrap.ini/tree/master/autogenerated
4. 解决问题:10.0.22621.3447not supported · Issue #2549 · stascorp/rdpwrap · GitHubtermsrv.ziphttps://github.com/stascorp/rdpwrap/issues/2549