Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how does firefox change windows 7's regedit to set default browser?

  • 11 replies
  • 2 have this problem
  • 1 view
  • Last reply by feijilei

more options

the regedit of my windows 7 shows that “"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"” as my default browser,can I change something in my firefox to set regedit like this .""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

the regedit of my windows 7 shows that “"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"” as my default browser,can I change something in my firefox to set regedit like this .""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

All Replies (11)

more options

Firefox > Preferences > Advanced > General: System Defaults:

"Always check to see if Firefox is the default browser on startup"
"Make Firefox the default browser"

See:

more options

I have done something you told me,but my firefox start like this "C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "%1"

I want to start like ""C:\Program Files\Mozilla Firefox\firefox.exe" -profile 'c:\firefox\user\' -osint -url "%1""

more options

You posted with a Mac user agent.

Do you want to make the change on a Windows computer or the the Mac that you posted this with?

more options

On a windows ,I always start firefox with other profile ,so I use "c:\firefox\firefox.exe --no-remote -profile "c:\firefox\user\"" to start my firefox,but,when I set my firefox as my default browser ,when I click a web link,firefox started without my profile dir like "c:\firefox\user\"

more options

You will have to use the Profile Manager to select the default profile an tick the box or edit the profiles.ini file and move the Default=1 line under the correct profile heading.

more options

Is there any other method ? , I use '-profile "c:\firefox\user\"' to start firefox,there is no profiles.ini in my directory.

more options

Is there any other method ?

more options

Hello the profiles.ini file is located inside the "Firefox" folder in the profile folder path .

http://kb.mozillazine.org/Profiles.ini_file

try : %APPDATA%\Mozilla\Firefox\


thank you

Modified by ideato

more options

The OP (thread owner) doesn't want to use a profiles.ini file, but prefers to start Firefox by specifying the absolute location of the profile via the target in the desktop shortcut (-profile "<path>").
In this case Firefox doesn't know which profile to use when you open a file with the default browser and Firefox isn't running yet.
A possibility would be to edit all involved registry keys (e.g. HKEY_CLASSES_ROOT\.html) and add this switch, but that may not last and is difficult to maintain.

more options

cor-el, you are correct, I misunderstood the question, my mistake.

thanks

more options

I use "C:\firefox\firefox.exe" -osint --no-remote -profile "C:\firefox\profile" -url "www.mozilla.org" in my cmd.exe ,but firefox can't start.