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!

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,311 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,041 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,543 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShiJieLi-MSFT 9,566 Reputation points Microsoft Vendor
    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.