CCleaner is wiping Firefox Extensions Settings, how to fix

Recently Microsoft Defender has started flagging CCleaner as Potentially Unwanted Application, CCleaner users using Firefox are now facing a new issue. If you run CCleaner, behind the scenes, it is now clearing Firefox extensions Settings data, this is due to the new Storage sync Mozilla implemented in Firefox 79 which CCleaner simply doesn’t aware of to comply.

CCleaner cleaning Firefox Internet cache

The issue has been reported to Piriform in July when Firefox was in Beta, but still, even after stable release, no action has been taken which now resulting in users to lose extensions data including popular ones such as NoScript.

If you sign to Firefox Account and sync extensions and other data to various devices, starting Firefox 79 “items that extensions store in this (Storage.sync) area are automatically synced to all devices signed in to the same Firefox Account”.

With the changes to Storage sync in place, when an extension tries to access storage sync data in Firefox for the first time, extensions data stored in profiles will be automatically migrated and the data will be stored locally in the new “storage-sync2.sqlite” file in the profile directory.

At present, Firefox 79 profile folder contains the following new files

  • Storage-sync-v2.sqlite
  • Storage-sync-v2-sqlite-shm
  • storage-sync-v2.sqlite-wal

storage-sync-v2.sqlite files in Firefox profile folder

As CCleaner cleans Firefox Internet cache by default (unless you uncheck it in the CCleaner UI for Firefox under Applications tab), it is now deleting the last two files mentioned above.

Firefox profile folder after ccleaner cleaning

Fix

You need to exclude Storage-sync-v2-sqlite-shm and storage-sync-v2.sqlite-wal files from cleaning. You can say this to CCleaner by adding the following to the CCleaner.ini file or you can add those two files in Exclude dialog.

exclude sqlite shm and sqlite wal files in CCleaner

Exclude1=PATH|%AppData%MozillaFirefoxProfiles*|*.sqlite-shm;*.sqlite-wal||0|0|24

Are you affected?

UPDATE August 3, 2020: Updated the instructions in the article to suggest exclude files command should be added to ccleaner.ini file instead of to files in Exclude UI of CCleaner options.

Related articles:

CCleaner 5.48 beta fixes Firefox Profile corrupt issue

Manage Firefox Plugins right from CCleaner

CCleaner v5.17 Improves Firefox Cleaning and Chrome Extension Management

Venkat Eswarlu

Venkat is an independent technology journalist and the founder of Techdows. He has been covering web browsers, Windows, and software news since 2009. His exclusive scoops on Chrome, Firefox, and Edge features have been cited by Forbes, TechCrunch, Wired, CNET, and other major publications.

Leave a Reply

Your email address will not be published. Required fields are marked *