首页 > 其他分享 >server2022安装宝塔后不能远程

server2022安装宝塔后不能远程

时间:2022-09-01 11:15:53浏览次数:90  
标签:server2022 code users 宝塔 根目录 权限 远程

server2022安装宝塔后不能远程

server2022安装宝塔会出现远程不了的情况,

img

查看详细信息是Error code:0x3+Extended error code:0x11

Your Remote Desktop Services session has ended, possibly for one of the following reasons:

The administrator has ended the session.
An error occurred while the connection was being established.
A network problem occurred.

For help solving the problem, see "Remote Desktop" in Help and Support.

[Expanded Information]
Error code: 0x3
Extended error code: 0x11

以上是中、英文版的报错截图

另外,不止远程报错,机器内部远程监听正常、remote desktop services是运行中,但这个地方跟正常系统比是没点亮的,尝试多次点不亮

img

网上也有其他网友反馈这个远程不上的问题,但提供的解决方案没有一个靠谱的。

跟微软和宝塔已确认是宝塔删除C盘根目录users组权限导致的,宝塔官网写了不建议2022使用宝塔,他们内部没测过宝塔在2022上的使用。

img

img

如果继续用,可以给C盘根目录加上users权限后重启远程服务恢复。

底层原理是这样:远程都有个RDPiDD (RDP indirect display)的过程,这个过程 C:\Windows\System32\WUDFHost.exe会调用C:\Windows\System32\drivers\UMDF\RDPidd.dll

而WUDFHost.exe需要users组权限或local service用户权限,实测单独只加local service用户权限也可以恢复远程,但由于C盘根目录users组权限缺失的影响面更大,C盘根目录默认就有users组权限,建议复原users组权限。博主使用的都是3A的服务器,延迟低,安全性高,综合比较来说是市面上性价比比较高的了。

标签:server2022,code,users,宝塔,根目录,权限,远程
From: https://www.cnblogs.com/htx666/p/16645793.html

相关文章