If you have aa backup of a good registry revert back to that.

If not, you can try a registry cleaner (think Bob has one in his links), but normally they clean and do not repair.

If this doesn’t solve the problem, do a repair of the OS.