MozillaZine

Profiles.ini file

From MozillaZine Knowledge Base

This article does not apply to Mozilla Suite or SeaMonkey 1.x

The profiles.ini file contains information used to keep track of profiles in Firefox, Thunderbird, and SeaMonkey (2.0 and above). Whenever you use the Profile Manager to create, rename or delete a profile in these applications, the changes are reflected in the profiles.ini file. The profiles.ini file is located inside the "Firefox" "Thunderbird" or "SeaMonkey" folder in the profile folder path for each application.

Note that in Windows 7/Vista/XP/2000 you can use "Start -> Run" (you can press "Windows key+R" to open the Run box), then type in one of the following and click "OK" to quickly open the appropriate folder:

  • Firefox: %APPDATA%\Mozilla\Firefox
  • Thunderbird: %APPDATA%\Thunderbird
  • SeaMonkey 2.0+: %APPDATA%\Mozilla\SeaMonkey

Since the profiles.ini file is a plain-text file, it can be easily opened, viewed and edited, if necessary, with a text editor such as Notepad. Caution: An "already running but is not responding" error can occur as a result of incorrect editing of the "profiles.ini" file (bug 278860). Always make a backup copy before editing the profiles.ini file.

If you delete the profiles.ini file, a new default profile will be created the next time you start the application and a new profiles.ini file will be generated that references the new profile. The Profile Manager will only show the newly-created profile and the old profiles will no longer be listed. For information about adding profiles to the Profile Manager or accessing profiles that are no longer listed, see the articles, Moving your profile folder and Starting your Mozilla application with a specified profile.

Here are two examples of the profiles.ini file contents [1]:

  • A profiles.ini file for a single profile in the "default" or expected profile location:
[General]

StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/qioxtndq.default

  • A profiles.ini file when multiple profiles exist, including an original "default" profile and additional profiles in "custom" locations:
[General]

StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/default.cta

[Profile1]
Name=alicew
IsRelative=0
Path=D:\Mozilla\Firefox\Profiles\alicew
Default=1

[Profile2]
Name=sheldon
IsRelative=0
Path=D:\Mozilla\Firefox\Profiles\sheldon

IsRelative=1 refers to the expected or "default" folder path that would be relative to the operating system, e.g., Path=Profiles/xxxxxxxx.default would be C:\Documents and Settings\<user name>\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default for a Firefox profile folder in Windows XP.

IsRelative=0 refers to a custom profile location such as Path=D:\Mozilla\Firefox\Profiles\MyProfile

StartWithLastProfile=1 indicates that the "Don't ask at startup" option is selected.

Default=1 refers to the last selected profile.

See also

Creating a new default profile

External links