Duplicate Finder - Writing on disk

Hi all,

I am using CCleaner Duplicate finder to delete a lot of dupplicate on the samba share. The detection goes fine, but as soon as I wanted to delete a single file, I see CCleaner writing on disk, a lot (on the Windows Task Manager). It gets stuck in 0% progress bar. Any idea ?

Thanks !

Scawy

Please note that CCleaner (and our other products) will not be able to work across networks, and so can't be used with shared drives of any sort (other Windows computers, computers of other OS's such as Samba Share allows, NASs, etc).

As such, what's very likely happening is that CCleaner doesn't know what to do in this situation, as it's trying to send the commands it would for a normal, local, Windows drive but not getting responses back it can understand.

I am, to be completely honest, rather surprised that it's even able to detect the files in this situation.

(If I am misunderstanding your inquiry and you meant that you were using Samba Share to share a local drive/folder, and were running CCleaner on the same computer it's being shared from, that would improve your chances, but it is entirely possible that the sharing system is 'locking' these files, preventing them from being deleted. In that case, you may only be able to use this when it is not being shared.)

Thanks for your quick and clear answer !

Best regards, Scawy

I was intrigued by this subject - so tried something and got an interesting result.

I found that in certain cases CCleaner's Duplicate Finder can work on Networked drives.

It depends just what type of network it is, and how the drive is networked.

I have a drive connected to my router (BT Smart HUB 2), it's plugged into the USB port on the hub.

(Currently it's a thumb drive, but I have had a HDD on there as well for doing backups).


That drive is mapped as a Network drive, (Z), on both my laptops, with the folders shared so that both laptops can read and write to it over wifi.

I deliberately created copies of a small text file and a jpeg image on that drive.

Then I fired up CCleaners Duplicate Finder, Include>Add, browsed to the 'Z' drive no problem, and made the include for all file types.


Searching 'Z' drive found the duplicate files.


I selected the duplicates and clicked 'Delete Selected' - the duplicates were deleted.


Checking in File Explorer the duplicates are indeed gone.

OK it's a Windows mapped drive not a Samba share, so the comments from @johnccleaner still stand.

It is still interesting though that Duplicate Finder was able to do what it did on a shared drive connected over wifi on a Local Area Network.

Although perhaps not that surprising, it's not that different to plugging a drive directly into a USB port on the computer.

However trying to go further and set a certain filetype for cleaning on the networked Z drive, as an Include in Custom Clean, it wouldn't let me.

Which is as expected, it would be a security hole if you could do that and delete <em>original files</em> from such a drive.

image.png

How curious. So far as I knew, that's not supposed to be possible. :)

Thanks for testing that, I'll do a bit of poking around on my side to try to see if we've changed something or if Microsoft did.

I don't see it as a problem, just interesting.