Search notes:

Registry: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Options

SQLSecurityCheck

The value of SQLSecurityCheck controls whether opening a Word document with a MailMerge causes a message box with the warning Office Object Model: Word - MailMerge.
If SQLSecurityCheck is set to 0, the warning will not be issued.
See also support.microsoft.com / 825765.

DeveloperTools

If the value of DeveloperTools is set to 1, Word displays the developer tools (which is required(?) to record macros).
Compare with the same value under HKEY_CURRENT_USER\Software\Microsoft\Office\_version_\Excel\Options.

Setting these options with PowerShell

The following PowerShell script sets some of the options that are found under this registry key:
$officeVersion = (get-item hklm:\Software\Classes\excel.application\curVer).getValue('')  -replace '.*\.(\d+)', '$1.0'

new-itemProperty                                                       `
   -path "HKCU:\Software\Microsoft\Office\$officeVersion\Word\Options" `
   -name         SQLSecurityCheck                                      `
   -value        0                                                     `
   -propertyType dWord                                                 `
   -force                                                           |  `
    out-null


new-itemProperty                                                       `
   -path "HKCU:\Software\Microsoft\Office\$officeVersion\Word\Options" `
   -name         DeveloperTools                                        `
   -value        1                                                     `
   -propertyType dWord                                                 `
   -force                                                           |  `
    out-null
Github repository about-Windows-Registry, path: /HKEY_CURRENT_USER/Software/Microsoft/Office/application_version/Word/Options/setOptions.ps1

See also

HKEY_CURRENT_USER\Software\Microsoft\Office\{version}\{name}\Options
HKEY_CURRENT_USER\Software\Microsoft\Office\X.Y\Word

Index