Using ccleaner.ini to modify how CCleaner runs

Normally, CCleaner stores its own settings in the Registry. If you want to manipulate these settings using scripting, you can tell CCleaner to store them in ccleaner.ini, which will be stored in CCleaner's program folder. To change how CCleaner stores its settings, see this topic.

The INI settings are as follows.

Item Description Settings
(App)Program Name The program CCleaner will clean. True - Check box selected when you start CCleaner.
False - Check box cleared when you start CCleaner.
AutoClose Closes CCleaner after cleaning. 0 - Disabled.
1 - Enabled.
BackupDir Default path for Issues Registry backup.
BackupPrompt Prompts user to back up Registry Issues before removal. 0 - Disabled.
1 - Enabled.
BrowserMonitoring Whether or not monitoring is active for browsers on the system (CCleaner Professional).

0 - Disabled.
1 - Enabled. 

CookiesToSave Lists cookies user has selected to keep.
CustomFiles (Not longer used. See IncludeX) Lists files user has specified to include or exclude in Custom Files.
CustomFolders (Not longer used. See IncludeX) Lists folders user has specified to include or exclude in Custom Folders.
DefaultDetailedView Detailed view pane for whole analysis or cleaning just after the operation is finished.

0 = Disabled.
1 = Enabled.

IncludeX (e.g. Include1, Include2) Custom files or folders the a user has specified to clean. [PATH|FILE]|Path|Filename
ExcludeX (e.g. Exclude1, Exclude2) Custom files or folders the a user has specified to exclude from all cleans. [REG|PATH|FILE]|Path|Filename
FinderIncludeX (e.g. FinderInclude1, FinderInclude2) Drives or folders CCleaner will use when searching for duplicate files. PATH|PATH\|Filetype|[RECURSE]
FinderIncludeStates Whether the checkboxes for folders referenced by FinderIncludeX above are initially checked or unchecked.

0 - Cleared
1 - Selected

For example, if there are three FinderIncludeX statements, you can specify their checked/cleared status using the pipe symbol:
FinderIncludeStates=1|0|1 would check the first and last items, and the middle one would be unchecked.

DelayTemp If enabled, CCleaner will only delete temporary Windows files older than 48 hours. 0 - Disabled.
1 - Enabled.
HideWarnings If enabled, CCleaner displays no warnings when advanced items are selected in the rules tree. 0 - Disabled.
1 - Enabled.
Language The language file installed with CCleaner.
IEDetailed If enabled, CCleaner displays a detailed log of Internet Explorer temporary files. 0 - Disabled.
1 - Enabled.
FFDetailed If enabled, CCleaner displays a detailed log of Firefox/Mozilla temporary files. 0 - Disabled.
1 - Enabled.
Language The language file installed with CCleaner.
MinimizeSystemTray If enabled, CCleaner will be minimized to the system tray when the user clicks the Close button. 0 - Disabled.
1 - Enabled.
MSG_CONFIRMCLEAN The user is asked to confirm the Cleaning operation. True - the check box is selected when CCleaner starts.
False - the check box is cleared when CCleaner starts.
MSG_WARNMOZCACHE When the user selects Internet Cache in Mozilla Firefox to be cleaned, a warning message appears. True - the check box is selected when CCleaner starts.
False - the check box is cleared when CCleaner starts.
MSG_WARNCHROMECACHE When the user selects Internet Cache in Google Chrome to be cleaned, a warning message appears. True - the check box is selected when CCleaner starts.
False - the check box is cleared when CCleaner starts.
SystemMonitoring Whether or not monitoring is active for the system (CCleaner Professional). 0 - Disabled.
1 - Enabled. 
SystemMonitoringSavingsAction If system monitoring is active (see above), the default action used (CCleaner Professional). 3 - prompt to clean.
4 - auto clean with notification.
5 - auto clean without notification.
UpdateCheck CCleaner checks for software updates every 10 minutes or when it starts. 0 - Disabled
1 - Enabled
SecureDeleteType If enabled, CCleaner uses a secure deletion method (see below). 0 - Disabled
1 - Enabled
SecureDeleteMethod If SecureDeleteType is set to 1, this setting determines which secure deletion method is used. 0 - Simple Overwrite (1 pass)
1 - DOD 5220.22-M (3 passes)
2 - NSA (7 passes)
3 - Gutmann (35 passes)
UPDATEKEY The date and time CCleaner last checked for an update. Do not modify.
WINDOW_HEIGHT, WINDOW_LEFT, WINDOW_MAX, WINDOW_TOP, WINDOW_WIDTH Settings representing CCleaner's window position. Do not modify.

Looking to clean up your business? Learn More

×