CCleaner has a problem deleting folders
Posted 24 March 2012 - 01:19 PM
After some additional testing with the current release (both problems are still valid in 316.1666), it appears that for some reason the expected deletion of folders where applicable just isn't happening. For example, in my temp directory, I may have a dozen folders, some with subfolders, and there are files scattered in the top level, in the folders, and even in the subfolders. When I run CCleaner, all the files get deleted but... all the folders are left behind and remain as they were. I'd originally thought that the problem was something in the way the recycle bins on a dual disk system were being handled, but now believe it's a more global problem specifically related to folders since the recycle bin is also cleaned correctly - except for leaving behind any folder.
%temp% is in the default place, and it's being cleaned as expected - except for any folders. This problem started several releases ago (I don't remember the release where the problem began, but it's listed in the recycle bin problem discussion). Reverting to a prevous release runs as expected - also as described in the recycle bin problem.
XP, 32bit, SP3
Posted 24 March 2012 - 01:40 PM
Posted 25 March 2012 - 05:00 AM
Posted 25 March 2012 - 11:35 PM
Posted 27 March 2012 - 12:11 AM
Posted 28 March 2012 - 12:40 PM
The only different is that portable version doesn't use Windows Registry for settings, but ccleaner.ini.
We are trying to reproduce this issue, but haven't been successful. If we can't reproduce it is quite impossible to fix it.
Posted 30 March 2012 - 04:29 PM
The previous topic mentioned above by RunAmok ...
Dennis, it appears they had trouble actually finding the root cause & getting it to delete.
I recently had that problem, & I had trouble myself deleting a file from the recycle bin, even after trying to delete the Recycler with Unlocker.
What worked for me, is to turn off system restore, then to set recycle bin size = 0 / OK / Delete hidden Recycler cache with Unlocker / Reboot / Run CCleaner / Reset to normal size.
Some of those steps may not have been totally necessary, but are included in case someone has problems.
Example of why this is needed:
I was working on someone's computer with compromised permissions due an infected machine with TDSS rootkit installed. This also caused the normally protected C:\System Volume Information folder contents to be navigable.
While removing malware such as this, one of the A/V programs detected & removed several nasties from System Restore cache.
Recycle bin refused to let the file be deleted, & each subsequent "Delete with Unlocker" for the Recycle bin hidden folder would cause it to be recreated in the new Recycled cache with a new name.
Setting Recycle bin to 0 & shutting off System Restore while performing the steps above caused the problem to go away for me.
Additionally, I had to right-click the ini file necessary to reinstall System Restore in the Windows directory as System Restore service was malfunctioning and not working on this PC. Windows stated the restore service is on & working, but it wouldn't do a restore, so I had to re-install it to get it working & then I cleared the old restore points that no longer worked by right-clicking the C: drive \ properties \ doing a disk cleanup which included old restore points.
And this fixed the problems. I am sure this will help others who are experiencing the same. An undeletable file in the recycle bin can be made to go away, but they key is to set the recycle bin size to 0, & it may help to flush your System Restore cache if the file(s) being deleted happens to be from that area.
Posted 29 April 2012 - 02:46 PM
Posted 06 May 2012 - 11:24 PM
To summarize that entry here, CCleaner releases from 3.11 through 3.18, downloaded and installed, fail to delete folders in my environment. 3.10 and the portable versions of the last two releases work as expected, and the .ini files for the failing version and the portable version of 3.18 were identical in the test. The recycle bin problem can easiy be overcome by simply emptying the recycle bin using the recycle bin "Empty". But for all the other places that folders need to be deleted, the solution is not nearly as obvious. For all those other places, there's simply no quick and easy way to get around what the installled versions of CCleaner isn't doing - beyond sticking with the portable version.
Posted 07 May 2012 - 06:35 PM
I just wonder because of that old supposedly fixed Recycle Bin bug from several versions ago, and with all the "enhancements" in so many versions for cleaning the Recycle Bin as seen in the change logs all of which are available on FileHippo.com.
Don't PM me for advice or help! I'll only ask you to read forum rule #15.
Posted 08 May 2012 - 04:44 PM
Posted 12 June 2012 - 03:30 PM
Posted 13 June 2012 - 12:32 AM
I don't think ccleaner would be allowed to delete files such as these, they are protected by the system from 3rd party interference
Posted 13 June 2012 - 10:43 AM
Posted 16 June 2012 - 03:03 PM
Although everything else here seems to work as expected, there appears to be something unique in my system causing what I see here, so I can't test combinations of special attributes here since CC doesn't appear to delete any folders - whether or not they have special attributes like system, hidden, read only, or some other NTFS attribute I'm not aware of. The problem began with release 3.11, and has continued up through 3.19, but CC still works normally with version 3.10. It only fails with the normal downloaded package and works with the portable version - and version 3.10 or the portable version of the current release are options you might try. That difference between normal and portable suggests my problem is due to something in the registry , but... I haven't been able to find anything that looks suspicious other than two 'legacy' entries which are set to :"WIN95" even though I'm running XP SP3 32bit.
Posted 16 June 2012 - 04:30 PM