Exchange Geek's Weblog

I'm a Geek!

Archive for the ‘Outlook’ Category

NoReplyAll – Outlook Addin

Posted by Milind Naphade on 20/02/2011

I do remember when one of my colleagues asked me to find out a way to hide the Reply To All button on outlook message form or place it somewhere else than it’s regular location on new message form. I have no clue why did they want to implement this (don’t even want to know :-P) but I think I don’t have to work on this 🙂

MS Research has developed a addin for Microsoft Office Outlook which does the job. You can download this addin from here –>

Thought should be shared so if someone wants something similar to this they should be able to find it on the web.

Posted in Outlook | Comments Off on NoReplyAll – Outlook Addin

Exchange 2010 Online Archive Support for Outlook 2007– Now Available

Posted by Milind Naphade on 22/12/2010

I have seen many people asking a very common question in forums and restricted news groups, “Is there any support available for Outlook 2007 clients to access Exchange 2010 online archive?” Answer to this was no but now Yes. It is available now.

Exchange team announced the support yesterday and the December 2010 cumulative update for Office 2007 family will add this feature in Outlook 2007 now.

The update can be downloaded from: Office 2007 Cumulative Update for December 2010

I am sure everyone knows the limitation but thought of reminding one more time. You need Exchange 2010 Enterprise CALs to avail the online archive mailbox feature. So it is very clear that if you are running exchange 2010 standard CALs.

Posted in Exchange 2010, News, Outlook | 4 Comments »

Additional Mailbox Auto Mapping in Exchange 2010 SP1

Posted by Milind Naphade on 13/10/2010

A user having full mailbox access on another mailbox can have that mailbox added in outlook profile so that he/she don’t have to logon to that mailbox separately. This has been a regular practice for many organization. Normally a support mailbox where all support requests are stored is a common example of an additional mailbox added to outlook profiles.

Outlook 2007 and earlier version did the job very well but there was always a limitation in case an outlook profile needs to reconfigured or the user’s computer changes. User or the IT support needed to add the additional mailbox back to user’s profile. How about an idea where user’s/IT support don’t need to add additional mailboxes once they are configured? Yes. That is very much possible if you are running Exchange 2010 SP1 and Outlook 2010.

Let’s take a look at how to get this working.

First you need grant Full Mailbox Access to the additional mailbox you are willing to add in outlook. In my case I have a support mailbox which is added in a user’s profile named Exchange Geek.

Use EMC or EMS to grant full mailbox access permission to support mailbox.


Now click on Add button and add the user account which needs full access.


After this get back to the desktop where outlook is installed. I configure an outlook profile for user Exchange Geek and add the Support Mailbox in the profile.


So, How it works even after you lose your windows profile or outlook profile? Exchange 2010 stores the full access permission in active directory. Simply similar to what Exchange 2003 or 2007 did.

If you open the additional mailbox properties in adsiedit.msc you will observe the attribute msExchDelegateListLink having its value as DN of the user account who has full access to the additional mailbox.


Outlook 2010 fetches this value automatically and configure an additional mailbox that you had added previously. When outlook profile is reconfigured, outlook picks up the additional information from your mailbox. Your mailbox now hold the information about the additional mailboxes that you added recently and didn’t remove them intentionally. A new folder named Shared Data is created within the mailbox table which contains all information about the additional mailboxes that you ever added.


I hope this helps people to prevent reconfiguring the mailboxes 😉 Please do let me know your comments and feedback if you have any.

Posted in Active Directory, Exchange 2010, Outlook | 5 Comments »

How to add Employee Numbers in ADUC and Exchange GAL

Posted by Milind Naphade on 06/05/2010

Some companies need to use AD to store their Employee Numbers or Employee IDs but due to limitations in ADUC MMC most of the people don’t tend to do this.

I am not very sure how frequently some company needs this but one of my friend needed it for sure. 🙂 I did this in my labs few months ago and worked on at least 3 production environments too. I thought I can share this with everyone who reads at my blog. However, the steps I am going to show in this blog post will only apply to Exchange 2007 and Exchange 2010 GAL. Also, the templates editor tool that we are going to use does not show Employee ID field in the bindings page.

