An administrator had a question about disabling ribbon and toolbar buttons:
How can I disable the function "Edit Message" under Message, Actions, Other Actions?
You can disable commands using group policy or by editing the registry.
Group Policy is not limited to use by network administrators. Anyone can use it.
The policy key that is used to lock out ribbon and toolbar buttons is stored in the registry at HKEY_CURRENT_USER\Software\Policies\Microsoft\office\xx.0\outlook\disabledcmdbaritemslist
(Replace xx with the version of Outlook: Outlook 2016 is 16; Outlook 2013 is 15; Outlook 2010 is 14; 2007 is 12.)
The Control ID value is stored in TCIDn String values, where n is the order in which the command was entered.
"TCID1"="2577" "TCID2"="1886" "TCID3"="5613"
Disable the Edit Message command
The specific key to disable Outlook 2016's Edit Message is (when it's the first command disabled):
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\DisabledCmdBarItemsList "TCID1"="5604"
Do It For Me
If you don't want to edit the registry, I have a ready-to-use registry file you can download and run. Right click on the link and choose Save target as (IE) or Save Link As (Firefox). Double click to run it and add the values to the registry.
Outlook 2016: 5604 Outlook 2013: 5604
Outlook 2010: 5604 Outlook 2007: 5604
Command IDs
An Excel workbook containing all of the Control ID's for Outlook 2016 (most will work in Outlook 2013 & 2010) is available here. If the exact command exists for other versions of Outlook, the ID will be the same in those versions as well. (Microsoft has a series of Excel workbooks containing all of the Command IDs for all Office applications. Links are here.)
Below is a list of commonly disabled features or Control IDs I've previously looked up for one reason or another.
Most of the Control IDs are the same in all versions of Outlook (that use that command). If you know the Control ID for a command in Outlook 2003, there is a very good chance it is also used for that same command in Outlook 2016.
In many cases the Control ID applies to all methods of accessing the command. For example, disabling Import/Export on Outlook's File, Open menu also disables it in File, Options, Advanced. Keyboard shortcuts will usually still work; e.g. disabling the Delete button on the ribbon and right click menu does not block the Delete key.
Unless otherwise stated, the following commands work on Outlook 2013/2016 and up. They may work with older versions when the same command exists.
If you don't know the command's Control Name, filter for the Group name in the Group/Context Menu Name column of the Control spreadsheets.
Command | Control ID |
---|---|
Archive (Clean up old items in Outlook 2016) | 1886 |
AutoArchive | 19701 |
Archive (new in Outlook 2016) Disables, does not remove from ribbon | 26308 |
Clean Up button (ThreadCompressSplitButton) | 21471 |
Clean Up Conversation (ThreadCompressThread) | 19507 |
Clean Up Folder (ThreadCompressFolder) | 19509 |
Clean up Folder & Subfolders (ThreadCompressFolderRecursive) | 19510 |
Choose Form | 1910 |
Design a Form | 5617 |
Edit Message | 5604 |
Empty Deleted Items Folder | 1671 |
Import/Export command | 2577 |
4 | |
Purge Deleted Items (IMAP accounts) | 12771 |
Recover Deleted Items | 5654 |
Rules & Alerts | 10012 |
Rules Wizard (older versions) | 721 |
Work Offline | 5613 |
Delete Folder | 2500 |
Delete | 478 |
Quick Print | 2521 |
Help | 984 |
Meeting Request Commands
The following Command IDs remove the accept as tentative options and Do not send a response from meeting requests.
Command | Control ID |
---|---|
Request Responses | 1881 |
Menu Tentative Invitation | 19992 |
Tentative Invitation Edit Response | 19993 |
Tentative Invitation Send Response | 19994 |
Tentative Invitation No Response | 19995 |
Tentative Accept Invitation | 1089 |
Do Not Send a Response | 19987 |
More Information
Group Policy Administrative Template files (ADMX, ADML) and Office Customization Tool (OCT) files
Office 2016 Help Files: Office Fluent User Interface Control Identifier
Outlook 2013 ADM download:
Group Policy Administrative Template files (ADMX, ADML) and Office Customization Tool (OCT) files
Office 2013 Administrative Template files (ADMX/ADML) and Office Customization Tool
Office 2013 Help Files: Office Fluent User Interface Control Identifiers
Use Group Policy to enforce Office 2010 settings
Office 2010 Help Files: Office Fluent User Interface Control Identifiers
What is the control id for "Have reply sent to" under the email>options>more options in Outlook 2016
Try 15491 - that is for Direct Replies to button, but I don't know yet if it applies to the field in options too. (I'll test it next).
Well, that is a fail - it only applies to the button. Back to the list to look for more options.
Thanks for the assistance regardless.
it looks like the option is to disable the button - which leaves it available in the options dialog, or lock down options, blocking the other options available there.
Sorry for kicking an old thread, but can you disable some feature in Teams like the transcription button or the consult and transfer? And is this applied only to the local application via GPO or is there a way to do it for mobile clients and web clients?
The admin can turn off some options in the administration settings. As far as I know, they are not controlled by GPO. There are only 2 teams items in GPO - one for autostart, the other for signing into tenents.
Does anyone know what the nregistry setting and Control ID is for hiding the "Manage Add-ins" buttom in Outlook on the backstage screen? In Outlook go to File, and the button is at the bottom of the screen. I need to disable or hide the button, not restrict the add-ins. Thanks. See attached.
I don't see it in the spreadsheets when searching for manage or add.
You can remove the store icon, but the only way (I know of, at the moment) is to disable the entire info page.
I'm pretty sure none of these work on that button -
16173
12308
13950
13951
14337
HI Diane. Is there a control for disabling the Manage Add-ins button in Outlook? See attached.
Hi Diane,
if by using GPO to disable mailbox import/export and disabled pst creation, should this be applied on a user object or computer object?
Hi there, I'm trying to remove the Sensitivity button but not having much luck in the excel sheet. Any ideas? Thanks for your work.
Try 7714 - PrivacyOptionsDialog.
It won't remove it, but will disable the button on the ribbon... but not the one on the Options dialog. :(
Thanks for the quick response - unfortunately it didn't work (it's still showing while composing an email on the Message tab). I successfully l disabled a different button just as a method control, but Sensitivity is still there.
it disabled the sensitivity button on the ribbon here - but not the one in message options (properties).
How odd, that's exactly what I need. But it doesn't seem to work on my end. Well, thank you again for your help I appreciate it.
Did you enter the key manually, use group policy editor or use the reg file I have in the article and change the ID#? If manually, try the reg file - either change the # before running it or after. (Edit it in notepad.)
I tried deploying via GPO and also manually in the registry, but no luck - I think the problem is due to the new O365 Unified Labels which we've deployed, there seems to be a 'legacy' functionality for the Sensitivity button compared to the newly embedded AIP/Classification label functionality that was recently added. I even opened a support ticket with Microsoft and they were adamant that it's simply not possible. Still I am encouraged by your screenshot so I'll keep persevering I guess...!
Hello!
I am looking for the ID to disable the "Office Theme" General Option in Outlook 2016.
The ID is 25368 for the theme, the background is 24850
The background control can be removed using group policy too - it sets this key:
[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\office\16.0\common\general]
"disablebackgrounds"=dword:00000001
On second thought... I forgot to check the options settings. :( Those values remove it from the backstage (file > account) but not from the options dialog. The policy removes the background control from options but not the theme.
I don't see a policy to remove the theme control.
Thank you for the review and followup. The request for locking down the theme has been shifted to locking down Stationery and Fonts under Outlook options - Mail. But, from what i gathered scouring the web, there is currently no way to disable this option. The current workaround is to force predetermined settings for the Stationery and Fonts section and when the user changes anything the changes revert back to what is being pushed via GPO.
do this for teams
What commands do you want to disable in Teams?