By default in Windows Operating Systems, a user account is entitled only for a single RDP session. That means once you are logged in to a server remotely using a user account say Administrator, a simultaneous connection to the server again using the Administrator account will result in the disconnection of the previous session.
This can be taken care of within the Windows itself by enabling multiple RDP sessions. You can achieve the same by any of the below mentioned methods :
Through registry modifications :->
- Log in to the Windows Server
- Launch Registry Editor from Run by typing the command regedit
- Navigate to the following registry key :
- Select the key fSingleSessionPerUser, double click the same
- To enable multiple sessions, set the decimal value to 0 and to disable use the decimal value 1
- Try logging in to the server simultaneously and confirm the same
Through local group policy editor:->
- Log in to the server
- Launch Local group policy editor from Run using the command gpedit.msc
- Navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections
- Select the policy “Restrict Remote Desktop Services users to a single Remote Desktop Services session“
- In order to enable multiple sessions, change the policy setting to “Disabled” and update the policy
The above settings can also be deployed via a group policy as well. Only difference is that you will have to launch the Group Policy Management Console [gpmc.msc] and create a new group policy.