There are few steps involved in doing this:

  1. A simple VB script stored at some location on network.
  2. Schema Admin group membership to the user account you are going to carry out this operation with.
  3. Exchange Organization Administrator group membership.

Using the Visual Basic Script

  • Copy and Paste the below text in a notepad file and save it as .vbs

On Error Resume Next
Dim objemployeeID
Dim objUser
Dim ObjTemp
Set objemployeeID = Wscript.Arguments
Set objUser = GetObject(objemployeeID(0))
objTemp = InputBox("Current Employee ID: "& objUser.employeeNumber & "If you would like to enter a new number of modify the exisitng number, enter the new number in the textbox below")
if objTemp <> "" then objUser.Put"employeeNumber",objTemp
If Err.Number = "-2147024891" Then
MsgBox "Your current account does not have permissions to modify the Employee-ID attribute. Please log on with an account with appropriate permissions.",16,"Permission Denied"
End If
Set ObjUser = Nothing
Set objemployeeID = Nothing
Set objTemp = Nothing

  • Rename this file to .vbs and store at some network share e.g. \\servername\ADScripts\EmpID.vbs . The only idea behind storing this script on a network location is to keep this available even the ADUC is used from client computers.

Editing Schema and User Display Configurations in AD configuration partition:

Warning: It is highly recommended that you back up your Active Directory before modifying anything in schema. Incorrect changes in schema can cause undesired behavior of Active Directory Services.

  • Logon to any domain controller with Schema Admin privileges.
  • Click Start –> Run and type regsvr32 schmmgmt.dll and hit enter.
  • Click OK on the information dialog that appears on the screen
  • Click Start –> Run and type MMC and press enter.
  • In MMC click File menu and select Add/Remove Snap-In.
  • Click on Add button on Add/Remove Snap-in page.
  • Select Active Directory Schema from the list that appears on the screen.
  • Click Add and click Close and click Close.
  • Expand Classes in Active Directory Schema Snap-in and locate class person.
  • Right click on class person, select Properties and click on Attributes tab.


  • Click on Add button and select employeeID


  • Repeat above step to add employeeNumber as well.
  • Now open ADSIEDIT.MSC and locate CN=user-Display,CN=409,CN=DisplaySpecifiers,CN=Configuration,DC=domain,DC=com
  • Right click on CN=user-Display and select Properties.
  • Locate the attribute adminContextMenu on Attribute Editor page and click Edit button.
  • Type ,&Employee-ID,\\adpun3\AD Scripts\EmpID.vbs exactly as shown in figure below and click Add button. (I recommend copy and paste the text in red color)


  • Click OK button and exit the ADSIEDIT.msc
  • Now open Active Directory Users and Computers and locate the user account you want to modify the Employee ID for. You will see an additional context menu item in when you right click on the desired user object.


  • A new pop up appears when you click the above context menu. You can enter or modify the Employee ID for the select user account using the the pop up.


Adding Employee ID field in Exchange 2007 Global Address List

  • Now to make this Employee ID field visible in Exchange 2007 Global Address list you can use Details Templates Editor tool from Exchange 2007 EMC.
  • Logon to your Exchange 2007 Server with Organization Administrator and open Exchange Management Console.
  • Locate and Open Details Templates Editor Tool from Toolbox node in EMC.
  • Locate the template for User type and Language English (United States) and click Edit from Actions pane. Refer below figure.


  • A new Editor Opens on the screen. Select a Label and a Edit controls from Tools pane in the opened Editor window and place them at your desired location.


  • Add details to the Label control using property editor pane in the editor tool. To do this, select The Label control that you just dragged and dropped on the template and add the text in properties pane.


  • Add details to Edit control and bind it to specific attribute in AD. To do this, select the Listbox control and select Employee ID attribute from Properties pane.


  • Save the edited template by selecting File Menu and Save.
  • Exchange GAL will show the details as shown below. If you are using outlook in cached mode then you will have to wait till the OAB is generated.


I hope you find this useful and can use when you require this. Do let me know if you have any comments on the post.

Posted in Active Directory, Exchange 2007, Exchange 2010, Outlook | Tagged: , | 20 Comments »