一、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.icon-default.png?t=N7T8https://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.icon-default.png?t=N7T8https://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.icon-default.png?t=N7T8https://github.com/sebaxakerhtc/rdpwrap.ini/tree/master/autogenerated 

       4.  解决问题:10.0.22621.3447not supported · Issue #2549 · stascorp/rdpwrap · GitHubtermsrv.zipicon-default.png?t=N7T8https://github.com/stascorp/rdpwrap/issues/2549

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