I had a customer call Microsoft asking how it would be possible to disable the COMMUNICATOR call option (indicated by the label ‘1’ below) in addition to the CALL ALL option (indicated by the label ‘2’ below):
Ordinarily it is possible to remove menu items from the commandbar using group policy and the article below shows you how you can do that in earlier Office versions
How to disable a custom menu command and toolbar button by using a system policy in Office XP
You can control some level of this from the server end, so this article might be of interest
Removing "Reply All" Functionality for Outlook Users Who Participate in Reply-All Storms, via Group Policy: what to do
However office 2007 does provide a good level of control when deploying templates to users desktops so take at the office blog here
Updated 2007 Office system Administrative Template files (ADM, ADMX, ADML) and Office Customization Tool available
Often to disable individual menu items you’ll need to understand what controlIDS are required to turn those buttons on/off. Microsoft has a list of these control ids here.
2007 Office System Document: Lists of Control IDs
Add-in-Express even have a UI tool to help you get the ID.
The ID’s below could be used to disable the whole menu or just one item…
DialMenu splitButton None (Core Tab) TabContact GroupCommunicate 108 2616
Call button None (Core Tab) TabContact GroupCommunicate DialMenu 109 15185
There is another technique of repurposing Office commands and this will help you understand what this means. It effectively allows you to rewire the menu buttons.
However there will be certain cases where it might be difficult in obtaining the control ID. Here is a routine that will enumerate all the controls and print their control ids out.
//Create a new txt file to record controls' list
StreamWriter sw = System.IO.File.CreateText(@"C:\Outlook Inspector Command Bar Control List.txt");
//loop through Outlook ActiveInspector CommandBars to get all CommandBars
foreach (Office.CommandBar cb in app.ActiveInspector().CommandBars)
//loop through each CommandBar's Controls collection to get all controls
foreach (Office.CommandBarControl cbc in cb.Controls)
sw.WriteLine("\t" + cbc.Caption + "\t" + cbc.Id.ToString());
The articles below also provide you with the information to change the context menu from an addin.
How to: Customize an Item Context Menu
How to: Hide or Disable a Menu Item on a Context Menu
However, the menu integration with communicator changes things. If it is is installed, then office uses communicator to incorporate into it’s menus and therefore this cannot be disabled via policy. You can however remove the complete menu as below:
BEFORE: registry change…
To customize the options on the menu, run these steps:
Click Start, and then click Run,
Type regedit, and then click OK.
In the navigation pane, locate this area of the registry
On the Edit menu, point to New, and then click Key.
In the New Key # 1 box, typed PersonaMenu, press ENTER.
On the Edit menu, point to New, and then click DWORD Value.
In the New Value # 1 box, typed “Phone”, and then press ENTER.
On the Edit menu, click Modify.
In the Value data box, type “0” and then click OK. 0 means to hide the option. 1 means to show the option. Unless the value is specified otherwise, the default setting for the item is to show the item.
AFTER: registry change…
After adding the Key [Phone] into this area, it has removed the whole menu. It seems this is the level you can manipulate, the communicator addin takes over the individual items within that context menu.
There are additional values to remove the messaging information from that menu but as communicator takes over the individual phone menu, it’s either there or it isn’t. Further values to customize the menu located in this article.
How to customize the options on the Persona menu when you right-click a contact in an e-mail message