首先在Server Roles中選擇Remote Desktop Services,然后在Role Services中安裝Remote Desktop Session Host

安裝完成后需要重啟機器。
然后在Run中輸入gpedit.msc
到Computer Configuration->Administrative Templates->Windows Components->Remote Desktop Services->Remote Desktop Session Host->Connections
其中有2個Setting相關
- Limit number of connections
是否限制最大連接數量,建議限制一下,以防過多連接(如果Not Configured或者Disabled則會允許用戶無限連接,最大999999)
- Restrict Remote Desktop Services users to a single Remote Desktop Services session
是否限制使用同一用戶多次連接
簡單設置下,我這里設置如下:
Limit number of connections的值為5
Restrict Remote Desktop Services users to a single Remote Desktop Services session為Disabled
設置完成后,需要在Run中輸入gpupdate更新當前Policy,否則會按照原來的設置。
