When I upgraded to blender 2.78, I couldn't recover my old user preferences settings. I had my own theme, my own hotkeys, and my preferred addons. I tried to figure out which files but I couldn't . Note: I downloaded blender 2.78 as zip file not installer
enter image description here