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

Rename Account in the Navigation Pane

Slipstick Systems

› Outlook › Rename Account in the Navigation Pane

Last reviewed on September 21, 2023     2 Comments

Applies to: Office 365 Exchange, Outlook (classic)

Currently, you are unable to change the name of Outlook.com or Exchange mailboxes that are shown in the folder list - it will always use your email address. If you want to change it, you need to use a script (or macro) or use MFCMAPI to edit the name.
change the data file name

Using the script is the easiest for most people. Simply edit the old name and new name by opening the script in Notepad. After saving the changes, double click to run it.

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. In most cases, the name change is immediate, but if not (or if part of the old name is visible), restart Outlook for the change to take effect.
new data file name

Easy Script version

Either copy the script and paste into Notepad, saving the file with a .vbs extension, or download the file here. Save the file, open it to change the oldName and newName fields and save. Remove .txt from the file name then double click to run.

This code is Case Sensitive. If it doesn't seem to work, check the data file name in File, Account Settings, Data Files.

Dim colStores 'As Outlook.Stores
Dim oStore 'As Outlook.Store
Dim oRoot 'As Outlook.folder
Dim oldName
Dim newName 'As String

'oldName is case sensitive
oldName = "alias@domain.com"
newName = "Diane Poremsky"

'On Error Resume Next

Set objOutlook = CreateObject("Outlook.Application")
Set colStores = objOutlook.Session.Stores
 
 For Each oStore In colStores
 Set oRoot = oStore.GetRootFolder

If oRoot = oldName Then
oRoot.Name = newName
End If

Next

Macro version

The script above is generally easier for most people because you don't need to change macro security settings to use it. However, if you are comfortable using a macro, you can use this. As with the script, change the oldName and newName values to your values.

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 = "alias@domain.com"
newName = "Diane Poremsky"

'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

You'll need to set macro security to the lowest setting in File, Options, Trust Center, Trust Center Settings, Macro Settings.

 

Use MFCMAPI

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.

  1. Download MFCMAPI and open it.
  2. Click Session, then Logon. If you have more than one profile, select the desired profile.
  3. Select the Exchange account in the list.
  4. In the lower screen, double click on PR_DISPLAY_NAME to open the Property Editor.
    use the mapi editor
  5. Type a new name in the Ansi field.
    change the display name
  6. Click Ok to close the dialog.
  7. Click Session > Logoff.
  8. Close the MFCMAPI window.

PST Files, POP3 Account Data Files

If you are using POP3 accounts or a PST file, you can change the display name in Navigation pane right from Outlook's UI.

The methods above will work with all data files, however, its generally easier just to change the names using the user interface when it's supported.

  1. Right click on the display name, choose Properties (or Data File Properties)
    enter the name name
  2. Click on the Advanced button.
    click Advanced button
  3. Type a new name.
    open folder properties
  4. Close the dialogs.

IMAP Accounts

When you change the Account name in Account Settings, More Settings, it also changes the display name in the navigation pane.

Rename Account in the Navigation Pane was last modified: September 21st, 2023 by Diane Poremsky

Related Posts:

  • Rename Exchange Mailbox and Account in Outlook
  • Change Account Name in Outlook 2016
  • Rename Email Accounts and Data Files in the Folder List
  • Using Navigation Pane Groups

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
2 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Christopher Neill
February 21, 2024 10:26 pm

Just found this solution which, yet again from your good self, worked a treat. Don't know what we'd do without you Diane! Over the years you've been a goldmine of talent and information. Just thought you should know that.

0
0
Reply
Alonzo Mosley
September 26, 2023 5:23 pm

Running the Easy Script version - just for one address - returned

Line: 23
Char: 1
Error: 0x82040119
Code: 82040119
Source: (null)

0
0
Reply

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

Latest EMO: Exchange Messaging Outlook 2026 Archives

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
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • Disable "Always ask before opening" Dialog
  • How to Hide or Delete Outlook's Default Folders
  • Removing Suggested Accounts in New Outlook
  • Change Outlook's Programmatic Access Options
  • Classic Outlook is NOT Going Away in 2026
  • Adjusting Outlook's Zoom Setting in Email
  • OUTLOOK.EXE continues running after you exit Outlook
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • 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
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

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

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

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 © 2026 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