💡 因为工作需要,有些客户的VPN/开发环境不支持MAC M1配置,特使用MAC-windows的方式实现多电脑操作
日期:2022-10-24
1、MAC操作步骤(M1芯片)
安装软件Microsoft Remote Desktop V10.7.3
2、Windows家庭版设置远程桌面可访问
1.下载安装软件RDPWrap-v1.6.2
在https://github.com/stascorp/rdpwrap/releases/tag/v1.6.2下载RDPWrap-v1.6.2.zip
2.下载后解压
3.配置
install.bat右键管理员运行
update.bat右键管理员运行
RDPConfig.exe右键管理员运行
若显示[not supported],在设置里面查看自己电脑的系统版本,以本机10.0.22000.856 为例
在issue上搜索自己电脑的配置
https://github.com/stascorp/rdpwrap/issues
找到一个对应的
找到一个解决10.0.22000.856 [Not supported] · Issue #1957 · stascorp/rdpwrap · GitHub,里面又给了问题1868的链接https://github.com/stascorp/rdpwrap/issues/1868
从https://github.com/UMU618/rdpwrap.ini下载rdpwrap.ini文件
然后找到本地rdpwrapper.ini,在C:\Program Files\RDP Wrapper
将rdpwrapper.ini复制到桌面,然后用记事本打开,把下面这段粘贴到文本最后,然后保存,并将rdpwrapper.ini复制到C:\Program Files\RDP Wrapper替换掉原来的rdpwrapper.ini
重新运行update.exe、RDPConf.exe,如果出现截图以下问题,则:
in cmd
net stop termservice
And then
replace rdpwrap.ini by overhead
And then
net start termservice
And then
restart windows!!!(我是直接重启的电脑,运行生效,不行就卸载掉(install.exe)重新安装)
最终启动成功:
3、在MAC上使用Microsoft Remote Desktop连接windows步骤
1.添加PC
2.从Windows查看IP并复制,将IP输入到PC名称,保存,这里的用户账户不是Windows登录账户
3.在Windows查看当前用户密码,并修改,windows+R,输入cmd打开的不是管理员权限的控制台,在开始里面搜索命令提示符,右键->以管理员身份打开。(使用管理员身份才有修改密码的权限)
net user 查看所有用户
net user administrator 12345678 修改有密码
4.使用Microsoft Remote Desktop,输入用户名密码,连接成功。
最后,我不知道需不需要配置入站规则,之前不知道有RDPWrap软件,我已经配置了,所以可以连接,如果上面操作完成还不能连接,则按下面步骤,配置下入站规则
Win11家庭版没有远程桌面功能解决方法
1、先需要下载一款可以进行远程桌面连接的软件,然后打开系统的设置功能,点击左侧的【隐私和安全性】进行打开。
2、选择防火墙功能进行打开,然后点击左侧的高级设置。
3、然后在打开的页面中,点击左侧的【入站规则】功能。
4、继续在右侧的进行右键点击,进行【新建规则】。
5、选择端口选项来进行创建打造。
6、然后选择【TCP】、【特定本地端口3389】两个选项。
7、选择【允许连接】,进入到下一步的操作中。
8、在打开的窗口中将名称改为远程桌面访问。
9、然后创建防火墙规则后,在电脑的桌面点击此电脑,右键选项管理进行打开。
10、然后点击左边栏的“服务”列表进入。
11、然后在右侧的栏目中找到【remote desktop services】服务进行启用即可。
解决MAC->WINDOWS远程桌面连接方案(目前是局域网使用)
参考文章: