Yep good tip Gect. I have had my pref become corrupted so I actually make a backup of my entire maya folder. In the event you have to wipe you prefs you can recover your custom shelfs and hotkeys and scripts.
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675