SOLVED
Home

How do you create separate shortcuts for different profiles?

%3CLINGO-SUB%20id%3D%22lingo-sub-817462%22%20slang%3D%22en-US%22%3EHow%20do%20you%20create%20separate%20shortcuts%20for%20different%20profiles%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-817462%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20default%20shortcut%20has%20this%20as%20a%20Target%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%3CFONT%20color%3D%22%230000FF%22%3E%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Dev%5CApplication%5Cmsedge.exe%22%20--profile-directory%3D%22Default%22%3C%2FFONT%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3BI%20think%20if%20I%20substitute%20other%20values%20for%20the%20profile-directory%20I%20can%20get%20the%20shortcut%20to%20use%20a%20different%20profile%2C%20but%20am%20not%20sure%20what%20to%20name%20it.%26nbsp%3B%20I%20searched%20around%20the%20application%20and%20AppData%20directories%20but%20nothing%20leapt%20out%20at%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-830249%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20create%20separate%20shortcuts%20for%20different%20profiles%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-830249%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F275237%22%20target%3D%22_blank%22%3E%40USMA56795%3C%2FA%3EThe%20way%20profile%20works%20are%20the%20original%20will%20be%20%22default%22.%26nbsp%3BAny%20additional%20profiles%20will%20start%20with%20profile%20(then%20a%20number)%20like%20Profile%201%2C%20Profile%202%2C%20etc.%3CBR%20%2F%3E%26nbsp%3B%3CBR%20%2F%3EIf%20you%20want%20to%20open%20your%20second%20profile%2C%20it%20will%20be%20this%20below%20in%20the%20Target%20text%20box.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Dev%5CApplication%5Cmsedge.exe%22%20--profile-directory%3D%22Profile%201%22%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3CBR%20%2F%3EI%20hope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEric%20E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-896299%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20create%20separate%20shortcuts%20for%20different%20profiles%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-896299%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F352734%22%20target%3D%22_blank%22%3E%40Eric_MS%3C%2FA%3E%26nbsp%3BIf%20I%20try%20this%2C%20it%20just%20creates%20a%20new%20profile%20named%20%22Profile%201%22%20for%20me%2C%20even%20though%20I%20replaced%20it%20with%20%22Work%22%20which%20is%20an%20existing%20profile%20in%20Edge.%20How%20can%20I%20make%20it%20open%20an%20existing%20profile%20I%20have%20in%20Edge%20Chromium%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-897043%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20create%20separate%20shortcuts%20for%20different%20profiles%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-897043%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F187216%22%20target%3D%22_blank%22%3E%40Koen%20Zomers%3C%2FA%3E%26nbsp%3B%20Unfortunately%20you%20have%20to%20know%20what%20profile%20number%20is%20associated%20with%20the%20displayed%20profile%20name.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example%2C%20on%20one%20of%20my%20laptops%20Profile%201%20%3D%20firstname.lastname%40outlook.com%2C%20Profile%202%20%3D%20firstname.lastname%40work.com%2C%20Profile%203%20%3D%20whyisthissohard%40edgedev.com%2C%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20want%20to%20access%20my%20work%20profile%2C%20my%20shortcut%20Properties%20looks%20like%20this%3A%3C%2FP%3E%3CP%3E%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Dev%5CApplication%5Cmsedge.exe%22%20--profile-directory%3D%22Profile%202%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20would%20be%20great%20if%20Microsoft%20supported%20profile%20names%20in%20the%20argument%2C%20such%20as%20this%3A%3C%2FP%3E%3CP%3E%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Dev%5CApplication%5Cmsedge.exe%22%20--profile-directory%3D%22firstname.lastname%40work.com%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1113464%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20create%20separate%20shortcuts%20for%20different%20profiles%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1113464%22%20slang%3D%22en-US%22%3E%3CP%3EI%20renamed%20my%20profiles%20to%20%22WORK%22%20and%20%22HOME%22%20-%20crazy%20naming%20convention%2C%20I%20know.%20Now%20trying%20to%20create%20a%20shortcut%20with%20--profile-directory%20and%20everything%20I%20try%20just%20creates%20a%20new%20profile.%26nbsp%3B%3C%2FP%3E%3CP%3E--profile-directory%20%3D%22profile%201%22%20%5Bfail%5D%3C%2FP%3E%3CP%3E--profile-directory%20%3D%22Profile%201%22%20%5Bfail%5D%3C%2FP%3E%3CP%3E--profile-directory%20%3D%22profile%202%22%20%5Bfail%5D%3C%2FP%3E%3CP%3E--profile-directory%20%3D%22profile%203%22%20%5Bfail%5D%3C%2FP%3E%3CP%3E--profile-directory%20%3D%22work%22%20%5Bfail%5D%3C%2FP%3E%3CP%3E--profile-directory%20%3D%22WORK%22%20%5Bfail%5D%3C%2FP%3E%3CP%3E--profile-directory%20%3D%22home%22%20%5Bfail%5D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20little%20documentation%20would%20be%20good.%20How%20does%20using%20the%20profile%20name%20not%20work%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1117742%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20create%20separate%20shortcuts%20for%20different%20profiles%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1117742%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521551%22%20target%3D%22_blank%22%3E%40AllanRoss%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eif%20I%20pin%20Edge%20to%20the%20taskbar%20I%20get%20a%20shortcut%20with%20this%20command%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%22C%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%20Beta%5CApplication%5Cmsedge.exe%22%20--profile-directory%3D%22Profile%201%22%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eopen%20the%20directory%3CBR%20%2F%3EC%3A%5CUsers%5C%3CUSERNAME%3E%5CAppData%5CLocal%5CMicrosoft%5CEdge%20Beta%5CUser%20Data%5C%3C%2FUSERNAME%3E%3C%2FP%3E%3CP%3Eand%20check%20if%20there%20are%20Profile%20folders%20called%20like%3C%2FP%3E%3CUL%3E%3CLI%3EProfile%200%3C%2FLI%3E%3CLI%3EProfile%201%3C%2FLI%3E%3CLI%3Eetc....%3C%2FLI%3E%3C%2FUL%3E%3CP%3Eif%20you%20need%20to%20identify%20them%3A%3C%2FP%3E%3CP%3Einside%20these%20directories%20you%20have%20a%20file%20called%26nbsp%3B%3CEM%3EPreferences%3C%2FEM%3E%3C%2FP%3E%3CP%3Eopen%20it%20with%20a%20text%20editor%20(i.e.%20notepad.exe)%20copy%20everything%20into%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fjsonbeautifier.org%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fjsonbeautifier.org%2F%3C%2FA%3E%20click%26nbsp%3B%3CEM%3EFormat%2FBeautify%3C%2FEM%3E%20and%20then%20open%20the%26nbsp%3B%3CEM%3Eprofile%3C%2FEM%3E%20tree%3C%2FP%3E%3CP%3Ethere%20you%20find%20the%20name%20of%20the%20Profile%20associated%20to%20your%20profile%20folder%20%22Profile%20x%22%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

