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 for Publisher. 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, the predefined list of command bar buttons and menu items are enabled for Publisher.
Internal name
L_Disablecommandbarbuttonsandmenuitems
Policy ID
5d89c4d7826b
Elements
10
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 | Export | Publish HTML ID L_FilePublishtoWeb | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\filepublishtoweb Type REG_SZ | Options: true (9339), false (0) True: Set value = "9339" · False: Set value = "0" |
Web tab | View | Web Page Preview ID L_FileWebPagePreview | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\filewebpagepreview Type REG_SZ | Options: true (3655), false (0) True: Set value = "3655" · False: Set value = "0" |
File tab | Share | Email ID L_FileSendEmailSendthisPage | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\filesendemailsendthispage Type REG_SZ | Options: true (3738), false (0) True: Set value = "3738" · False: Set value = "0" |
File tab | Share | E-mail Preview ID L_FileSendEmailEmailPreview | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\filesendemailemailpreview Type REG_SZ | Options: true (9418), false (0) True: Set value = "9418" · False: Set value = "0" |
Developer tab ID L_ToolsMacro | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\toolsmacro Type REG_SZ | Options: true (12557), false (0) True: Set value = "12557" · False: Set value = "0" |
Developer tab | Code | Macros ID L_ToolsMacroMacros | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\toolsmacromacros Type REG_SZ | Options: true (186), false (0) True: Set value = "186" · False: Set value = "0" |
Developer tab | Code | Macro Security ID L_ToolsMacroSecurity | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\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_ToolsMacroVisualBasicEditor | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\toolsmacrovisualbasiceditor Type REG_SZ | Options: true (1695), false (0) True: Set value = "1695" · False: Set value = "0" |
Developer tab | Add-Ins | COM Add-Ins ID L_ToolsAddIns | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\toolsaddins Type REG_SZ | Options: true (943), false (0) True: Set value = "943" · False: Set value = "0" |
File tab | Options ID L_PubOptions1 | boolean | HKCU\software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes\toolsoptions Type REG_SZ | Options: true (11323), false (0) True: Set value = "11323" · False: Set value = "0" |