Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Rescuing lost logins

  • 21 réponses
  • 1 a ce problème
  • 169 vues
  • Dernière réponse par hengwz07

more options

I broke an old computer and have my logins from it on a backup drive in logins.json and key4.db. I can't work out how to transfer these logins to my new computer. I've tried creating a new firefox profile since I am nervous of losing logins that are on my new computer, but then I am totally lost.

I broke an old computer and have my logins from it on a backup drive in logins.json and key4.db. I can't work out how to transfer these logins to my new computer. I've tried creating a new firefox profile since I am nervous of losing logins that are on my new computer, but then I am totally lost.

Toutes les réponses (20)

more options

You broke the old computer... Can you put the old drive in the new computer and boot to it?

more options

I'm not sure how to. I have a rescue back up drive which I can examine by plugging it in at a usb port. Sorry, I'm not at all techy.

more options

The old and new computers... are they both desktops or laptops? What type of hard drive, old or ssd?

more options

Both are laptops. The old laptop can't be opened but I had data rescued from it onto an HDD. My new laptop is SSD.

more options

......

Modifié le par jonzn4SUSE

more options

No, both PCs. Old laptop ran Windows 10, new one Windows 11.

more options

nikbj303 said

Both are laptops. The old laptop can't be opened but I had data rescued from it onto an HDD. My new laptop is SSD.

YEAH!!! Why can't they be opened. What models are they?

more options

Old laptop was a Dell Inspiron. I spilt olive oil over it :( Fatal. But I sent it off to have data rescued from its hard drive.

The new one is an Asus SonicMaster.

more options

So the data rescue folks sent back a working drive right?

more options

They sent back a drive that I can access, yes.

more options

I guess the drive was just data and not one you can boot with.

more options

I think so. I was hoping somehow I could copy across logins.json and key4.db to some useful place.

more options

Do you have another computer? You can also backup your current data on the new computer to your phone.

more options

If you start playing with those files on your new computer you may mess up your current data on the new computer. I would look for another device to backup or sync your current data before moving the old data to the new computer.

more options

Sounds like a good idea. I haven't got so many new passwords as all that, so could save them to a csv file and copy them back manually, but for the rest I'm too tired to attempt anything risky tonight. I'll try and look at it afresh tomorrow. Thank you very much for all your efforts on my behalf.

more options

Good night, but syncing to the phone would be better. IMHO Later

more options

You can copy logins.json and key4.db from the backup top the current profile folder with Firefox closed to transfer the logins.

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)
more options

I think I've been wrong all along about what I had found where and that I may have lost my passwords forever. Sorry for using up everyone's time on this. I appreciate the efforts.

more options

If you have both logins.json and key4.db in a backup or profile folder and you see encrypted logins if you open logins.json in Firefox tab then you should be able to transfer those logins to a Firefox profile like I wrote above.

Firefox uses two locations for the Firefox profile folder. One location for your personal data (e.g. bookmarks) and another location for temporary files like the disk cache, so make sure to look in the correct location.

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>

"AppData" is a hidden folder, so you need to make sure you can see hidden files.

more options

Yes I 've been trying that. And I thought I'd found it, but I was wrong because I didn't understand how to do the searches. The backup sevice I used did not copy across the hidden files it turns out. So I may need to ask another computer repairer to have a look for them.

  1. 1
  2. 2