Disable commands

This policy setting allows you to disable any command bar button and menu item with a command bar ID, including command bar buttons and menu items that are not in the predefined lists.

If you enable this policy setting, you can enter an ID number to disable a specific command bar button or menu item. The ID number needs to be in decimal (not hexadecimal). Multiple values should be separated by commas.

If you disable or do not configure this policy setting, all default command bar buttons or menu items are available to users.

Supported on: At least Windows 7

Enter a command bar ID to disable

Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\16.0\excel\disabledcmdbaritemslist
Value NameTCID{number}
Value TypeREG_SZ
Default Value

excel16.admx

Administrative Templates (Computers)

Administrative Templates (Users)