Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Open

Running firefox changes the default profile

webby2019

I normally have firefox running under it's default-release (install) profile. I also have an weekly automated process which starts a new instance using another defined profile. It's runs this instance using the command line 'firefox -profile <profile_dir> --new-instance'. This process has been running for some months without an issue but 'recently' I find that running this new-instance process is setting the default profile away from the default-release by updating two files, installs.ini and profiles.ini. This means that when I restart my 'normal' Firefox instance it re-opens using the automated instance instead of the proper default instance.

Does anyone know why this is occurring now and if/how I can stop this happening. Is there a new setting or something I can disable as it's very disruptive having to manually reset back to my proper default profile.

MacOS 26.6.2 Firefox 160.0.1 (64-bit)

thnx webby

I normally have firefox running under it's default-release (install) profile. I also have an weekly automated process which starts a new instance using another defined profile. It's runs this instance using the command line 'firefox -profile <profile_dir> --new-instance'. This process has been running for some months without an issue but 'recently' I find that running this new-instance process is setting the default profile away from the default-release by updating two files, installs.ini and profiles.ini. This means that when I restart my 'normal' Firefox instance it re-opens using the automated instance instead of the proper default instance. Does anyone know why this is occurring now and if/how I can stop this happening. Is there a new setting or something I can disable as it's very disruptive having to manually reset back to my proper default profile. MacOS 26.6.2 Firefox 160.0.1 (64-bit) thnx webby

All Replies (2)

So, no one can explain this anomaly? I see many references to using -P <name> or -profile <profile_dir> and that this doesn't override the set default profile but in my case it does now but didn't previously?

The only workaround I can think of is to wrap the new instance firefox in a script to backup the "correct" default profiles.ini and installs.ini and then restore them on exit....surely this isn't normal practise?

Modified by webby2019

Right, this doesn't sound as something that would be expected or wanted, I run –profile ./path on daily basis with zero impact to my installs; however I'm only pointing to profiles actually outside of the Firefox profile/data folder, so that might behave slightly different. (And, I actually explicitly use --no-remote --new-instance albeit one of these implies the other anyway IIRC…)

Do you have a need to launch the profile that's otherwise "attached" to your installs and profile system, or would you be able to just make it a standalone folder somewhere else and not have it otherwise available to Firefox in a visible user–facing way? That should be bullet–proof. (You can launch any arbitrary folder as a profile from CLI; it doesn't have to be an existing profile available to the install from about:profiles proper…)

Uliza swali

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.