Using ini files

Hi all,

I now this is covered in the Advanced Usage section, but there still something I am not clear on.

http://www.piriform.com/docs/ccleaner/advanced-usage/ccleaner-ini-files/what-do-ccleaner%27s-ini-files-do

Do I have to first create the INI file using CCLeaner first?

Instead, I have installed CCLeaner, then I downloaded the latest embedded ini files )http://forum.piriform.com/index.php?showtopic=15307), changed the winsys.ini file (I don't want the recycle bin emptied), and then put it in the CCleaner install directory.

But when I run CCLeaner from the command line: Cleaner.exe /Auto

It *still* empties the recycle bin.

Thanks in advance!

Dave

placing the embedded ini's in the ccleaner directory will not (AFAIK) overrule CCleaner's functions. Did you un-check it in the ccleaner program? The recycle bin option, that is.

changed the winsys.ini file

There are only 5 off *.ini files documented, and winsys.ini is NOT one of them so any such file is ignored.

You simply uncheck what you do not want and when you close CCleaner the unchecked decision will be remembered the next time it runs.

This is NOT dependant upon use of any INI - it also works with the default installation that uses the registry.

If you will want to tweak an INI then simply used the advanced settings to Save to INI and that gives you a viable CCleaner.INI.

Alan

To do what you are attemping to do (though why not as suggsted above uncheck recycle bin and anything else you don't wat cleaned) you need to rename winsys.ini to winsys1.ini

thanks for the replies all!

I want to be able to be able to remotely deploy ccleaner and not have to open it on every single to set the default settings.

So it looks as though If I rename the winsys.ini file to winsys1.ini should do it?

I'll give it a shot and post back later, thanks!

Dave

To do what you are attemping to do (though why not as suggsted above uncheck recycle bin and anything else you don't wat cleaned) you need to rename winsys.ini to winsys1.ini

For remote deployment the best method is to set ccleaner to save settings in ini file (options/Advanced). This will save your settings into the folder where the ccleaner.exe is. Then every user/computer running this shared version of ccleaner will have the same settings. Then uncheck recycle bin. Win*1.ini files are tricky and you have to reupdate them every time ccleaner is updated or you wouldn't get the full update (including bugfixes related to the winsys section)

Again I caution you not to try to do winsys1.ini and to just uncheck recycle bin