Applies to: Microsoft Outlook 2010 configured with Microsoft Exchange Server accounts
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.
Primary Exchange Account
The primary Exchange account is determined by 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, it is possible to edit the registry then remove the primary Exchange account from your profile.
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... fortunately you can edit the registry to remove the 'primary' flag then delete the account, and it's 100 times easier.
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.
To remove the 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 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.
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.