Try running a basic registry cleaner or system solution like
CCleaner?
Keep regular backups of the registry (always a good idea).
(If it is a specific registry key that now has an incorrect value you should be able to replace it with a correct value using regedit.exe or any of a number of other registry editors.)