1. Go to your Blender configuration folder:

  2. Copy the file userpref.blend (or the whole config folder) to a safe location. or you can zip it.

  3. If something goes wrong, replace the file/folder to restore your preferences.