搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Retrieving passwords and bookmarks from hdd windows 10 for a new windows 11 computer

  • 7 回覆
  • 0 有這個問題
  • 9 次檢視
  • 最近回覆由 mjosterweil

more options

My Windows 10 computer died. I bought a new Windows 11 laptop and a device to connect my old hdd to the new laptop as an external device to retrieve my data. I’ve spent two days trying to migrate the old profile both the whole folder and selected parts and have had nothing but frustration. Any guidance would be hugely appreciated. I only really care about passwords and bookmarks. Locations and file names seem to not be anywhere the same on the two hdd’s.

My Windows 10 computer died. I bought a new Windows 11 laptop and a device to connect my old hdd to the new laptop as an external device to retrieve my data. I’ve spent two days trying to migrate the old profile both the whole folder and selected parts and have had nothing but frustration. Any guidance would be hugely appreciated. I only really care about passwords and bookmarks. Locations and file names seem to not be anywhere the same on the two hdd’s.

所有回覆 (7)

more options

Have you tried copying the old profile folder to somewhere on the new HDD (for example into: %appdata%\Mozilla\Firefox\Profiles) Then using the Firefox Profile Manager to create a new profile, setting this new profile's folder location to the folder that you just copied? (for example: %appdata%\Mozilla\Firefox\Profiles\whatever_the_old_folder_is_called)

If you are unfamiliar with using the Firefox Profile Manager, see here: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles

由 TechHorse 於 修改

more options
more options

You can copy certain files with Firefox closed to the current profile folder to transfer or recover personal data. Note that best is to avoid copying a full profile folder.

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


  • 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

Thanks so much for your responses! I finally just copies over the relevent files for password and bookmarks. Phew! Not all the bookmarks came over for some reason. I just copied over the key4 and json and seemed only to get the "recently bookmarked". Does that make sense?

more options

For passwords: logins.json and key4.db are both needed. Sounds like this worked

For bookmarks, two choices:

(1) Bookmark and history data is stored in two files, places.sqlite and favicons.sqlite. If you transferred those, you should have everything.

(2) Automatic bookmarks backups are stored in the bookmarkbackups folder in compressed (.jsonlz4) files. If you transferred those, you need to restore one of them. See: Restore bookmarks from backup or move them to another computer.

more options

Note that you can find all bookmarks and history in the Library (Ctrl+Shift+O). Some drop-down lists only show recent bookmarked pages and recent history, so do not get confused.

more options

Did the favicons but I don't see that it did anything. Anyway, bookmarks are really unimportant and recreate-able. I do love that documentation for Firefox seems to be in human brains, unlike when I wrote software and we documented things in the code and in printed English. This works, so thank you all.