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 to force Firefox to use a default profile on startup?

  • 4 replies
  • 34 have this problem
  • 30 views
  • Last reply by Lyndhurst

more options

I have two profiles for firefox. But sometimes Firefox starts with the first active, sometimes with the second. The question is: How can I force firefox to use the profile "default" as the default profile on startup when there is no other instance running? When I want to use a second profile in parallel I use the command "firefox -P --no-profile" to start the profile selector.

I have two profiles for firefox. But sometimes Firefox starts with the first active, sometimes with the second. The question is: How can I force firefox to use the profile "default" as the default profile on startup when there is no other instance running? When I want to use a second profile in parallel I use the command "firefox -P --no-profile" to start the profile selector.

All Replies (4)

more options

Use the profile manager to set the default profile that you want to use and tick the box to always use that choice. After having set that you need to revert from using the Profile Manager and only use desktop shortcut that specifies the profile to use to avoid changing that setting.

The default profile set in profiles.ini is used when you click a link in an external program and Firefox isn't open yet. Be careful with using the -no-remote switch as that makes that Firefox instance invisible to links clicked in external programs.

http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

more options

Also, the Profile with the line Default=1 in the profiles.ini file is the Profile that Firefox will use as the "default" Profile for external programs; the "name" of the Profile has nothing to do with it.

more options

Also be sure that StartWithLastProfile is set 0 in profiles.ini so firefox does not change default profile every time shuts down.


[General]

StartWithLastProfile=0

Modified by zarezadeh

more options

You will need to open "profiles.ini" in Wordpad or Notepad and edit it. Please note that I am runnig Windows 7 and Firefox 11. On my computer, the path to my profile.ini file is: "c:\Users\Lyndhurst\AppData\Roaming\Mozilla\Firefox". When you open the file you should see your profiles (1 or more) and the profile that opens first has an extra line that says "Default=1". You need to move that line to the profile that you want to open first, either by using "cut and paste" or by deleting it and re-typing it. Hope this helps.