I need a change script to change some registry entries for M$ Excel program (solely 2010, 2013 and 2016), to make it work along with Sandboxie.
I can't do a fixed reg file since it has some variables that changes and become unique on every installation on every different scenario.
Requirements:
1. The script needs to make a backup (reg file) of the following entries as a first function (here don't matter Office version or achitecture):
HKEY_CLASSES_ROOT\Excel.Sheet.12\shell\Open
HKEY_CLASSES_ROOT\Excel.Sheet.8\shell\Open
HKEY_CLASSES_ROOT\Excel.SheetMacroEnabled.12\shell\Open
2. Then, the script must be able to make the following changes depicted in the image:
The image shows only Excel.Sheet.8 entry yet the script must consider Excel.Sheet.12 and Excel.SheetMacroEnabled.12 as well.
To all the scriptmasters in here, thanks in advance for you help.