• Outlook User
  • Exchange Admin
  • Office 365
  • Outlook Developer
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
    • Common Problems
    • Outlook BCM
    • Utilities & Addins

How to Remove the Primary Account from Outlook

Slipstick Systems

› Exchange Server › How to Remove the Primary Account from Outlook

Last reviewed on August 15, 2023     174 Comments

Applies to: Outlook 365 (Win), Outlook 2019 (Win), Outlook 2016 (Win), Outlook 2013, Outlook 2010, Exchange Server

When you move from one Microsoft Exchange service to another, such as from an internal Exchange server to Office365, and want to retain the current profile, you cannot remove the original Exchange account from your profile.

The primary account cannot be removed unless it is the only account in the profile. You must remove all other Exchange accounts before removing the primary account account.

Logically, making the new email account and its data file the default should work, but changing the defaults doesn't change the primary or principal account.
Primary account warning dialog

Primary Exchange Account

The primary Exchange account is the first account added to the profile. The primary account cannot be removed from a profile until all other Exchange accounts are removed from the profile (when the primary is removed, the next Exchange account added is considered the primary).

All other Exchange accounts added to a profile are considered secondary accounts.

The recommended method to change the primary account is to recreate the user’s profile and add the appropriate account first. However, there are two other options: edit the registry then remove the primary Exchange account from your profile or add a pst file to the profile, set it as default then remove the Exchange accounts.

Removing the Primary Account

You have three choices when you need to remove a primary account from your profile. You can make a new profile (recommended), remove all Exchange accounts from your profile then add the new account back, or remove a key from the registry so you can delete the primary account from the registry.

While making a new profile might be faster (and is the recommended method), there is a convoluted method you can use to change the primary account and keep the profile, retaining profile-specific settings.

Go to Control Panel, Mail and remove all of the Exchange accounts from the profile, removing the primary account last. You'll need to add a pst to the profile and set it as the default data file, then restart Outlook.

Close Outlook and return to the Control Panel, Mail applet and add the new account. (In my experience, the new account may not be listed in until you restart Outlook.)

Remember: the first account added to the profile is the primary account

Restart Outlook. Go to account settings and set the *.ost as default. You'll need to restart Outlook one more time to remove the *.pst from your profile.

I said it was convoluted, although it's not bad if you only have a couple of Exchange accounts... if you have a lot of Exchange accounts or the mailboxes you are keeping in the profile are huge, you can edit the registry to remove the 'primary' flag then delete the account. Editing the registry is generally the better option when the mailboxes will take a long time to re-sync (or you are on a metered connection) or if you have a lot of Exchange accounts in your profile.

Remove the primary account by editing the registry

You can edit the registry to remove the primary assignment, however it is not supported and not recommended by Microsoft. If you mess up, you will need to make a new profile, restore the profile key you exported, or use System Restore to go back to a previous restore point.

Close Outlook and open the registry editor.

Press Windows key + R to open the Run command then type regedit in the Run field and press Enter.

Tip: Export the profile key before editing, so you can recover your profile if you make a mistake.

In Outlook 2016, the profile key is at:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Profiles\profile-name

In Outlook 2013, the profile key is at:
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles\profile-name

To remove the Outlook 2010 primary account from the registry, go to the profile key:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version\Windows Messaging SubSystem\Profile\profile-name

Export the profile key then search for and remove one (or both) of the registry keys related to primary account.

I searched the profile for 001f662b (or 001f6641 in Outlook 2016) as this value is used by each account. You'll find two keys containing this value for each account and you need to delete the second key that belongs to the primary account (you can delete both keys). Once I did this, I could delete the primary account from the profile.

To verify it's the correct account, either look at the alias in 001e660b (the alias is at the end of the data: /o=ExchangeLabs/​ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/​cn=Recipients/​cn=74479d8714d3414c8502650cc962e1c6-maryc) or double click on other keys and look for the address. For example, in the screenshot below, the address is in 001f6641.

identify primary account

Note: you need to delete the entire key (on the left side), not just the registry value. The value helps you find the right key to delete.

Reminder from Jack in comments:
After you find and delete the two registry keys, go to Control Panel and click "Mail (Microsoft Outlook)".
From there go to "Email Accounts...", and set the account you want as Default.

In current versions of Outlook 2016/2019/Outlook 365 (subscription) you will not have the visual clues to identify the account. Search for 001f6641 and delete the first entry found, after verifying the key belongs to the primary account. Try removing the account from the profile (in Control Panel, Mail), if it fails, find the next key for the address and try again. (There are at least 3 keys for each Exchange account in the newer builds.)
delete the registry entry for the primary account

How to Remove the Primary Account from Outlook was last modified: August 15th, 2023 by Diane Poremsky
  • Twitter
  • Facebook
  • LinkedIn
  • Reddit
  • Print

Related Posts:

  • Maximum number of Exchange accounts in an Outlook profile
  • Set Another Data File as Default When Using an Exchange Account
  • Uninstalling Office 2013
  • How to add or remove an email account

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

