Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

My computer crashed and after restart I lost all my saved passwords. How do I recover it?

  • 12 个回答
  • 12 人有此问题
  • 86 次查看
  • 最后回复者为 FredMcD

more options

I was looking on a saved password when suddenly my computer crashed and rebooted. After restart I couldn't see any saved passwords. As a test I saved a password and that password is showing in the saved passwords list, but all the other ones are still gone. How do I recover my saved passwords?!

Thank You!

I was looking on a saved password when suddenly my computer crashed and rebooted. After restart I couldn't see any saved passwords. As a test I saved a password and that password is showing in the saved passwords list, but all the other ones are still gone. How do I recover my saved passwords?! Thank You!

被采纳的解决方案

If the file doesn't have valid data then you can't use this file.

You could try if there is a previous copy of the logins.json file.

定位到答案原位置 👍 0

所有回复 (12)

more options

Just out of curiousity ,did you recently update firefox by any chance?

more options

That sounds quite severe. Usually when Firefox crashes you get a dialog from Firefox ("Mozilla Crash Reporter"), or from Windows (sometimes offering the option to research the problem), or in the case of a device driver issue, a blue screen. I'm not sure what might cause Windows to reboot itself.

Do you use any add-ons to manage passwords in Firefox, or just the built-in features?

Do you have any security software that creates an on-screen keyboard or otherwise tries to protect logins?


If you lost passwords stored by Firefox, one possible reason is that the logins data file got corrupted by the crash. That might not be recoverable, but hopefully someone more familiar with the scenario will chime in.

more options

I don't remember when I updated it. I keep all my software up to date. I don't have any security software installed or any password add-ons.

What exactly happened that day is, I was connecting to my home pc with Team Viewer from my iphone, as I needed to get a password for my online banking account. As I was reading the password, I got disconnected from teamviewer. When I reconnected i noticed my computer had just rebooted but this time I couldn't see anymore any saved passwords. I really hope i can recover these passwords as I have over a hundred passwords saved there :( I guess I was wrong in relying just on firefox to keep the record of my passwds.

more options

Look on your desktop. Do you see a folder called; Old Firefox?

https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile

https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles


The "Remember Password" extension that shows in the System Details list has been reported to cause issues with the passwords disappearing, so if you have this extension then remove (uninstall) it.

more options

I don't have such folder on my desktop. I have never saved my profile so I don't think the recover option applies in this case. I don't have any password related extension installed.

more options

Do you still have all other personal data like the bookmarks?

Did you check there you are still using your original profile and that there hadn't been anew profile created possibly because of problems with the profiles.ini file?

You can use this button to go to the currently used Firefox profile folder:

Go up one level to see if there is only one profile. C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\

more options

Hi cor-el, I still have all the other personal data. I have all my bookmarks. in the folder you mentioned "C:\Users\A\AppData\Roaming\Mozilla\Firefox\Profiles" there is only one folder named "gzvcrkk5.default"

Thank You Alex

more options

You can try to open the logins.json file in the Scratchpad (Firefox/Tools > Web Developer) for inspection. Click the "Pretty Print" button to format the file


Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
more options

Hi again cor-el, in the profile directory i have logins.json file that contains just 3 entries. I also have the file "logins.json.corrupt" wich has exatly the date when my computer crashed. This file is big 179Kb, but when I open it it's full of red dots. (183370 of them). I have restarted the firefox in safe mode but I am already using the default theme. Should I use the "refresh" function?

thank you Alex

more options

选择的解决方案

If the file doesn't have valid data then you can't use this file.

You could try if there is a previous copy of the logins.json file.

more options

Dear cor-el, you're a GENIUS!!! I did that, and found some earlier versions (one just 3 days before the crash day ). I restored to it and all my passwords are back. Thank you very much! You saved me from a lot of troubles! If you're ever coming to Spain let me know!

Cheers! Alex

more options

Great to hear. Now do a backup as soon as you can.


Password Exporter {web link} This extension allows you to export your saved passwords and disabled login hosts using XML or CSV files that can be imported later.


These add-ons can be a great help by backing up and restoring Firefox

FEBE (Firefox Environment Backup Extension) {web link} FEBE allows you to quickly and easily backup your Firefox extensions, history, passwords, and more. In fact, it goes beyond just backing up -- It will actually rebuild your saved files individually into installable .xpi files. It will also make backup of files that you choose.

OPIE {web link} Import/Export extension preferences

由FredMcD于修改