Profiles.ini file

From MozillaZine Knowledge Base
Revision as of 19:06, 2 March 2007 by Alice Wyman (talk | contribs) (On Windows Vista, "Start -> Start Search" is used instead of "Start -> Run". See Talk:Profile_folder#For_Windows_users_-_Vista)
Jump to navigationJump to search

The profiles.ini file contains information used by Firefox and Thunderbird to keep track of profiles. Whenever you use the Firefox or Thunderbird Profile Manager to create, rename or delete a profile, the changes are reflected in the profiles.ini file.

The profiles.ini file is located inside the "Firefox" or "Thunderbird" folder in the profile folder path for each application, for example, on Windows XP, in the C:\Documents and Settings\<user name>\Application Data\Mozilla\Firefox folder and the C:\Documents and Settings\<user name>\Application Data\Thunderbird folder. On Windows 2000 and XP you can go to "Start -> Run" then type in %APPDATA%\Mozilla\Firefox (or %APPDATA%\Thunderbird) and click "OK" to quickly open the appropriate folder; on Windows Vista, you would go to "Start -> Start Search" and type in %APPDATA%\Roaming\Mozilla\Firefox or %APPDATA%\Roaming\Thunderbird. [1].

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: A Firefox or Thunderbird "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 Firefox or Thunderbird 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 Firefox or Thunderbird with a specified profile.

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

  • 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.

External links