Policy
Disable predefined commands
Microsoft Office
Policy overview
Key metadata and intent for this policy.
This policy setting allows you to disable some specific commands in Microsoft Word. Commands are buttons, menus, or other items that can be added to the Quick Access Toolbar or to the Ribbon under File tab | Options | Quick Access Toolbar or via File | Options | Customize Ribbon, respectively. If you enable this policy setting then you can specify what commands in the user interface for Word are disabled. If you disable or do not configure this policy setting, the commands in the predefined list are all enabled in Word.
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 | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Web Page Preview ID L_FileWebPagePreview | boolean | Path software\policies\microsoft\office\16.0\word\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_FileSendToMailRecipient | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name sendtomailrecipient Type REG_SZ | Options: true (2188), false (0) True: Set value = "2188" · False: Set value = "0" | |
| User | Insert tab | Links | Hyperlink ID L_InsertHyperlinkWd | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name inserthyperlink Type REG_SZ | Options: true (1576), false (0) True: Set value = "1576" · False: Set value = "0" | |
| User | File tab | Info | Protect Document ID L_ToolsProtectDocument | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name flyoutanchorprotectdocumentmenu Type REG_SZ | Options: true (16129), false (0) True: Set value = "16129" · False: Set value = "0" | |
| User | View tab | Macros | Macros ID L_ToolsMacroWd | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name toolsmacro Type REG_SZ | Options: true (16106), false (0) True: Set value = "16106" · False: Set value = "0" | |
| User | Developer tab | Code | Macros ID L_ToolsMacroMacrosWd | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name toolsmacromacros Type REG_SZ | Options: true (186), false (0) True: Set value = "186" · False: Set value = "0" | |
| User | Developer tab | Code | Record Macro ID L_ToolsMacroRecordNewMacro | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name toolsmacrorecord Type REG_SZ | Options: true (2780), false (0) True: Set value = "2780" · False: Set value = "0" | |
| User | Developer tab | Code | Macro Security ID L_ToolsMacroSecurity | boolean | Path software\policies\microsoft\office\16.0\word\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_ToolsMacroVisualBasicEditorWd | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name toolsmacrovbe Type REG_SZ | Options: true (1695), false (0) True: Set value = "1695" · False: Set value = "0" | |
| User | Developer tab | Templates | Document Template ID L_ToolsTemplatesandAddIns | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name toolstemplateaddins Type REG_SZ | Options: true (751), false (0) True: Set value = "751" · False: Set value = "0" | |
| User | File tab | Options | ("Customize Ribbon" or "Quick Access Toolbar") | All Commands | Document Location ID L_WebAddressWd | boolean | Path software\policies\microsoft\office\16.0\word\disabledcmdbaritemscheckboxes Value name webaddress Type REG_SZ | Options: true (1740), false (0) True: Set value = "1740" · False: Set value = "0" |