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

Profile copied to different computer not recognised

  • 21 svar
  • 0 har dette problemet
  • 40 views
  • Siste svar av mail226

more options

I'm running Firefox 122.0.1 on a Windows 10 desktop PC, with a profile which includes a userChrome.css file which makes several layout and cosmetic changes.

I also have a laptop (also Windows 10) which has an old Firefox 97.0.1 installation, and I'd like to make the same changes on this machine which I'm used to on the main computer. I copied my desktop profile to the laptop, to the same directory as its present profile, but when I rebooted Firefox the transferred profile wasn't recognised.

While doing the transfer I received error messages about some of the folders: Destination path too long. This despite the fact that the registry flag to accept extended paths is set to 1. I had to skip several folders in order to complete the transfer.

Could this be the reason why the new profile isn't being picked up? Or is it because the two Firefoxes are of different versions?

I'd be grateful for any thoughts. Many thanks.

I'm running Firefox 122.0.1 on a Windows 10 desktop PC, with a profile which includes a userChrome.css file which makes several layout and cosmetic changes. I also have a laptop (also Windows 10) which has an old Firefox 97.0.1 installation, and I'd like to make the same changes on this machine which I'm used to on the main computer. I copied my desktop profile to the laptop, to the same directory as its present profile, but when I rebooted Firefox the transferred profile wasn't recognised. While doing the transfer I received error messages about some of the folders: ''Destination path too long''. This despite the fact that the registry flag to accept extended paths is set to '''1'''. I had to skip several folders in order to complete the transfer. Could this be the reason why the new profile isn't being picked up? Or is it because the two Firefoxes are of different versions? I'd be grateful for any thoughts. Many thanks.

Endret av mail226

All Replies (20)

more options

My guess here is the newer version profile has information that the older version can't read so it can transfer those information and data to a older version as that can not read the newer data. It has to be 1:1 matching Firefox version for the data to transfer over if your doing just "copy". So you need to do the proper Firefox FAQ data transfer methods just copying will not work.

Helpful?

more options

A simple method is to start Firefox with the ProfileManager and create a new Profile with the name you want. Shut down Firefox then find the new Profile you created and delete everything inside the newly created Profile. Then copy and paste over the contents from the old Profile into the new Profile. Then start Firefox with the ProfileManager and it should be there as a Profile to use.

https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

Helpful?

more options

Thanks for the speedy replies. I'll try both approaches tomorrow and see what happens.

Helpful?

more options

James, unfortunately, your suggestion didn't work. I created a new profile and copied the contents of the desktop one into it, but Firefox wouldn't run. I suspect, as markwarner22 said, there's something in the 122.0.1 profile that clashes with the 97.0.1 version of the browser.

Helpful?

more options

I suspected that the problem might be that two different versions of Firefox were involved: 97.0.1 on the laptop, 122.0.1 on the desktop. I thought about updating the laptop one to 122.0.1 but in the end decided to go for the latest incarnation.

Even with 133.0 in place, simply adding the desktop profile to the relevant directory still didn't work: it wasn't recognised. But James' idea was successful: I copied everything from the PC profile into a newly-created one, and that was not only picked up, when set as the default it correctly produced the revised layout that I was used to.

With one exception: for some reason, the colour coding didn't work. My carefully chosen contrasting colour scheme wasn't there. I'll look into that today.

This new profile was developed some time ago with the help of a long and very detailed Q&A thread which I thought was in these forums. But curiously I can't now find it. Is there another area of the web where Firefox coding matters are discussed?

Thanks again to James for getting me this far.

Helpful?

more options

Note that you can register a profile in the Profile Manager by using the "Choose Folder" button. See "Start the Profile Manager when Firefox is closed":

Some files have absolute paths, so copying a full profile folder content to a different profile is not recommended.

Helpful?

more options

cor-el, thanks for that; it might be the reason why I'm getting only partial success. I'll investigate the option to register a profile.

Endret av mail226

Helpful?

more options

