We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

How do you CHANGE the location (away from C:\) where Firefox stores password files -key3.db etc. ?¿

  • 6 cavab
  • 1 has this problem
  • 3 views
  • Last reply by FredMcD

more options

I need the password files to be saved and pulled from a different location other than its current C:\Users\-username-\AppData\Roaming\Mozilla\Firefox\Profiles\

files: key3.db & logins.json plus whatever other file is needed to store the passwords & logins for my firefox sessions

i want it to be directed to my H:\

Thanks in ADVANCE! using Firefox 43

I need the password files to be saved and pulled from a different location other than its current C:\Users\-username-\AppData\Roaming\Mozilla\Firefox\Profiles\ files: key3.db & logins.json plus whatever other file is needed to store the passwords & logins for my firefox sessions i want it to be directed to my H:\ Thanks in ADVANCE! using Firefox 43

All Replies (6)

more options

Hello hseldon, i think is impossible to MOVE ONLY key3.db & logins.json in another place and firefox to read from that place when needed.

Of course you can copy the above files and keep it as a backup in another location, yes you can do it.

See a, maybe..., similar question : https://support.mozilla.org/questions/1058820

thank you

more options

If you want to create backups wherever, try this out,

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 backups of files that you choose.

OPIE {web link} Import/Export extension preferences

more options

All your personal data is always stored in the Firefox profile folder. You would have to create the Firefox profile folder in a different location by using "Choose folder" if you want files to be saved there. Note that you should always specify an empty folder for the profile folder and never a folder that already has other files. If you create a folder other than in the default location then the cache will be there as well and not in AppData\Local.


more options

I would like to know is it possible change the location it saves it to or not? The current file location gets deleted this being the reason I know you can change the cache location like below through FF browser:

about:config

•Right click anywhere in the browser and goto 'New' and select 'New String' from the Menu. •Enter browser.cache.disk.parent_directory as the preference name •Enter the path to the new cache location, example: d:\firefox_temp.

more options

NO - the password files alone can't be relocated by them self. As cor-el stated, the entire Profile folder could be moved to have the password files in a different location.

But, a location like H:/ raises a question in my mind if that might be an encrypted drive? If so, that can present issues unrelated to the Profile folder merely being moved from the default location. Or might it be a removable drive? Like maybe a USB Flash drive? If either is the case, if you inadvertently ever open Firefox without that "drive" being plugged in, Firefox would just go ahead and create a new Profile in the default location - meddling with your "grand plan".

As far as your question about relocating the Cache. The cache is in a secondary Profile location - C:\Users\-username-\AppData\Local\Mozilla\Firefox\Profiles\Profile_name\

Yes, the cache can be relocated, but if you move the "main" Profile folder away from its default location the Cache will follow into the same folder as the "main" Profile remote location. So there's no real point in talking about moving the Cache. Though I do realize you used that as an example of a pref that you found in about config for relocating files.

more options

Take a look at this;

Mozilla Firefox, Portable Edition {web link} A fully functional package of Firefox optimized for use on a USB key drive. A specialized launcher will allow most favorite extensions to work as you switch computers.