gpedit.msc
Computer Configuration – Administrative Templates – Windows Components – Remote Desktop Services – Remote Desktop Session Host – Connections
Limit number of connections :enabled
RD Maximum Connections allowed:2
Restrict Remote Desktop Services users to a single Remote Desktop Services session :Disabled