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: 0x3Extended 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的服务器,提早低,安全性高,综合比拟来说是市面上性价比比拟高的了。