Hi and welcome.
In the future, stick with Ccleaner only for the registry. I don't know what you used, but Ccleaner with never give you any problems.
You probably have a recovery partition on the machine. Investigate the procedure for your exact model on how to restore the machine to factory state using this partition.
It's only a few simple steps byt most OEMs are different in the procedure.