# Specifically retrieving all "non-default" option values from the Options Inspector

Recently Mathematica broke on me and I had to reinstall. I lost all of the changes I've made in my Options Inspector over the past year and am attempting to go back and change them again by memory. It's somewhat frustrating. In the future I would like to avoid this.

I'd like to keep a copy of all option settings which I've changed from their default values. It would be great to have a list. There are a lot of options, so I would like this list to contain only the ones that have been changed from default. Is there a way to gather this information programmatically?

This would allow me to create a function that when executed will change all of these options at once so I'm back up and running quickly. It would be nice to see these options in a list to remind me of what I changed. Any ideas on how this would be done?

Mike

According to the "Front End" section of Configuration Files for the Wolfram System, user preferences, including those set by Options Inspector, are located in \$UserBaseDirectory in the file "/FrontEnd/init.m". This is a large file, and the options set by Options Inspector are at the end. The list appears to contain all options, whether changed by the user or not.
• diff-ing the modified init.m with a pristine copy is a nice idea. Oct 14, 2015 at 17:16
• @Kvothe, there isn't a backup unless you already made one before you started modifying your init.m. Perhaps what you can do is to save your already modified init.m somewhere else, uninstall and reinstall Mathematica, and then compare your backed up init.m with the one from the fresh installation. Aug 14, 2020 at 22:48