Policy
Disable predefined commands
Microsoft Office 5532.1000
Policy overview
Key metadata and intent for this policy.
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.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
File tab | Options | Customize Ribbon | All Commands | Web Page Preview ID L_OfficeButtonxcelOptionsCustomizationCombinedPreviewWebPagePreview | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\filewebpagepreview Type REG_SZ | Options: true (3655), false (0) True: Set value = "3655" · False: Set value = "0" |
File tab | Share | Email ID L_OfficeButtonExcelOptionsCustomizationMailRecipient | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\sendtomailrecipient Type REG_SZ | Options: true (2188), false (0) True: Set value = "2188" · False: Set value = "0" |
Insert tab | Links | Hyperlink ID L_InsertLinksHyperlink | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\inserthyperlink Type REG_SZ | Options: true (1576), false (0) True: Set value = "1576" · False: Set value = "0" |
Review tab | Changes | Protect Sheet ID L_ReviewChangesProtectSheet | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\toolsprotectsheet Type REG_SZ | Options: true (893), false (0) True: Set value = "893" · False: Set value = "0" |
Review tab | Changes | Protect Workbook ID L_ReviewChangesProtectWorkbook | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\flyoutanchorprotectworkbookmenu Type REG_SZ | Options: true (16132), false (0) True: Set value = "16132" · False: Set value = "0" |
Review tab | Changes | Protect and Share Workbook ID L_ReviewChangesProtectSharing | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\toolsprotectshare Type REG_SZ | Options: true (3059), false (0) True: Set value = "3059" · False: Set value = "0" |
View tab | Macros | Macros ID L_ViewMacrosMacros | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\flyoutanchormacros Type REG_SZ | Options: true (16106), false (0) True: Set value = "16106" · False: Set value = "0" |
Developer tab | Code | Macros ID L_DeveloperCodeMacros | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\toolsmacromacros Type REG_SZ | Options: true (186), false (0) True: Set value = "186" · False: Set value = "0" |
Developer tab | Code | Record Macro ID L_DeveloperCodeRecordMacro | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\toolsmacrorecord Type REG_SZ | Options: true (184), false (0) True: Set value = "184" · False: Set value = "0" |
Developer tab | Code | Macro Security ID L_DeveloperCodemacroSecurity | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\toolsmacrosecurity Type REG_SZ | Options: true (3627), false (0) True: Set value = "3627" · False: Set value = "0" |
Developer tab | Code | Visual Basic ID L_DeveloperCodeVisualbasic | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\toolsmacrovbe Type REG_SZ | Options: true (1695), false (0) True: Set value = "1695" · False: Set value = "0" |
File tab | Options | Customize Ribbon | All Commands | Document Location ID L_OfficeButtonExcelOptionsCustomizeDocumentLocation | boolean | HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes\webaddress Type REG_SZ | Options: true (1740), false (0) True: Set value = "1740" · False: Set value = "0" |
Other policies in this category
Explore related policies at the same level.