1. Single user login at the same time
System Properties -> Remote, check the following options:
Run gpedit.msc, select Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections -> Limit the number of connections: run
regedit , open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server, and set fDenyTSConnections and fSingleSessionPerUser to 0.
2. Multiple users log in at the same time
Download the RDPWrap patch: https://github.com/SobieskiCodes/RDPWrap
Run install.bat as an administrator:
Run RDPConf.exe, and the following page appears to indicate successful installation:
If the installation is unsuccessful, please go to Issues to find solutions or ask questions.