Multiple users could not open edge when connecting the same terminal server

shenglong li 0 Reputation points
2023-09-26T09:09:54.8366667+00:00

May I ask you a question? I encountered a problem when multiple users connect to a terminal server, they could not open edge at the same time. When the first user opens edge, the edge window opened by the other users will jump to the first user's session. How could I fix it? Thanks!

Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Windows for business | Windows Server | User experience | Other
Microsoft Edge | Microsoft Edge development
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-09-27T02:15:42.15+00:00

    Hi @shenglong li,

    Unfortunately, modern browsers like Microsoft Edge, Google Chrome and Firefox are simply not designed to permit more than one session to be using the same browser profile. This feature requires you to specify a unique profile for each user.

    As I have shared in the previous post, the problem is exactly that the two sessions do not share the desktop although they are logged in with the same credentials. The desktop does not mean the "Desktop" folder but the logical entity in windows where the applications run. Therefore, the instances running in both sessions can't see each other and the first one locks the profile for exclusive use which is critical to ensure no profile corruption can occur.

    The best workaround (or we can say the expected configuration) is to make sure every logged-in user gets their own profile. You can achieve that by --user-data-dir flag. For example:
    msedge.exe --user-data-dir=%LOCALAPPDATA%\Microsoft\Edge\%CLIENTNAME%


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,
    Shijie Li

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.