Quite often I find myself in a situation where I need to determine where a setting is located in the registry. It usually requires some detective work, but I have refined a technique that helps me find out quickly most of the time.
It’s a four step process:
Export the section of the registry that I expect to contain the setting, using regedit.exe.
Navigate to the top key of the section to export, right-click, and Export. I name this file before.reg.
Make a change to the setting, making sure to apply the setting so that it’s written to the registry. Try to do as little else as possible at this time, to prevent unwanted changes to the registry.
Export the same section from the registry as step 1. Name this file after.reg.
Use a file comparison tool, such as
to see what changed.
Most of the time this takes me right to where the setting is stored. Usually if it doesn’t it’s because I’m looking in the wrong part of the registry or because the act of saving the setting changes so much else that there’s too much noise.
Hopefully this little tip will help you out at some point.