赞
踩
家庭版Windows10或11是不支持远程桌面的。我们可以在电脑的“设置”-> “远程桌面设置”中查看系统是否支持远程桌面:我们可以通过RDPWrap这个项目让家庭版也支持远程桌面。
百度网盘下载
首先在下面网址下载该项目,下载zip:https://github.com/stascorp/rdpwrap/releases/tag/v1.6.2
下载下来后,解压,然后分别以管理员身份运行文件夹中的 install.bat,RDPConf.exe
然后可以看到Listener state为Not listening
执行install.bat,出现如下图情况表示安装成功:
接着,我们根据下面的地址,下载rdpwrap.ini-master.zip
https://github.com/sebaxakerhtc/rdpwrap.ini
下载完成后,解压
然后复制将其替换到C:\Program Files\RDP Wrapper中
以管理员模式开启cmd终端,输入net stop termservice,然后net start termservice,如无法停止服务,重启即可。这时候再启动RDPConf.exe,我们发现没有报错了:
net stop termservice
net start termservice
然后我们即可在另外一台电脑上远程控制该电脑 。
@echo off & title 更新RDPWrap.ini set INI_Path="C:\Program Files\RDP Wrapper\rdpwrap.ini" set INI_Dir="C:\Program Files\RDP Wrapper" ::检查权限 setlocal enabledelayedexpansion>nul net session>nul if !ERRORLEVEL! EQU 2 ( set "args=!args: ="^&chr^(32^)^&"%!" set "args="/C"&chr(32)&chr(34)&chr(94)&chr(34)&"%~f0"" mshta "vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe", !args!, NULL, "runas", NULL)(window.close)"&&exit ) echo.正在停止远程桌面服务…… echo Y | net stop UmRdpService echo Y | net stop TermService ::删除旧配置文件 :DeleteFile del %INI_Path% if exist %INI_Path% ( echo.文件 %INI_Path% 仍被占用,请手动关闭占用该文件的程序。 start "" %INI_Dir% pause goto :DeleteFile ) echo.正在下载配置文件…… curl "https://raw.gitmirror.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini">%INI_Path% echo.正在重启远程桌面服务…… C:\WINDOWS\System32\svchost.exe -k NetworkService net start TermService echo.更新完成!按任意键以结束。 pause>nul
保存文件并双击运行,运行完成后按任意键结束。
注:若脚本运行时出现中文乱码,请将文件保存为 ASCII 编码。因涉及服务停止和启动,运行途中可能会提示需要管理员权限,请务必授权。若你不知道如何授权,可以通过使用鼠标右键点击文件,选择“以管理员身份运行”直接以管理员身份启动。
此时我们可以看到,Listener state 已变更为 Listening [fully supported] 。可以正常连接了
参考链接:https://devpress.csdn.net/gitcode/640a907d986c660f3cf920ff.html
https://blog.csdn.net/u014552102/article/details/125985769
https://zhuanlan.zhihu.com/p/445216327?login=from_csdn
https://blog.csdn.net/NXY666/article/details/121152969
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。