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!

Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Profile copied to different computer not recognised

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.

Modificado por mail226 a

Todas as respostas (15)

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.

Útil?

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

Útil?

more options

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

Útil?

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.

Útil?

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.

Útil?

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.

Útil?

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.

Modificado por mail226 a

Útil?

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.

Modificado por mail226 a

Útil?

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?

Útil?

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?

Modificado por mail226 a

Útil?

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)

Útil?

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?

Útil?

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.

Útil?

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?

Útil?

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.

Útil?

Colocar questão

Deve iniciar a sessão com a sua conta para responder às mensagens. Por favor, comece uma nova pergunta, se ainda não tiver uma conta.