An update: I have also been running Firefox 122.0.1 on a spare backup laptop: on this setup, my reconfiguration profile works perfectly with layout tweaks and new colours all intact.

As an experiment, I updated Firefox to the latest version. As with my main laptop (as reported above) the profile wasn't recognised and I was prompted to create a new one. As before, I did so and copied into it the entire contents of my preferred profile. A restarted Firefox picked up this profile and I was able to set it as the default, but once again though the revised layout was more or less intact, there were a few anomalies and the colours weren't picked up at all.

So it seems that there are two possibilities: either the profile isn't compatible with the latest software, or it's my copy-and-paste of the old profile into a new one which - as cor-el suggested - is mucking everything up. I must see if I can find out why simply putting my restyling-profile as a whole into the correct directory isn't getting it recognised.

Thanks to everyone for your patience and thoughts so far.

Endret av mail226

Helpful?

more options

Did you update via "Help -> About Firefox" to get to the current version or did you install the latest version as there are so called watershed versions that have migration code to update files to newer schemes?

Helpful?

more options

Thanks for the speedy reply. I used Help - About Firefox. Would downloading the latest version from the Mozilla website be a better approach?

Endret av mail226

Helpful?

more options

No, best is always to use "Help -> About Firefox" like you did.


You can copy certain files with Firefox closed from one profile folder to another profile folder to transfer your personal data. Note that best is to avoid restoring a full profile folder and only restore important files that are safe to restore/transfer.


  • 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) and key4.db (encryption key/primary password) for logins saved in the Password Manager
  • cert9.db for 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

Again, thanks. If those are the only files it's considered safe to restore, is there a way in which can I continue to use my extensively-coded chrome folder?

Helpful?

more options

You can copy the chrome folder as well, but if the profile had been used by an earlier Firefox version then you may need an update for CSS code in userChrome.css. Just be cautious with files like prefs.js and indexedDB (storage folder) and installed extensions.

Helpful?

more options

That's very helpful, thanks. Do new Firefox versions usually make it necessary to update CSS coding? If so, are any required changes documented anywhere?

Helpful?

more options

mail226 said

Do new Firefox versions usually make it necessary to update CSS coding?

A few times a year, there is a change in Firefox major enough to break userChrome.css rules.

If so, are any required changes documented anywhere?

Nothing official. The r/FirefoxCSS subreddit will have threads for major issues, and forum volunteers here might remember some of the fixes if they were for recent versions of Firefox.

Helpful?

more options

Today's update is to report that I now have my revised userChrome.css settings working on the latest Firefox release 133 as far as the layout goes, but the display colours are not being recognised.

I have my notes from when I originally did the coding for version 122.0.1 and will go through them to check exactly how the colours were defined and handled.

chrome/config contains a number of css files all of which begin with color_variables - as well as color_variables.css there are, for example, color_variables_aero.css, color_variables_transparent.css and many others. My recollection is that these were possible variants offered in the article on the subject which I used as a basis for what I did, and which I simply included out of possible ignorance: this might mean that many or most of them might be redundant, though if so I can't see that they would be affecting the outcome.

So the quest continues...

Endret av mail226

Helpful?

more options

Assuming you use files from the following repository, it looks like at least one file in the config folder has been updated since Firefox 122 released 11 months ago.

https://github.com/Aris-t2/CustomCSSforFx/tree/master/current/config

Helpful?

more options

jscher2000, thanks very much for that; it is the source I used and I'll take a look.

Helpful?

more options

The only file which seems to be newer than the ones I used is general_variables.css. I replaced my older version with the updated one and rebooted Firefox but unfortunately the problem still remains. I'm beginning to think that the only way I can keep my customised settings is by disabling Firefox updates and sticking with 122.0.1 .

Helpful?

more options

Usually it's just a problem with changed selectors. However, we would only be guessing because we don't have the full picture of the problem. You could ask on r/FirefoxCSS (https://www.reddit.com/r/FirefoxCSS/).

Helpful?

  1. 1
  2. 2
Still et spørsmål

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