本文由寶塔面板教程欄目給大家介紹關于server2022安裝寶塔后出現不能遠程的問題,不知道大家有沒有遇到這樣的問題呢?下面就帶大家一起來看看我是怎么處理的吧!
server2022安裝寶塔后不能遠程?
server2022安裝寶塔會出現遠程不了的情況,
php入門到就業線上直播課:進入學習
Apipost = Postman + Swagger + Mock + Jmeter 超好用的API調試工具:點擊使用
查看詳細信息是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上的使用。
如果繼續用,可以給C盤根目錄加上users權限后重啟遠程服務恢復。
底層原理是這樣:
遠程都有個RDPiDD (RDP indirect display)的過程,這個過程 C:WindowsSystem32WUDFHost.exe會調用C:WindowsSystem32driversUMDFRDPidd.dll
而WUDFHost.exe需要users組權限或local service用戶權限,實測單獨只加local service用戶權限也可以恢復遠程,但由于C盤根目錄users組權限缺失的影響面更大,C盤根目錄默認就有users組權限,建議復原users組權限。
博主使用的都是3A的服務器,延遲低,安全性高,綜合比較來說是市面上性價比比較高的了。