1. Disable remote connections
1. Computer -> System Properties -> Advanced System Settings -> Remote -> Do not allow connections to this computer
2. Multi-user remote connection
1. Enter the "gpedit.msc" command in the run (Windows+R)
2. Open "Computer Group Policy" in turn: Computer Configuration-->Administrative Templates-->Windows Components-->Remote Desktop Services-->Remote Desktop Session Host-->Connections
3. In the connection, find "Limit the number of connections" and double-click, as shown in the figure, select "Enabled" and I set a maximum of 5 people to be remote at the same time, click OK.
4. Double-click to open "Restrict Remote Desktop Services users to separate Remote Desktop Services sessions", select "Disabled", and click OK. This is the end of the setup.
Reference address: https://jingyan.baidu.com/article/4dc40848b44ac8c8d846f15b.html?st=2&os=0&bd_page_type=1&net_type=1