Mortscript can do this with relative ease along with placing the resulting script in Windows/Startup (it can be done via notifications as well, but the Startup directory is easier as well as more compatible with Sashimi/XDA_UC)
Here is the Mortscript Manual that will teach you how to set registry keys:
HTML manual for MortScript - xda-developers
You can also set it to wipe out that pesky oversized HTC Album cache folder (Device/Application Data/HTC Album/cache)