Jump to content
Welcome to our new Citrix community!
  • 0

Profile Management - No Synchronization of Mozilla Firefox "key4.db"

Joachim Ludwig




We are working on a Windows Server 2016 Terminalserver environment (MCS) / XenApp 7 and since a couple of weeks our employees complain that in Mozilla Firefox saved logins / website passwords are gone every day again.


These Logins / Passwords are stored in the file "key4.db" which is located in "AppData\Roaming\Mozilla\Firefox\Profiles\XXX.default\"

Our User Profile Manager does not synchronize this one file on logoff.  (The synchronization of the other files and folders in Firefox Profile are OK)

So every day the users start working with a new empty key4.db after logon -> No saved logins.


With Citrix Studio, we configured the User Profile Manager Settings in policy.

There is no exception for this file.


We tried usind the VDA 1808.2 and 1811 (Both clean installation)

Firefox is up to date, too.


Does anyone else know this problem and maybe can offer a solution?


Thank you in advance.


Best regards,

Marvin Kohnen


Link to comment

1 answer to this question

Recommended Posts

because of this, and some other issues ...

I am using Folders to mirror for chrome, firefox, IBM notes, and some other apps..
and deleting what is not necessary from these folders in logoff script,


here some example


DEL /f /q /s "%APPDATA%\*.dmp"
DEL /f /q /s "%APPDATA%\*.bak"
DEL /f /q /s "%APPDATA%\*.exe"
DEL /f /q /s "%APPDATA%\*.msi"

DEL /f /q /s "%LOCALAPPDATA%\*.log"
DEL /f /q /s "%LOCALAPPDATA%\*.dmp"
DEL /f /q /s "%LOCALAPPDATA%\*.bak"
DEL /f /q /s "%LOCALAPPDATA%\*.exe"
DEL /f /q /s "%LOCALAPPDATA%\*.msi"


RD /q /s "%APPDATA%\Microsoft\Skype for Desktop\media-stack"
RD /q /s "%APPDATA%\Microsoft\Skype for Desktop\skylib\DataRv"
RD /q /s "%APPDATA%\Microsoft\Skype for Desktop\logs"
RD /q /s "%APPDATA%\Microsoft\Skype for Desktop\GPUCache"
RD /q /s "%APPDATA%\Microsoft\Skype for Desktop\databases"
RD /q /s "%APPDATA%\Microsoft\Skype for Desktop\dictionaries"
RD /q /s "%APPDATA%\Microsoft\Skype for Desktop\Cache"

DEL /f /q "%APPDATA%\Microsoft\Skype for Desktop\skylib\*.blog"
DEL /f /q "%APPDATA%\Microsoft\Skype for Desktop\Cookies"
DEL /f /q "%APPDATA%\Microsoft\Skype for Desktop\Cookies-journal"
DEL /f /q "%APPDATA%\Microsoft\Skype for Desktop\QuotaManager"
DEL /f /q "%APPDATA%\Microsoft\Skype for Desktop\QuotaManager-journal"
DEL /f /q "%APPDATA%\Microsoft\Skype for Desktop\device-info.json"
DEL /f /q "%APPDATA%\Microsoft\Skype for Desktop\shared.*"
DEL /f /q /s "%APPDATA%\Microsoft\Skype for Desktop\*.old"


REM clean up CHROME profile
RD /q /s "%APPDATA%\Chrome\Default\JumpListIconsOld"
RD /q /s "%APPDATA%\Chrome\Default\Sync Data Backup"
RD /q /s "%APPDATA%\Chrome\Default\Media Cache"
RD /q /s "%APPDATA%\Chrome\Default\GPUCache"
RD /q /s "%APPDATA%\Chrome\Default\Application Cache"
RD /q /s "%APPDATA%\Chrome\Default\Extension State"
RD /q /s "%APPDATA%\Chrome\Default\recovery"
RD /q /s "%APPDATA%\Chrome\Default\Pepper Data\Shockwave Flash"
RD /q /s "%APPDATA%\Chrome\Default\GCM Store"
RD /q /s "%APPDATA%\Chrome\Default\File System"
RD /q /s "%APPDATA%\Chrome\default\Service Worker\CacheStorage"
RD /q /s "%APPDATA%\Chrome\Default\Service Worker\ScriptCache"
RD /q /s "%APPDATA%\Chrome\Default\Extensions\Temp"
RD /q /s "%APPDATA%\Chrome\default\Storage\ext\chrome-signin\def\GPUCache"
RD /q /s "%APPDATA%\Chrome\default\IndexedDB"
RD /q /s "%APPDATA%\Chrome\default\Local Storage"

DEL /f /q "%APPDATA%\Chrome\Default\ChromeDWriteFontCache"
DEL /f /q "%APPDATA%\Chrome\Default\QuotaManager"
REM DEL /f /q "%APPDATA%\Chrome\Default\*.bak"
DEL /f /q "%APPDATA%\Chrome\Default\*-journal"
DEL /f /q "%APPDATA%\Chrome\Default\ev_hashes_whitelist.bin"
DEL /f /q /s "%APPDATA%\Chrome\Default\log.*"


REM clean up FIREFOX profile
RD /q /s "%APPDATA%\Mozilla\Firefox\Crash Reports"
RD /q /s "%APPDATA%\Mozilla\Firefox\Pending Pings"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\crashes"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\datareporting"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\gmp"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\gmp-eme-adobe"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\gmp-gmpopenh264"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\gmp-widevinecdm"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\healthreport"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\indexedDB"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\jetpack"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\minidumps"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\saved-telemetry-pings"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\storage"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\sessionbackups"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\weave"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\webapps"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\sessionstore-backups"
RD /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\extension-data"
RD /q /s "%APPDATA%\Mozilla\firefox-old"

DEL /f /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\Telemetry.*"
DEL /f /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\healthreport.*"
DEL /f /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\downloads.*"
REM DEL /f /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\*.bak"
DEL /f /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\patterns-backup*.*"
DEL /f /q /s "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\*.corrupt"
DEL /f /q "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\Invalidprefs.js"
DEL /f /q "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\prefs-*.js"
DEL /f /q "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\memory-report.*"
DEL /f /q "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\sessionstore.js"
DEL /f /q "%APPDATA%\Mozilla\Firefox\Profiles\UPV.default\session.rdf"


REM clean up LOTUS NOTES profile
RD /s /q "%LOCALAPPDATA%\IBM\Notes\Data\workspace\BrowserProfile"
RD /s /q "%LOCALAPPDATA%\IBM\Notes\Data\workspace\BrowserHistory"
RD /s /q "%LOCALAPPDATA%\IBM\Notes\Data\workspace\UDM"
RD /s /q "%LOCALAPPDATA%\IBM\Notes\Data\workspace\.configbak"
RD /s /q "%LOCALAPPDATA%\IBM\Notes\Data\workspace\.metadata\.plugins\com.ibm.rcp.bizcard\cache"
rem RD /s /q "\\TISA\DOCUMENTS$\%USERNAME%\My documents"
DEL /f /q "%LOCALAPPDATA%\IBM\Notes\Data\*.lck"
DEL /f /q "%LOCALAPPDATA%\IBM\Notes\Data\Cache.NDK"
DEL /f /q "%LOCALAPPDATA%\IBM\Notes\Data\Cache.ntf"
DEL /f /q "%LOCALAPPDATA%\IBM\Notes\Data\workspace\logs\*.xml"
DEL /f /q "%LOCALAPPDATA%\IBM\Notes\Data\workspace\logs\*.lck"
DEL /f /q "%LOCALAPPDATA%\IBM\Notes\Data\workspace\logs\*.js"
REM DEL /f /q /s "%LOCALAPPDATA%\IBM\Notes\Data\*.dmp"
DEL /f /q /s "%LOCALAPPDATA%\IBM\Notes\Data\*.log"


Link to comment


This topic is now archived and is closed to further replies.

  • Create New...