Policy
Disable predefined commands
Microsoft Office
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.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| User | File tab | Export | Publish HTML ID L_FilePublishtoWeb | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name filepublishtoweb Type REG_SZ | Options: true (9339), false (0) True: Set value = "9339" · False: Set value = "0" | |
| User | Web tab | View | Web Page Preview ID L_FileWebPagePreview | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name filewebpagepreview Type REG_SZ | Options: true (3655), false (0) True: Set value = "3655" · False: Set value = "0" | |
| User | File tab | Share | Email ID L_FileSendEmailSendthisPage | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name filesendemailsendthispage Type REG_SZ | Options: true (3738), false (0) True: Set value = "3738" · False: Set value = "0" | |
| User | File tab | Share | E-mail Preview ID L_FileSendEmailEmailPreview | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name filesendemailemailpreview Type REG_SZ | Options: true (9418), false (0) True: Set value = "9418" · False: Set value = "0" | |
| User | Developer tab ID L_ToolsMacro | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name toolsmacro Type REG_SZ | Options: true (12557), false (0) True: Set value = "12557" · False: Set value = "0" | |
| User | Developer tab | Code | Macros ID L_ToolsMacroMacros | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name toolsmacromacros Type REG_SZ | Options: true (186), false (0) True: Set value = "186" · False: Set value = "0" | |
| User | Developer tab | Code | Macro Security ID L_ToolsMacroSecurity | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name toolsmacrosecurity Type REG_SZ | Options: true (3627), false (0) True: Set value = "3627" · False: Set value = "0" | |
| User | Developer tab | Code | Visual Basic ID L_ToolsMacroVisualBasicEditor | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name toolsmacrovisualbasiceditor Type REG_SZ | Options: true (1695), false (0) True: Set value = "1695" · False: Set value = "0" | |
| User | Developer tab | Add-Ins | COM Add-Ins ID L_ToolsAddIns | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name toolsaddins Type REG_SZ | Options: true (943), false (0) True: Set value = "943" · False: Set value = "0" | |
| User | File tab | Options ID L_PubOptions1 | boolean | Path software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes Value name toolsoptions Type REG_SZ | Options: true (11323), false (0) True: Set value = "11323" · False: Set value = "0" |
File tab | Export | Publish HTML
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
filepublishtoweb
Type
REG_SZ
Details
Options: true (9339), false (0)
True: Set value = "9339" · False: Set value = "0"
Web tab | View | Web Page Preview
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
filewebpagepreview
Type
REG_SZ
Details
Options: true (3655), false (0)
True: Set value = "3655" · False: Set value = "0"
File tab | Share | Email
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
filesendemailsendthispage
Type
REG_SZ
Details
Options: true (3738), false (0)
True: Set value = "3738" · False: Set value = "0"
File tab | Share | E-mail Preview
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
filesendemailemailpreview
Type
REG_SZ
Details
Options: true (9418), false (0)
True: Set value = "9418" · False: Set value = "0"
Developer tab
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
toolsmacro
Type
REG_SZ
Details
Options: true (12557), false (0)
True: Set value = "12557" · False: Set value = "0"
Developer tab | Code | Macros
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
toolsmacromacros
Type
REG_SZ
Details
Options: true (186), false (0)
True: Set value = "186" · False: Set value = "0"
Developer tab | Code | Macro Security
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
toolsmacrosecurity
Type
REG_SZ
Details
Options: true (3627), false (0)
True: Set value = "3627" · False: Set value = "0"
Developer tab | Code | Visual Basic
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
toolsmacrovisualbasiceditor
Type
REG_SZ
Details
Options: true (1695), false (0)
True: Set value = "1695" · False: Set value = "0"
Developer tab | Add-Ins | COM Add-Ins
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
toolsaddins
Type
REG_SZ
Details
Options: true (943), false (0)
True: Set value = "943" · False: Set value = "0"
File tab | Options
Registry mapping
Path
software\policies\microsoft\office\16.0\publisher\disabledcmdbaritemscheckboxes
Value name
toolsoptions
Type
REG_SZ
Details
Options: true (11323), false (0)
True: Set value = "11323" · False: Set value = "0"