• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Use Group Policy to disable commands

Slipstick Systems

› How to › Use Group Policy to disable commands

Last reviewed on March 23, 2023     61 Comments

Applies to: Outlook (classic), Outlook 2007, Outlook 2010

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 Command bars using Group Policy

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.

CommandControl ID
Archive
(Clean up old items in Outlook 2016)
1886
AutoArchive19701
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 Form1910
Design a Form5617
Edit Message5604
Empty Deleted Items Folder1671
Import/Export command2577
Print4
Purge Deleted Items (IMAP accounts)12771
Recover Deleted Items5654
Rules & Alerts10012
Rules Wizard (older versions)721
Work Offline5613
Delete Folder2500
Delete478
Quick Print2521
Help984

Meeting Request Commands

The following Command IDs remove the accept as tentative options and Do not send a response from meeting requests.

CommandControl ID
Request Responses1881
Menu Tentative Invitation19992
Tentative Invitation Edit Response19993
Tentative Invitation Send Response19994
Tentative Invitation No Response19995
Tentative Accept Invitation1089
Do Not Send a Response19987

More Information

Office 365 controls, as of October 2018
More up-to-date lists of command IDs at github
Zip of all the newer Command IDs workbooks: Office365 Fluent Controls 2018.zip
Office 2016 ADM download
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

Use Group Policy to disable commands was last modified: March 23rd, 2023 by Diane Poremsky

Related Posts:

  • Disable Stationery and Fonts using Group Policy
  • Disable the Unsafe Hyperlink Warning when Opening Attachments
  • Prevent users from adding email accounts to Outlook
  • Show Contact Linking fields in Outlook

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Subscribe
Notify of
61 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Marcus
February 22, 2023 7:50 am

Hi,

i want to disable the following 2 options:

Options->Encrypt-> "Encrypt-only" and "do not forward"

But i cannot find the id's in the xlsx workbooks.

Thanks
Marcus

encrypt.jpg
2
0
Reply
Venkat
January 24, 2023 12:39 am

Tried with below key but unable to disable "Screen recording option" in Semi-Annual Enterprise Channel 2202 (Build 14931.20888).
Hive HKEY_CURRENT_USER 
Key path SOFTWARE\Policies\Microsoft\office\16.0\powerpoint\DisabledCmdBarItemsList 
Value name TCID 
Value type REG_SZ 
Value data 16301

0
0
Reply
Diane Poremsky
Author
Reply to  Venkat
January 24, 2023 10:16 am

Hmmm. The first PPT file I opened was read only - the record button was disabled on the insert tab but not on Recording tab - I found that odd.

That ID# disables the button on the Insert menu but not on the Record tab. So it looks like those commands have a new ID.

There is an updated list in github - github.com: Office 365 -Semi-Annual-Targeted - powerpointcontrols.xlsx and ID 27286 kills the entire recording tab.

New entries with 'record' in the name -
RecordAudio toggleButton None (Context Menu) ContextMenuRPVSettings 27247
TabRecording tab 27286
GroupRecord group TabRecording 27287
ExportToVideoRecording button TabRecording GroupSaveRecording 27292
MovieFromFileRecordingAutoPlay button TabRecording GroupAutoPlayMediaRecording 27358
ObjectScreenRecordingAutoPlay button TabRecording GroupAutoPlayMediaRecording 27359
SoundRecordAutoPlay button TabRecording GroupAutoPlayMediaRecording SoundInsertMenuAutoPlay 27362
ContextMenuClearRecordings contextMenu None (Context Menu) 27593
ClearCurrentSlideRecording button None (Context Menu) ContextMenuClearRecordings 27595
ClearAllSlidesRecordings button None (Context Menu) ContextMenuClearRecordings 27596
GroupContentRecording group TabRecording 27874
GroupAutoPlayMediaRecording group TabRecording 27875
GroupSaveRecording group TabRecording 27876
UploadToMSStreamRecording button TabRecording GroupSaveRecording 32625

