By default, Windows only allows one interactive session per user, which means that if you log in twice with the same user account, the second session will be a disconnected session. In a disconnected session, the user's applications are still running, but the user cannot interact with them until they reconnect to the session.
To run multiple sessions with the same user account and be able to use the same applications in both sessions simultaneously, you need to configure your system to allow multiple interactive sessions per user. This can be done using the Group Policy Editor or the Terminal Services Configuration tool, depending on your version of Windows.
Here's how to enable multiple sessions for the same user account using the Group Policy Editor:
- Press the Windows key + R to open the Run dialog box.
- Type "gpedit.msc" (without quotes) and press Enter to open the Group Policy Editor.
- Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections.
- Double-click on "Restrict Remote Desktop Services users to a single Remote Desktop Services session" to open the policy settings.
- Select the "Disabled" option and click OK to save the changes.
Once you've made this change, you should be able to log in multiple times with the same user account and use the same applications in both sessions simultaneously. However, keep in mind that this may have an impact on system performance and security, so use caution when making these changes.
Hope this helps :-)