Ccleaner is OK but the use of the registry cleaner is just a ticking time bomb in my opinion.
I just don't see that! CC has been around for years and years, and used 100s of millions of times and during that period, it has NOT gained a reputation for breaking computers!
There are just too many fears based on experiences from 10 -15 or so years ago with early (poorly coded) Registry cleaners in the hands of inexperienced users, and those fears need to be let go. They just don't apply anymore! And it is not fair to lump CC in with all Registry Cleaners. IMO, CC is not like any other cleaner. For one, it is not aggressive. For another, it prompts to backup the Registry before making changes. And third, restoring from that backup works.
The problem with (some) Registry cleaners is people often use them to "fix" a broken Windows on a computer that has not been "cleaned" - ever! If used, ideally they should be used fairly regularly for "preventative maintenance" from the start - when the computer is new, and not repair maintenance - unless you really know your way around the Registry. That said, a cleaner is often very effective at "fixing" things like file associations, applications that will not uninstall, and drivers that refuse to update.
Another problem is the cleaner makers themselves - or their marketing departments - making wild claims like, "Increase Windows performance to better than new!" That's hogwash!
Is there a risk with using a decent cleaner? Sure. But at some point, we have to stop saying, "Stay away from the street!" and instead say, "Be careful crossing the street!"
What's a decent cleaner? One from a major maker. I have tested and used on my own systems with no problems System Cleaner from Comodo, Glary's Cleaner, and of course, CC - though I much prefer CC because it is NOT very aggressive and does not try to impress by finding
many 100s of (sometimes more than a 1000 :() "problems".
NO DOUBT! the vast majority of those are simple and
harmless orphaned entries that do not need to be removed.
I definitely use CC before a repair install, or fresh install. But sadly, I cannot recommend such action on forums because of all the flack from others (including trusted colleagues) who oppose
ALL Registry cleaners because of what they MIGHT do, or reportedly did years ago.

In fact, it has gotten to the point I often don't even mention CC for disk cleaning because of the uproars from anti-registry cleaner folks. And that's too bad, IMO because while Windows own Disk Cleanup is good, it is not as flexible as CC's disk cleaner. And CC is not as aggressive as other, often recommended cleaners either.