Where does CCleaner store options in the registry. I'd like to be able to set the option to "Shutdown after cleaning" from a small program rather than remembering to turn it on and back off in the options menu.
CCleaner has command-line parameters, so it's as simple as creating a new shortcut that tells it to clean and shutdown the PC.
See here: