Exchange Rehoming mailbox?

Posted on 2010-08-20
Last Modified: 2012-05-10

We had a corrupt mailbox database on exchange 2003 so we did a repair. After the repair completed we mounted the database on a new server and within the same admin group and store name. Now because we recreated the mailboxes for users instead of creating a dial tone, we cannot use the RSG recovery tool to merge the mailbox I think because the MSExchangeHomeServer attribute still points to the old server. In any case, ESM tries to merge the mailbox data to the old server.

I saw instructions for rehoming the MsExchHomeServer and two other attributes however, I'm not sure if this script is correct for what we are doing. Is their any ways we can merge the repaired data without having to use the rehome script? I'm cool with it as long as we don't have an easier altrnative.

Thanks in advance.

Question by:snyderkv
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
LVL 32

Expert Comment

ID: 33483018
how many users? you can utilize exmerge to get the mailboxes
LVL 32

Expert Comment

ID: 33483022
from the recovery storage group

Author Comment

ID: 33483107
From the article: I think exmerge is only good for recovering to original mailboxes aka dial tone. If I had dial tones I could easily use the built in exchange tasks to recover and merge the mail. Exmerge will not merge to mailboxes with a different GUID.

"This version of ExMerge can match a disconnected mailbox in a recovery storage group database with the original mailbox and user account still present elsewhere in the system"

What do you suggest?
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

by:Paul Tozer
ID: 33483615
A recreated mailbox retains some historical data about the last user account connected to it.  

If you re-home a mailbox by changing only the homeMDB, homeMTA, and msExchHomeServer attributes on a user account, then the msExchMailboxGUID attribute will remain intact.

This would have happened as you restored the exchange server and recreated mailboxes on new system

The Mailbox Recovery Center reads the AD data and looks for user accounts in Active Directory that match it. The msExchMailboxGUID wouldn't have changed even if the mailbox is new.

Recovery Storage groups should still work

Expert Comment

by:Paul Tozer
ID: 33483637
That is as long as you didn't "Remove Exchange Attributes"

Author Comment

ID: 33483823
About removing exchange attributes. They deleted the mailboxes and recreated new ones. Right click user | Exchange Tasks | Delete Mailbox.

I will try and compare the GUID's however, even when using exmerge to export the RSG to PST, I get mailbox GUID errors. The RSG Recover mailbox fails as well for the path it's trying to recover to is the old server.


Author Comment

ID: 33483950
Seems as thought the GUIDs are infact different. Probably why native tools don't work. Rehoming is not the answer because that is for when you manually move databases and need to update the users active directory attributes to reflect the new location. This is different where the GUIDs are not the due to the lack of a dial tone, therfore the native tools won't work at merging the historical data back into the new mailboxes.

Anyone know of a good way to get this old repaired data back into the new database?

Expert Comment

by:Paul Tozer
ID: 33486825
You might want to consider either investing in something like Ontrack Powercontrols, which will read the raw mdb data and export to mailboxes or pst, or you could create temporary users, set the msExchMailboxGUID to that of the mailbox you want to restore and merge the two users data.

Depends on how many users/time you have

Author Comment

ID: 33486967
Could I possibly export the current database to PST then disconnect the mailboxes, then mount the RSG database into the live store and mount that in the Recovery Center, do a find match, then reconnect and merge the new PST's back in?

Does this make sense?

Accepted Solution

snyderkv earned 0 total points
ID: 33492092
Figured it out. Pretty much what I said above. Infact I can use Exmerge but not from the RSG group because I guess that was desiged to match GUIDs but when I move the database into the live storage group and mount, I'm able to have more flexibility.

And no multi million dollar software necessary.


Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exchange 2013 - Database Availability Group (DAG) 2 41
Bing Maps Add-in in Exchange 2016 1 78
Hybrid Exchange 6 29
Exchange 2016 CU5 10 35
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question