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 to move profiles.ini in firefox

more options

I need move profiles.ini to D:\backupfirefox i use mklink to move profiles.ini But i have error. When i run firefox.exe, firefox will create new profiles How to fix it. I need move profiles.ini. I need backup list folder profile

I need move profiles.ini to D:\backupfirefox i use mklink to move profiles.ini But i have error. When i run firefox.exe, firefox will create new profiles How to fix it. I need move profiles.ini. I need backup list folder profile

All Replies (6)

more options

Hello minhtri1710, when you remove/delete or rename the profiles.ini file, then it is the correct firefox behavior to create a new default profile when you start it again.

why do you want to move the profiles.ini file ? Since the profiles.ini file is a plain-text file, it can be easily opened, viewed and edited, if necessary, with a text editor such as notepad, then copy the contents in a new notepad or word file and you have your back-up profile.ini file. You don't have to move it. Leave it as it is. :-)

thank you

more options

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

more options

Hi ideato I need move it to D:\. This is my project

Examples: _ Copy "C:\Users\...\AppData\Roaming\Mozilla\Firefox\profiles.ini" to "D:\Backup\Users\...\AppData\Roaming\Mozilla\Firefox\profiles.ini". _ Delete "C:\Users\...\AppData\Roaming\Mozilla\Firefox\profiles.ini". _ Run CMD as administrators create symlink : mklink "C:\Users\...\AppData\Roaming\Mozilla\Firefox\profiles.ini" "D:\Backup\Users\...\AppData\Roaming\Mozilla\Firefox\profiles.ini".

Now on the C drive, you can open and edit profiles.ini on the D. But each running back is going to recreate the default firefox profile. I thought it was bug. Can you test it?

more options

If you do not want to use the profiles.ini file then you can use a desktop shortcut with an absolute path is it instead of the profile name that needs to be registered in the profiles.ini file. Note that you can't launch Firefox by clicking a link in an external application because that will use the profiles.ini file, so Firefox needs to be started and running without a possible -no-remote command line switch before you can click links elsewhere.

Firefox will always look for the profiles.ini file in the default profile location in "%AppData%\Mozilla\Firefox\" and you can't change that location.

more options

i can't change profiles.ini location? how i can change that location?

more options

No.

You would have to re-write the Firefox program to change the location of the profiles.ini file.