Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

can i move logins.json and keywords database (not sure of name) to my new hard drive WIN 10, 92.0

  • 2 replies
  • 1 has this problem
  • 3 views
  • Last reply by FredMcD

more options

My old hard drive refused to boot.

I got a new one, formatted it, and copied everything I "thought" I needed from the old one...nothing has been touched, it's all still there, in the case but not plugged in. I did not move any OS files, nor any files from progams folders.

I fresh-installed firefox on my new hard drive and quickly reconstructed my pwd protected accounts from memory.

I'm looking for help here, not a lecture on these newer approaches using master passwords. Gotta live my life my way, eh?

Anyway, now it's year end and I'm having password woes with a few accounts. As they are fiscal, they tend to lock out after 2-3 tries -- sometimes I'm told how many several days, I tend to default and try again after 3. I'm running out of time.

If I fire up the old hard drive and grab those two files, putting them in a dedicated subdirectory, can I retrieve those passwords?

Can you confirm the precise files names, and the most likely subdirectories I will find them in.

Yup, I'm that much of a dinosaur. You may have folders, but I have subdirs.

Cheers and thanks in advance for an answer that works. Or will firefox try to show me the passwords from the current files, not the old ones.

All Replies (2)

more options

Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>

For the passwords you need logins.json and key4.db.

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


You can copy certain files with Firefox closed to the current profile folder to transfer or recover personal data.


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins;32+) and key4.db (decryption key;58+) for Passwords saved in the Password Manager
    key3.db support ended in 73+; to use key3.db in 58-72, make sure to remove key4.db
  • cert9.db (58+) for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)

Helpful?

more options

If the old system is still operating, you can also try using sync.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.