Disable predefined commands
Supported on: At least Windows Server 2008 R2 or Windows 7
Registry
HKCU
software\policies\microsoft\office\16.0\visio\disabledcmdbaritemscheckboxes Options
filesendtomailrecipient boolean inserthyperlink boolean toolsmacrosmacros boolean toolsmacrosvbe boolean toolsoptions boolean Description
Specify command bar buttons and menu items to disable.