We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

话题已关闭并存档。 如果需要帮助请提出新问题。

Prevent Firefox deleting my Firefox user profile?

  • 11 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 guigs

more options

I tried to run Firefox a message popup asking me to restart it crashed and restarted normaly, with a new user profile. It never did anything with safe mode.

I tried to run Firefox a message popup asking me to restart it crashed and restarted normaly, with a new user profile. It never did anything with safe mode.

所有回复 (11)

more options

Hi chevyowner,

Please start Firefox with the Profile Manager: Profile Manager - Create, remove or switch Firefox profiles Run this in the cmd.exe window:

  • On 32-bit Windows: "C:\Program Files\Mozilla Firefox\firefox.exe" -p
  • On 64-bit Windows: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p

Select the previous profile in the list. If the profile is not there look in that folder and see if there is another directory. Recover important data from an old profile

I really hope you find the old one. If you have any other questions, happy to help.

more options

If you have submitted crash reports then please post the IDs of one or more recent crash reports that have a "bp-" prefix:

  • bp-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

You can find the IDs of the submitted crash reports on the about:crashes page.

  • You can open the about:crashes page via the location bar, like you open a website, or open the crash reports page via "Help > Troubleshooting Information".

See:

If you can't open Firefox, see:

more options

There is only one profile as seen by the profile manager. There are no crash reports for this.

more options

Do you have a profiles.ini file?

Delete the profiles.ini file in case there is a problem with the file.

  • Use the Profile Manager to create a new profile
  • Use "Choose Folder" when you create a new profile to select the location of a lost profile and recover this profile
more options

Yes I have a profiles.ini, I do not have more then one profile.

Contents from profiles.ini [General] StartWithLastProfile=1

[Profile0] Name=default-1398400732582 IsRelative=1 Path=Profiles/g5q6smfr.default-1398400732582 Default=1

Contents of the Profiles folder from a command prompt C:\Users\Nick\AppData\Roaming\Mozilla\Firefox\Profiles>dir

Volume in drive C is HDD
Volume Serial Number is 20B4-43D2
Directory of C:\Users\Nick\AppData\Roaming\Mozilla\Firefox\Profiles

04/24/2014 10:40 PM <DIR> . 04/24/2014 10:40 PM <DIR> .. 04/26/2014 01:57 PM <DIR> g5q6smfr.default-1398400732582

              0 File(s)              0 bytes
              3 Dir(s)  546,797,871,104 bytes free

C:\Users\Nick\AppData\Roaming\Mozilla\Firefox\Profiles>

There is one Windows User account on my PC.

I will have to add more after I try deleting that file, but I don't expect it to help. I will need to close Firefox to do that.

more options

deleting that file just removed the new profile, so I restored the backup I made before deleting profiles.ini.

As per the original question I simply want to know how to prevent my Firefox profile from being deleted by Firefox again. The old one is gone. That is fine, but I don't want to allow it to happen again.

more options

After you have deleted the profiles.ini file you can use the Profile Manager to create a new profile.

On one of the windows you see a Choose Folder button that allows you to reuse a previously used profile folder that is still present.
That way you can start with a clean profiles.ini file and still use the old profile in case there was a problem with the old profiles.ini file.

more options

I am not trying to recover what is gone. Like I keep saying I am trying to prevent it from happening again.

more options

If files got corrupted after a crash then best would be to run the chkdsk.exe program to make sure that no files were damaged. Files like the profiles.ini that aren't in the profile folder shouldn't get corrupted by crashes and if this did happen then this crash was quite serious and possibly happened during startup. It is also possible that security software was having a lock on the file that has caused a new file to get created. It is hard to tell what has gone wrong in your case as I've never lost a profile or had issues with the profiles.ini file as the consequence of a crash.

more options

I found the files, but I am not going to test them. For some reason when this happened the entire profiles folder was moved to the desktop and renamed.

I'm not sure what most people do but I don't look for any kind of file from any program on the desktop after any kind of crash.

more options

chevyowner, what was the name of the new folder? Did it happen to be "Old Firefox Profile Folder" or something like that? This happens when you reset Firefox: Refresh Firefox - reset add-ons and settings and Recover important data from an old profile may be helpful for restoring the profile. However profile.ini should have been recreated the next time you opened firefox, I think.