随笔-开发-Window10家庭版启用远程桌面功能 RDPwrap
下载RDPwrap并安装
RDPwrap:https://github.com/stascorp/rdpwrap/releases
解压后执行install.bat,安装文件位于C:\Program Files\RDP Wrapper
,成功后运行RDPConf.exe进行检查
FAQ: Service state: Stopped/Listener state: Not listening
![](https://img2024.cnblogs.com/blog/2679005/202404/2679005-20240425151150125-2072433967.png)
RDPConf.exe执行结果中的ver是windows版本号,因为随着windows版本升级,相应的一些hook位置偏移发生了改变,需要更新C:\Program Files\RDP Wrapper
下rdpwrap.ini
文件中对应windows版本号的hook偏移配置
操作:
【可选步骤】
遇到过按照【常规步骤】仅更新rdpwrap.ini,不行,重新安装RDPwrap(会下载最新的rdpwrap.ini文件)后再执行【常规步骤】可以
- 重新安装RDPwrap:执行uninstall.bat 然后再执行install.bat
【常规步骤】
- 以管理员权限运行cmd:输入net stop termservice
- 到:https://github.com/stascorp/rdpwrap/issues 下按照windows版本号进行搜索,找到对应的配置,追加到rdpwrap.ini`文件中
- 以管理员权限运行cmd:输入net start termservice
- 运行RDPConf.exe检查,如果不行,尝试重启后看看
2024.4.25更新,windows版本号10.0.19041.4355
[10.0.19041.4355]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=C1BB9
LocalOnlyCode.x86=jmpshort
SingleUserPatch.x86=1
SingleUserOffset.x86=45605
SingleUserCode.x86=Zero
DefPolicyPatch.x86=1
DefPolicyOffset.x86=415B9
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
SLInitHook.x86=1
SLInitOffset.x86=700D8
SLInitFunc.x86=New_CSLQuery_Initialize
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=91281
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=1835B
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=1F375
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=2885C
SLInitFunc.x64=New_CSLQuery_Initialize
[10.0.19041.4355-SLInit]
bInitialized.x86 =E398C
bServerSku.x86 =E3990
lMaxUserSessions.x86 =E3994
bAppServerAllowed.x86 =E399C
bRemoteConnAllowed.x86=E39A4
bMultimonAllowed.x86 =E39A8
ulMaxDebugSessions.x86=E39AC
bFUSEnabled.x86 =E39B0
bInitialized.x64 =123094
bServerSku.x64 =123098
lMaxUserSessions.x64 =12309C
bAppServerAllowed.x64 =1230A4
bRemoteConnAllowed.x64=1230AC
bMultimonAllowed.x64 =1230B0
ulMaxDebugSessions.x64=1230B4
bFUSEnabled.x64 =1230B8
本文来自博客园,作者:LiYanbin,转载请注明原文链接:https://www.cnblogs.com/stellar-liyanbin/p/17957562