Kudakwashe Gwaindepi (@guest_220437)
July 24, 2023 7:04 am
#220437

worked like a charm. thanks

0
0
Reply
Junior Jimenez (@guest_220294)
May 20, 2023 12:00 pm
#220294

Finally i solve that freaking issue with outlook!
Thank you very much for sharing this information!!

0
0
Reply
Rick Eveleigh (@guest_220079)
February 16, 2023 12:48 pm
#220079

Brilliant, used the registry method. Thanks!!

0
0
Reply
Cyberflow (@guest_220073)
February 14, 2023 10:27 pm
#220073

Thank youuuuuuuuuuuuuuu very much

0
0
Reply
Jack (@guest_219869)
November 16, 2022 5:53 am
#219869

The article should add:
After you find and delete the two registry keys you go to Control Panel and click "Mail (Microsoft Outlook)".
From there go to "Email Accounts...", and set the account you want as Default.

Once I did this Outlook crashed on start-up every time. This is the extrra bit you need to get it working again:
Under "Email Accounts..." click on Data Files, and find the new primary account set as default above, then set that as the Default Data File.

This repaired Outlook for me and now the Primary Profile is gone!

0
0
Reply
Jonathan (@guest_220606)
Reply to  Jack
September 19, 2023 2:46 am
#220606

And if you are unable to set the data file as the default data file (if it gives you the error "Attempt to log on to exchange failed") you can try selecting the data file in the list and clicking the "settings" button. Go to the advanced tab and uncheck "Use Cached Exchange Mode". Apply this, then close all windows. Reopen the data file menu. Now you should be able to mark it as default. I had this issue, and this final step solved the problem for me.
After you start Outlook and verify that everything works as expected, feel free to re-check the setting again. It will continue to work.

0
0
Reply
Tony (@guest_219458)
June 22, 2022 10:29 am
#219458

This was very helpful and worked exactly as described. I ended up having to search and wipe a few keys that matched 001f6641 and contained the account in question but once those were cleaned up I was able to set a different a different account as primary and delete the bad account.

0
0
Reply
Billy Shears (@guest_219252)
May 2, 2022 2:58 am
#219252

thank you for this great article .... 

0
0
Reply
Robert Wilson (@guest_218779)
October 7, 2021 2:14 pm
#218779

Thank you so much, was going mental, used the Control Panel method and worked so easily

0
0
Reply

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

Latest EMO: Vol. 28 Issue 21

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?

Subscribe to Exchange Messaging Outlook






Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • WeekMonthAll
  • How to Remove the Primary Account from Outlook
  • Adjusting Outlook's Zoom Setting in Email
  • Uninstall Updates in Office 'Click to Run'
  • Move an Outlook Personal Folders .pst File
  • Save Sent Items in Shared Mailbox Sent Items folder
  • Create rules that apply to an entire domain
  • View Shared Calendar Category Colors
  • How to Create a Pick-a-Meeting Request
  • Outlook's Left Navigation Bar
  • Use PowerShell to get a list of Distribution Group members
  • Create a rule to delete spam with no sender address
  • Open Outlook Folders using PowerShell or VBScript
  • Cannot add Recipients in To, CC, BCC fields on MacOS
  • Change Appointment Reminder Sounds
  • Messages appear duplicated in message list
  • Reset the New Outlook Profile
  • Delete Old Calendar Events using VBA
  • Use PowerShell or VBA to get Outlook folder creation date
  • Outlook's Left Navigation Bar
  • Contact's Display Bug
Ajax spinner

Newest Code Samples

Delete Old Calendar Events using VBA

Use PowerShell or VBA to get Outlook folder creation date

Rename Outlook Attachments

Format Images in Outlook Email

Set Outlook Online or Offline using VBScript or PowerShell

List snoozed reminders and snooze-times

Search your Contacts using PowerShell

Filter mail when you are not the only recipient

Add Contact Information to a Task

Process Mail that was Auto Forwarded by a Rule

Recent Bugs List

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

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

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.

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

Other Microsoft 365 applications and services




Windows 10 Issues

  • iCloud, Outlook 2016, and Windows 10
  • Outlook Links Won’t Open In Windows 10
  • Outlook can’t send mail in Windows 10: error Ox800CCC13
  • Missing Outlook data files after upgrading Windows?

Outlook Top Issues

  • The Windows Store Outlook App
  • The Signature or Stationery and Fonts button doesn’t work
  • Outlook’s New Account Setup Wizard
  • Outlook 2016: No BCM
  • Exchange Account Set-up Missing in Outlook 2016

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

Contact Tools

Data Entry and Updating

Duplicate Checkers

Phone Number Updates

Contact Management Tools

Diane Poremsky [Outlook MVP]

Make a donation

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

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

Outlook Suggestion Box (UserVoice)

Slipstick Support Services

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 | Advertise | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

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

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