How to find which profile is currently being used in an Edge process

Swiki 1 Reputation point
2022-09-01T12:50:58.2+00:00

I'm working on a project where multiple instances of Edge can be opened to access an application. However, each instance MUST be using a unique Edge profile. Is it possible to use command line to find out what profile is currently being used in an Edge instance? If not, is there something to allow only one instance of Edge to be open per profile?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,124 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShiJieLi-MSFT 7,391 Reputation points Microsoft Vendor
    2022-09-02T03:09:47.92+00:00

    Hi @Swiki ,

    You can specify in command line which profile is to be used for an instance like this:

    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --profile-directory=Default  
    

    It is to use the profile whose path is C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default (which can be found in edge://version/).
    So if you want to identify which profile is being used via command line, you should keep in mind separate paths(or simply the folder names) of your profiles since profile name is not explicitly displayed in command line.


    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.
    0 comments No comments