Help with Firefox profiles in Remote Desktop environment #1116
Replies: 3 comments 3 replies
-
Yes, it is safe to delete folders that are not in profiles.ini I'm wondering if somehow there are multiple Firefox versions in different places. How many values that look like: [InstallSOMEHEXNUMBER] do you have in the profile? My guess is what is eating up space is the storage directory. See: https://bugzilla.mozilla.org/show_bug.cgi?id=1395705 You might just delete the storage directory every often. Users will lose cookies and other site data, but this is similar to what Chrome/Edge do (they don't roam site data) |
Beta Was this translation helpful? Give feedback.
-
You also might try setting MOZ_ALLOW_DOWNGRADE in your environment and see if that helps. This will keep Firefox from creating a new profile when a user moves between minor versions. I assume Firefox is always installed in the same directory? A couple interesting things from the profile. There are two installs of Firefox: [InstallE7CF176E110C211B] and [Install308046B0AF4A39CB] [Install308046B0AF4A39CB] is the most recent one as it has profile-97 [InstallE7CF176E110C211B] is older and hasn't been used in quite a while (profile 55) My guess is what is happening is new profiles are just getting created constantly because of version mismatches. I definitley think you can delete older profiles -97 seems to be the current one |
Beta Was this translation helpful? Give feedback.
-
You can set it as a windows environment variable. The only thing you can set with policy is LegacyProfiles which prevents Firefox installed in different directories from creating a new profile. |
Beta Was this translation helpful? Give feedback.
-
I've come into an environment where Firefox is installed in an RDS farm environment that uses roaming profiles, and the hosts keep running low on free space.
What I'm seeing is roaming profiles that contain Firefox profiles (AppData roaming) in excess of 5GB per user. It was my understanding that this would only contain things like saved passwords, bookmarks, etc.? AppData Local (where the "cache" would be) doesn't seem to be an issue as that gets wiped at logoff. I'm trying to find some ways to either systematically limit the size or number of these roaming profiles, or to programmatically clean them up without breaking the user.
My main question is... if the user's profile.ini file lists 5 different profile folders, but the Firefox\Profiles directory contains dozens (and in some cases HUNDREDS - yes really) of profile folders, is it safe to delete the folders that are NOT listed in the profile.ini file? All of these "old" folders contain about 50MB of files each, and they add up quickly since there's no self-cleanup.
On a similar topic, what scenarios would cause a user's profile.ini file to contain several dozen profile entries? I can't imagine these users are creating their own new profiles.
The RDS servers do receive regular Firefox patches, though they may be off a version between them depending on the patching cadence. Not sure its related but thought I would mention it.
Beta Was this translation helpful? Give feedback.
All reactions