乐趣区

关于运维:server2022安装宝塔后不能远程

server2022 装置宝塔后不能近程

server2022 装置宝塔会呈现近程不了的状况,

查看详细信息是 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 是运行中,但这个中央跟失常零碎比是没点亮的,尝试屡次点不亮

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

跟微软和宝塔已确认是宝塔删除 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 的服务器,提早低,安全性高,综合比拟来说是市面上性价比比拟高的了。

退出移动版