The default shortcut has this as a Target:

 

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

 I think if I substitute other values for the profile-directory I can get the shortcut to use a different profile, but am not sure what to name it.  I searched around the application and AppData directories but nothing leapt out at me.

5 Replies
Highlighted

@USMA56795The way profile works are the original will be "default". Any additional profiles will start with profile (then a number) like Profile 1, Profile 2, etc.
 
If you want to open your second profile, it will be this below in the Target text box.

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

 
I hope this helps.

 

Eric E.

Highlighted

@Eric_MS If I try this, it just creates a new profile named "Profile 1" for me, even though I replaced it with "Work" which is an existing profile in Edge. How can I make it open an existing profile I have in Edge Chromium?

Highlighted

@Koen Zomers  Unfortunately you have to know what profile number is associated with the displayed profile name.

 

For example, on one of my laptops Profile 1 = firstname.lastname@outlook.com, Profile 2 = firstname.lastname@work.com, Profile 3 = whyisthissohard@edgedev.com, etc.

 

If I want to access my work profile, my shortcut Properties looks like this:

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

 

It would be great if Microsoft supported profile names in the argument, such as this:

"C:\Program Files (x86)\Microsoft\Edge Dev\Application\msedge.exe" --profile-directory="firstname.lastname@work.com"

Highlighted

I renamed my profiles to "WORK" and "HOME" - crazy naming convention, I know. Now trying to create a shortcut with --profile-directory and everything I try just creates a new profile. 

--profile-directory ="profile 1" [fail]

--profile-directory ="Profile 1" [fail]

--profile-directory ="profile 2" [fail]

--profile-directory ="profile 3" [fail]

--profile-directory ="work" [fail]

--profile-directory ="WORK" [fail]

--profile-directory ="home" [fail]

 

A little documentation would be good. How does using the profile name not work?

Highlighted
Solution

@AllanRoss 

 

if I pin Edge to the taskbar I get a shortcut with this command

 

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

 

open the directory
C:\Users\<username>\AppData\Local\Microsoft\Edge Beta\User Data\

and check if there are Profile folders called like

  • Profile 0
  • Profile 1
  • etc....

if you need to identify them:

inside these directories you have a file called Preferences

open it with a text editor (i.e. notepad.exe) copy everything into https://jsonbeautifier.org/ click Format/Beautify and then open the profile tree

there you find the name of the Profile associated to your profile folder "Profile x"