BTW - the correct value is TCID1 (or another # if you are blocking more than one command.)
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwarePoliciesMicrosoftoffice16.0powerpointdisabledcmdbaritemslist]
"TCID1"="16301"

0
0
Reply
Follow
November 6, 2022 11:17 pm

How to disable option or trust center function? Thanks.

0
0
Reply
Diane Poremsky
Author
Reply to  Follow
January 26, 2023 4:47 pm

I thought it should be this -
OLKShowTrustCenter ==> 14324
But it is not blocking the button here.

I don't see anything else in the command id list for it.

0
0
Reply
Roger
August 5, 2022 8:25 am

Hello! I played around with this, and while it did work to remove the button, it didn't eliminate the functionality of it. Meaning, my meeting invites still prompted users to send ME a response. How do I get the "Request Responses" option to be unchecked by default, so nobody has to send me a response, ever? TIA!

0
0
Reply
Test
May 4, 2022 11:25 am

I am having trouble disabling some Office 365 features using reg keys the main one I am having issues with is

newmaildesktopalert = 0 - I am trying to stop desktop alerts displaying for my organisation. windows 10 users don't receive alerts with the reg key but windows 11 users do any ideas?

0
0
Reply
Diane Poremsky
Author
Reply to  Test
January 26, 2023 4:54 pm

Desktop alerts are controlled by windows now but you can use GPO to disable the option in Outlook's file > Options > Mail so users can't turn it on.
[HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\outlook\preferences]
"NewmailDesktopAlerts"=dword:00000001

0
0
Reply
Test
April 14, 2022 6:06 pm

What is the control id for "Have reply sent to" under the email>options>more options in Outlook 2016

0
0
Reply
Diane Poremsky
Author
Reply to  Test
April 14, 2022 6:34 pm

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).

0
0
Reply
Diane Poremsky
Author
Reply to  Diane Poremsky
April 14, 2022 6:40 pm

Well, that is a fail - it only applies to the button. Back to the list to look for more options.

2022-04-14_18-40-20-0000.png
0
0
Reply
Test
Reply to  Diane Poremsky
April 14, 2022 7:09 pm

Thanks for the assistance regardless.

0
0
Reply
Diane Poremsky
Author
Reply to  Test
April 20, 2022 11:51 am

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.

0
0
Reply
verb
February 11, 2022 12:42 pm

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?

0
0
Reply
Diane Poremsky
Author
Reply to  verb
April 14, 2022 6:39 pm

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.

0
0
Reply
Hank Farlow
May 11, 2021 3:54 pm

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.

OutlookManageAdd-Ins.png
0
-1
Reply
Diane Poremsky
Author
Reply to  Hank Farlow
May 12, 2021 12:16 am

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

0
0
Reply

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 30 Issue 29

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Jetpack plugin with Stats module needs to be enabled.
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New Outlook
  • New Outlook: Show To, CC, BCC in Replies
  • Insert Word Document into Email using VBA
  • Delete Empty Folders using PowerShell
  • Warn Before Deleting a Contact
  • Classic Outlook is NOT Going Away in 2026
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New Outlook

New Outlook: Show To, CC, BCC in Replies

Insert Word Document into Email using VBA

Delete Empty Folders using PowerShell

Warn Before Deleting a Contact

Classic Outlook is NOT Going Away in 2026

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2025 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.

:wpds_smile::wpds_grin::wpds_wink::wpds_mrgreen::wpds_neutral::wpds_twisted::wpds_arrow::wpds_shock::wpds_unamused::wpds_cool::wpds_evil::wpds_oops::wpds_razz::wpds_roll::wpds_cry::wpds_eek::wpds_lol::wpds_mad::wpds_sad::wpds_exclamation::wpds_question::wpds_idea::wpds_hmm::wpds_beg::wpds_whew::wpds_chuckle::wpds_silly::wpds_envy::wpds_shutmouth:
wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment