場景:同一台VPS遠程服務器的多個賬號登錄,登錄受限。
分析:賬號限制功能未開放,或限制參數未設置。
處理步驟:
1.登錄VPS遠程服務器,WIN+R調出命令框,輸入命令:gpedit.msc;
2.在調出的注冊表 Local Group Policy Editor(本地策略)選項界面中,依次選擇:
Computer Configuration >>> Administrative Templates >>> Windows Components >>> Remote Desktop Services,
3.雙擊 Remote Desktop Services選項,選擇Remote Desktop Session Host >>>Connetions,
4.雙擊Limit Number of connections,在界面中,依次選擇Enabled,RD Maximum Connections Allowed下的輸入框修改數字為 999999 (六個9);Apply >>> OK
5.選擇同目錄下的Restrict Remote Desktop Service Users to a single Remote Desktop Service Session,雙擊打開,
選中Enabled,Apply>>>OK;
6. 按Win+R,調出命令框,輸入命令 : gpupdate /force ,強制更新注冊表策略;
7.回車執行后,等待命令框執行完成自動關閉。重啟服務器即可。