First select Remote Desktop Services in the server roles, and then install the Remote Desktop Session Host in role Services
The machine needs to be restarted after the installation is complete.
Then enter Gpedit.msc in Run
To computer configuration->administrative templates->windows components->remote Desktop Services->Remote Desktop Session host->connections
Among them are 2 setting related
- Limit Number of connections
Whether to limit the maximum number of connections, it is recommended to limit, in case of too many connections (if not configured or disabled will allow the user unlimited connection, maximum 999999)
- Restrict Remote Desktop Services users to a single Remote desktop Services session
Whether to restrict multiple connections using the same user
For simple settings, I set up here as follows:
The value of limit number of connections is 5
Restrict Remote Desktop Services users to a single Remote desktop Services session disabled
After Setup is complete, you need to enter GPUpdate in run to update the current policy, otherwise you will follow the original settings.
Windows Server 2012 opens multi-person remote