Disable predefined commands
- Policy ID
- L_Disablecommandbarbuttonsandmenuitems
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Excel 2016 › Disable Items in User Interface › Predefined
Description
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.
Options
Registry
UserHKEY_CURRENT_USER
HKCU\software\policies\microsoft\office\16.0\excel\disabledcmdbaritemscheckboxes View registry values
- filepublishaswebpageDelete value
- weboptionsDelete value
- generaloptionsDelete value
- fileopensearchthewebDelete value
- filewebpagepreviewREG_SZ
- sendtomailrecipientREG_SZ
- inserthyperlinkREG_SZ
- toolsprotectsheetREG_SZ
- flyoutanchorprotectworkbookmenuREG_SZ
- toolsprotectshareREG_SZ
- flyoutanchormacrosREG_SZ
- toolsmacromacrosREG_SZ
- toolsmacrorecordREG_SZ
- toolsmacrosecurityREG_SZ
- toolsmacrovbeREG_SZ
- webaddressREG_SZ