In order to organize some T4-generated files within my solution, and per this excellent answer, I have a .reg file that I use to add a key and three values under the following Visual Studio registry key (currently formulated for VS 2015):
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config\Projects\{FAE04EC0-301F-11d3-BF4B-00C04F79EFBC}\RelatedFiles\
Periodically and intermittently, I find that this key has been overwritten and I must run my .reg file again to restore my custom Visual Studio behavior. I have seen this happen every few months or so, for many years, across several versions of Windows and VS, on many machines, and three different domains (on one of which I am sole admin). There's no obvious (to me) temporal association between the overwrites and either Group Policy or Visual Studio Updates, so my best guess is that either Visual Studio is periodically performing some sort of self-"repair", or else certain Windows Updates are overwriting these keys for some reason.
What mechanism is likely causing this (or how could I go about detecting it myself)?
More importantly, what method would be the best practice to either prevent the overwrites or automatically "repair" them when they do disappear? I know I could probably use group policy (where I am a domain admin) to force the registry entries, but I don't have GPO admin rights at every site where I work, and I'd prefer an option that was less ServerFault-y and more StackOverflow-y, particularly because I haven't yet identified the root cause.