I have a problem in CCleaner 5.27.5976 (64Bit) but I am nit sure if this is a bug.
I am working with an application called GUI-Analyser (programmed by my company).
The GUI-Analyser creates log files in the folder C:\temp\guianalyser\log.
These log files can be really huge, so I Included the folder C:\temp\guianalyser\log in the included folders.
I want to keep the log files for one week (in case there is a bug and the IT needs the log files) so I checked the checkbox "only delete files older than" and entered 168 hours.
This should only delete LOG filed that are older than 7 days (7 days * 24 hours = 168 hours).
After creating this rule I deleted all files in C:\temp\guianalyser\log.
After that I started the GUI-Analyser and worked with it (this was 2 days ago).
Today I started CCleaner and clicked on "Analyze".
CCleaner found some files in C:\temp\guianalyser\log but these files were created 2 days ago (21st of February).
Normally these files should be ignored (they are not older than 7 days)?
There's an old known "tweak" to turn off "timestamping" actually called NtfsDisableLastAccessUpdate which is system-wide and can cause issues with some programs like backup tools, cleaning tools, etc., so maybe it's worth investigating the system hasn't had that applied and there are some freeware programs that allow enabling and disabling it.
Maybe both you and @mta can both post the line in your ccleaner.ini (mta your apple sync line; Olli your guianalyser) see what the differences between the two brings out.
so they get listed, but are they all deleted or just the ones older than 168 hours? (none that old yet, but change the hours to 48 or something just to test things)
so they get listed, but are they all deleted or just the ones older than 168 hours? (none that old yet, but change the hours to 48 or something just to test things)
They get listed and all get deleted.
So this is not how CCleaner should work.
I added the path via the settings dialog (I did not manually edit the ini-file).
I have allot of RECURSE includes in my ccleaner.ini, none of that have two pipe symbols side by side though: ||
Here's two examples one a Path the other a File that I have with just one pipe symbol, like all the rest I have no matter where I've configured CCleaner to clean:
I mentioned the two pipe symbols in the previous post because they're often the culprit of something not working when for instance making a winapp2.ini cleaning routine - forget them or get them in the wrong place and the cleaning routine won't work - which is one reason I like to manually edit ccleaner.ini so I can see exactly what's going on.
Edit:
And something I have no ideal if it's needed or not so that CCleaner honors a time rule, make sure these are enabled/ticked and try again to see if it honors the length of time you have put in place:
Options > Advanced > tick/enable both of the 24 hour rules to see if they're the possible reason it isn't working for you OLLI.
what date in changing (or not changing) on that .LOG file, date accessed, date modified, date created etc....?
and I'm also wondering what group policies have been implemented on your work PC's that may be hindering this whole process.
have you been right clicking the CC portable executable and 'run as admin' ?
Here are the dates of one of those files (I have a German Windows 7, so I just translated the days but nit the time format):
Created: Friday, 10. March 2017, 08:47:37
Modified: Friday, 10. March 2017, 08:48:03
Last Access: Friday, 10. March 2017, 08:47:37
Although I have set "only delete files older than" to 168 hours this file is offered for deletion.
I noticed that one log file created today and an other log file created yesterdayafternoon is not offered.
So CCleaner Portable seems to ignore my setting and does delete files older than 24 hours.
The same problem occurs no matter if I have the setting "Only delete files in the in the Windows Temp folders older than 24 hours" (in the Advanced Options) enabled or disabled.