Forum Discussion
MSAlf
Feb 14, 2020Brass Contributor
Always use default profile when open Edge
Hi! We need to have option when every start of browser (Edge) is used default profile. We also must use another profile(s) via command line, but … these must not open after next normal start of Edge...
MSAlf
Feb 21, 2020Brass Contributor
Hi!
Seems to for our purposes did work out command-line switch “--user-data-dir”. I managed to create fitted preferences file and created it before creating profile and it did play well.
Alar.
Moonbreakzor
Jul 08, 2021Copper Contributor
Can you elaborate on that solution? MSAlf
Did you create a new file under "%LocalAppData%\Microsoft\Edge\User Data" or did you edit a file? And what did that file contain?
Then you edit the Edge shortcut "Start in" to
"C:\Program Files (x86)\Microsoft\Edge\Application" --user-data-dir
where --user-data-dir is the new file in %LocalAppData%\Microsoft\Edge\User Data?