Disable commands

This policy setting allows you to disable specific command bar buttons and menu items in the specified applications.

If you enable this policy setting you can disable specific command bar buttons and menu items in the user interface for the selected application. The predefined list of command bar buttons and menu items you can disable becomes available to you when you enable this policy setting.

If you disable or do not configure this policy setting, the predefined list of command bar buttons and menu items are enabled for the application.


Supported on: At least Windows 7
Disable Policy:
Registry HiveRegistry PathValue NameValue TypeValue
HKEY_CURRENT_USERsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxesfilepublishaswebpageREG_DWORD
HKEY_CURRENT_USERsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxesweboptionsREG_DWORD
HKEY_CURRENT_USERsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxesgeneraloptionsREG_DWORD
HKEY_CURRENT_USERsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxesfileopensearchthewebREG_DWORD

File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Web Page Preview
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
File tab | Share | Email
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
Insert tab | Links | Hyperlink
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
File tab | Info | Protect Document
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
View tab | Macros | Macros
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
Developer tab | Code | Macros
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
Developer tab | Code | Record Macro
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
Developer tab | Code | Macro Security
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
Developer tab | Code | Visual Basic
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
Developer tab | Templates | Document Template
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0
File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Document Location
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes
Value Namefileopensearchtheweb
Value TypeREG_DWORD
Default Value0
True Value1
False Value0

excel16.admx

Administrative Templates (Computers)

Administrative Templates (Users)