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

搜索 | 用户支持

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

详细了解

Firefox lost my primary password

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

After updating Firefox this morning on my main PC, I noticed that it didn't ask for my primary password.

I then noticed that it wasn't filling in passwords automatically.

My primary password has disappeared as well as my stored passwords. When I try to set a primary password it tells me that it can't change the password.

I tried creating a new profile and that didn't fix it.

I can use firefox on other devices and all the information is there. But I can't get my passwords on my primary PC.

How do I fix this?

i'm running Firefox 105.0.1 (64-bit) on a Win 11 PC.

After updating Firefox this morning on my main PC, I noticed that it didn't ask for my primary password. I then noticed that it wasn't filling in passwords automatically. My primary password has disappeared as well as my stored passwords. When I try to set a primary password it tells me that it can't change the password. I tried creating a new profile and that didn't fix it. I can use firefox on other devices and all the information is there. But I can't get my passwords on my primary PC. How do I fix this? i'm running Firefox 105.0.1 (64-bit) on a Win 11 PC.

所有回复 (4)

more options

First, if you haven't already, please do a regular shutdown and restart of Windows. The purpose of this is to release any file locks and complete any pending updates.

Any improvement?

New Profile

You said this didn't solve the problem. Did you mean it also doesn't work in the new profile? Just to confirm:

(1) The feature is still turned on on the Settings page. Ref. Password Manager - Remember, delete and edit logins and passwords in Firefox

If the setting is grayed or locked off, we need to help you investigate that.

(2) A new profile doesn't have a Primary Password set. In a new profile, you would be created a new Primary Password. It doesn't work? Ref. Use a Primary Password to protect stored logins and passwords

more options

None of the obvious fixes solved the problem. I concluded that my profile had become corrupted in some way (I've seen this behavior with Thunderbird -- suddenly it decides that a) there's no primary pw and b) it won't allow a new one to be set).

After some amount of fiddling around with creating a new profile and then swapping back and forth between which was the default, I was able to set a new primary password with the new profile. It was also able to sync everything and restore my various logins. Bookmarks and such I had to transfer manually. Similarly, I had to manually rebuild my various window/tab configurations. However, it now seems to be working.

If Firefox can spontaneously lose a profile like this, that strikes me as a fairly serious bug.

more options

Data files sometimes gets corrupted, but I don't know whether there is a clear pattern to what might cause that.

Many people recommend not relying on browser-based password managers and suggest using disk-based or cloud-based options instead. There are many options, but a free/open-source one is

https://addons.mozilla.org/firefox/addon/bitwarden-password-manager/

more options

If you are connected to Sync then best is to disconnect Sync temporarily during troubleshooting/repair.

If you have a desktop device with the logins then you can copy/transfer logins.json and key4.db (encryption key) from its profile folder to your current profile folder with Firefox closed.

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).