This page shows you how to change an Exchange mailbox account name (the name in the From field when composing a new message) and the Exchange mailbox data file name shown in the navigation pane (in screenshot).
Using Outlook 2010 and newer with an Exchange server mailbox, you cannot edit the name you see in the navigation pane, but it's actually very easy change, using one of three methods: use a macro or script, use MFCMAPI, or edit the registry.
This page was split from the original page at Rename email accounts and data files in the folder list. The instructions to rename the data file display names and account names for IMAP, EAS, Outlook Connector, POP3 and Personal Folders are on that page.
Before making any changes, export the profile from the registry. See Backup Profile for a quick command line method.
Change the Account Name
Outlook 2016 no longer allows you to change Exchange account names in File, Account Settings. However, you can either edit the registry or use a macro to change the name. The macro is at the end of this section.
Use these steps to change the Exchange server account name that is shown on the File, Account Settings, E-mail tab and in the From field when you are composing a message.
- Open File, Account Settings, E-mail tab.
- Double click on the account or select it and click Change.
- Click More Settings
- Type a new name in the Exchange Account field on the General tab
- Click Ok, then Next, and Finish.
Change the Account Name in the Registry
To change the name by editing the registry, press Windows key + R to open the Run command then type regedit into it and press Enter.
Browse to the Outlook profile key. In Outlook 2016, it's at
Find your profile (most people only have one profile) then find the account's keys: Look at the keys that have subkeys - the account will be in a key named 0000000nn. On my computer, the account is under these subkeys:
Right click on the Account name value and choose Modify.
Type in a new name then close the dialog.
Restart Outlook for the change to take effect.
Macro to change the Account name
You can use a macro to change the name.
To use this macro, you need to install redemption.
Download Redemption Developer version
After installing redemption the a new module in the VBA editor then change the oldName and newName values. Use the account name as shown in File, Account Settings or in the From field of a new message for oldName variable and the desired name as the newName variable.
Public Sub changeAcctName() Dim session Dim oldName As String Dim newName As String oldName = "Diane" newName = "OutlookMVP" Set session = CreateObject("Redemption.RDOSession") session.MAPIOBJECT = Application.session.MAPIOBJECT Set Accounts = session.Accounts For Each Account In Accounts If Account.Name = oldName Then Account.Name = newName Account.Save End If Next End Sub
Change the Folder Display Name using a macro or script
This macro (or script) works on all data files, however, its generally easier just to change the names using the user interface if supported.
However, you don't have that choice with Exchange server accounts as there is no UI.
Type the current display name, as seen in the navigation pane, in as the oldName and the desired name as the newName then run the macro. You'll need to restart Outlook for the change to take effect.
A Script version is here. This will be easier for most people to use as you just need to double click on the file to make the change (after editing the old and new names in the file.)
To use the script, download the script, edit the names then save it and change the extension to vbs. Double click to run it. Close Outlook and reopen it. (You don't need to change the Macro Security Settings in the Trust Center when using the script but will need to change it to use the macro.)
If you aren't using the description field (most people don't), the macro can add the original name to the description field. If you make a mistake, you can set the oRoot.Name to oRoot.Description to recover. To check the description field, right click on the root folder and choose Properties or Data File Properties.
Option Explicit Public Sub ChangeFolderContainer() Dim colStores As Outlook.Stores Dim oStore As Outlook.Store Dim oRoot As Outlook.folder Dim oldName, newName As String oldName = "Diane Poremsky" newName = "Diane P" 'On Error Resume Next Set colStores = Application.Session.Stores For Each oStore In colStores Set oRoot = oStore.GetRootFolder Debug.Print (oRoot) If oRoot = oldName Then oRoot.Description = oRoot.Name oRoot.Name = newName End If Next Set oRoot = Nothing Set oStore = Nothing Set colStores = Nothing End Sub
If you don't use to use the script to change the display name, you can use MFCMAPI to edit the PR_DISPLAY_NAME property.
- Download MFCMAPI and open it.
- Click Session, then Logon. If you have more than one profile, select the desired profile.
- Select the Exchange account in the list.
- In the lower screen, double click on PR_DISPLAY_NAME to open the Property Editor.
- Type a new name in the Ansi field.
- Click Ok to close the dialog.
- Click Session > Logoff.
- Close the MFCMAPI window.
Edit the Registry
If you know what you are doing, you can edit the registry to change the display name of an Exchange data file in the Folder list. This will not change the name in the From field, only the name in the folder list. (To change the name in the From field, go to File, Account Settings, double click on the account then More Settings. Make the name change on the first tab.)
Before editing the key, export it so you can easily fix it if the display name is messed up. (As it likely will be the first time you try editing it.)
Find your profile in the registry. (Outlook 2016's profile is under \Office\16.0\.)
Rather than deleting the account name and reentering it, I replaced the letters, using spaces it fill in if the email address was longer than the desired display name. You need to use the same number of binary data as the original entry.
Restart Outlook to apply the name change.
Note that my successful entry has the exact same number of binary values as the original:
If the editing was not correct, the data file name displays with Chinese characters:
Backup the Outlook Profile Registry Keys
You can backup the registry using a command line.
- Open the Run command (Windows key + R).
- Type or paste the correct command line in the Open field and press OK.
- The Profile keys will be saved to your Documents folder.
- If you need to restore the profile, close Outlook and double click on Outlook-profile.reg.
To export Outlook 2013 profile keys:
REG EXPORT "HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles" %USERPROFILE%\Documents\Outlook-profile.reg /y
To export Outlook 2016 profile keys:
REG EXPORT "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Profiles" %USERPROFILE%\Documents\Outlook-profile.reg /y