Error when trying to recover single mailbox from RSG in Exchange 2003

Posted on 2006-06-06
Last Modified: 2008-02-07
Hi, I accidentally purged a disconnected mailbox out of my exchange mail store for a particlular user and can't get it back.  I'm running a single exchange 2003 server with SP2 and have tried several different things to recover mailbox but can't.
1.  Setup Recovery Storage Group and restored Exchange DB into RSG.
2.  Created new mailbox for user in my mailstore that matches old mailbox as seen in RSG.
3.  run recover "recover mailbox data" from RSG and use merge data option on selected user and receive error message.
<?xml version="1.0" encoding="unicode" ?>
- <taskWizardRun taskName="Recover Mailbox Data" dcName="MAIL" buildNumber="7638" runningAs="administrator@RSD15.REGION15.ORG">
  <timespan startTime="2006-06-06 23:07:50.156" milliseconds="203" />
- <recoverMailbox>
- <destination>
  <database>/dc=org/dc=region15/dc=rsd15/cn=Configuration/cn=Services/cn=Microsoft Exchange/cn=Region15/cn=Administrative Groups/cn=First Administrative Group/cn=Servers/cn=MAIL/cn=InformationStore/cn=First Storage Group/cn=Mailbox Store (MAIL)</database>
  <taskSummary errorCount="1" completedCount="0" warningCount="0" errorCode="0x00000000" />
- <items>
- <item adsPath="Caroline Quinn-Alger" class="user">
  <progress code="0" milliseconds="203">Connecting to source server.</progress>
  <summary isWarning="false" errorCode="0xc1050000">The attempt to log on to the Microsoft Exchange Server computer has failed. The MAPI provider failed. Microsoft Exchange Server Information Store ID no: 8004011d-0512-00000000</summary>

Also, ran exmerge against RSG data base and the user I'm looking for does not show in the list of boxes and receive error:

"Microsoft Exchange Mailbox Merge Program, v6.5.7529.0
Start Logging:June 06, 2006   23:33:32
[23:33:32] Logging Level: None
[23:33:32] Reading settings from file 'D:\Program Files\Exchsrvr\bin\EXMERGE.INI'.
[23:33:32] Accessing Domain Controller 'MAIL'
[23:33:32] 'MAIL' is running Exchange Server 2000 or later
[23:33:32] Source server read from settings file is 'MAIL'.
[23:33:32] Reading list of subjects for messages to be selected from file ''
[23:33:32] Reading list of attachment names for messages to be selected from file ''
[23:33:32] List of folders to be ignored has been read. 0 folders in the list.
[23:33:32] Current machine locale ID is 0x409
[23:33:32] Operating System Version 5.2 (Build 3790)
[23:33:36] Accessing Domain Controller 'MAIL'
[23:33:36] 'MAIL' is running Exchange Server 2000 or later
[23:33:41] Mailbox '/O=REGION15/OU=FIRST ADMINISTRATIVE GROUP/CN=CONFIGURATION/CN=CONNECTIONS/CN=SMTP (MAIL)/CN={D530D19D-416C-440E-A838-8C4E9330CF9D}' will be ignored as its DN contains strings in the ignore list
[23:33:43] Mailbox '/o=Region15/ou=First Administrative Group/cn=Recipients/cn=SystemMailbox{D530D19D-416C-440E-A838-8C4E9330CF9D}' will be ignored as its DN contains strings in the ignore list
[23:33:44] Error! Cannot identify the user with the msExchMailboxGuid xP\2Bt\C0\7ERB\AE\B5\98\A7H\95\C7\2C. The legacyExchangeDN is /O=REGION15/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=CQUINN-ALGER.
[23:33:46] Mailbox '/O=REGION15/OU=FIRST ADMINISTRATIVE GROUP/CN=CONFIGURATION/CN=SERVERS/CN=MAIL/CN=MICROSOFT SYSTEM ATTENDANT' will be ignored as its DN contains strings in the ignore list
[23:33:49] Found 731 mailbox(es) homed on database 'RECOVERY STORAGE GROUP/MAILBOX STORE (MAIL)'.
[23:33:49] Skipped 1 mailbox(es) homed on database 'RECOVERY STORAGE GROUP/MAILBOX STORE (MAIL)' because of errors.
[23:33:49] Ignored 3 mailbox(es) homed on database 'RECOVERY STORAGE GROUP/MAILBOX STORE (MAIL)'.
[23:33:49] Found 731 mailbox(es) homed on the specified databases.
[23:33:49] Skipped 1 mailbox(es) homed on the specified databases because of errors.
[23:33:49] Ignored 3 mailbox(es) homed on the specified databases.

where the very user I need is stamped above with this error.
"[23:33:44] Error! Cannot identify the user with the msExchMailboxGuid xP\2Bt\C0\7ERB\AE\B5\98\A7H\95\C7\2C. The legacyExchangeDN is /O=REGION15/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=CQUINN-ALGER."

I've checked the send as receive as permissions for my admin account and enabled permission.

Nothing is working and I need to retreive this mailbox.
Question by:RussSage
    LVL 12

    Expert Comment

    Following is an extract from Microsoft Kb824126

    "To use a Recovery Storage Group, the Active Directory topology of the Exchange Server 2003 computer must be intact and must be in the same state as when the copy of the database was made. This means that the mailbox or the mailboxes that you want to recover must not be deleted or purged from the system, or moved to a different database or to a different server
    The first test that a mailbox must pass before you can recover data from the mailbox by using a Recovery Storage Group is that the mailbox GUID must correspond to a user in Active Directory.
    The mailbox GUID is a unique value that distinguishes a mailbox from all others. The mailbox GUID is created in the mailbox store when the mailbox is created, and the value remains the same for the lifetime of the mailbox. The msExchMailboxGUID attribute uses the mailbox GUID value from the mailbox store. The msExchMailboxGUID attribute is set on the user who owns the mailbox when you link a mailbox to a user account in Active Directory. The Exmerge.exe tool uses the msExchMailboxGUID attribute to match the mailbox in the Recovery Storage Group with the original mailbox.
    When you delete a mailbox, mailbox attributes are removed from the user object in Active Directory that previously owned the mailbox. As a result, you cannot use a Recovery Storage Group to recover a deleted mailbox"

    How to use Recovery Storage Groups in Exchange Server 2003

    How to recover or to restore a single mailbox in Exchange Server 2003

    The second article might help you..

    Author Comment

    Thanks for the articles.  I've read both already and can;t see why users do not have the option of simply pulling mailbox data out of the recovery storage group into a pst.  This to me is not an answer as it appears my only option is to install Exchange on another server, restore the database and get the data out of the mailbox on the second server.  This is a tremendous amount of time and I can't see why Microsoft doesn't have an easier way for users to recover data for mailboxes that have been purged by accident or on purpose.
    I was hoping that the second server intall to be my last resort.
    LVL 12

    Expert Comment

    I am sorry to say, but yes you are right, you will have to go with the recovery server in this case and Recovery Storage Group wont help you. In case, you have the Active Directory backup and can restore that particular user back in AD with its msExchMailboxGUID, you can use Recovery Storage group.

    Amit Aggarwal.

    Author Comment

    How do you restore just one user with an AD backup?
    LVL 12

    Expert Comment

    When you deleted that user? is it within 2 months? if yes.
    Please have a look at the section "How to manually undelete objects in a deleted object's container" in the below KB->

    How to restore deleted user accounts and their group memberships in Active Directory

    There is one more KB ->
    Viewing deleted objects in Active Directory

    Amit Aggarwal.
    LVL 3

    Expert Comment

    What Amit said is perfectly right..

    We can use one workaround as well which is actually not recommended from Microsoft...

    By changing some attribute of RSG we can connect the particular mailbox to the user and then extract the data to PST using exmerge utility.

    Here is the action plan :

    If you have windows 2003 support tools installed, Go to ADSIEDIT.MSC

    Configuration Container--Services--Exchange--Exchange Organization--Administrative Group--First Administrative Group--Servers--Server Name--Information Store--Right click Recovery Storage Group properties-- Look for the attribute msExchRestore.

    Set this attribute to FALSE.Also go to the mailbox store properties under Recovery storage group and set the same attribute value to FALSE.

    Mount the mailbox store in RSG.

    Right click the required mailbox and reconnect it to the user if that user exists or you can connect it to any other user as well who did not have any mailbox.

    Once the mailbox is connected use Exmerge to get the data in PST.

    You can then merge this PST in newly created mailbox on production store.

    Do let me know for any further clarifications...

    LVL 3

    Expert Comment

    Make sure once you done with all this procedure ,Revert back the changes we made on RSG.



    Author Comment

    OK, tried these things too and the end result is that I got an error on the attempt to reconnect mailbox to a test user that says the mailbox is already connected to CN "old user".  Thought I was good because I never deleted original user account anyway, just simply migrated the user to a different domain.  So again, attempted to reconnect to original user and browse to new domain and OU of original user but on "check name" receive error that user is not found or name is misspelled.  I've already tried migrating user back to original domain and OU but no luck there either.
    Incidentally, I loaded new test server as second server in forest and organization.  Could I restore original mail store with intact user mailbox to test server?  How is this done?  I'm using veritas 9.1 with exchange mod but unfortunately at the time of my last good backup for this user, I was only backing up entire store and not individual mailboxes because of storage room on tape.  Just my luck.
    LVL 3

    Accepted Solution

    Well , We will have to first disconnect the current user for which we are trying to retrieve mailbox in RSG. Disconnect that user from his production mailbox.

    Go to ADUC --- right click user--exchange task--remove exchange attribute.

    Then try to connect the mailbox in RSG to the test user and then take the PST.

    Once you took the PST, Again reconnect the original user to his production mailbox.

    I am sure this is definately gonna work as I have already tested it on my server.


    Author Comment

    OK, this sort of worked.  I removed ex attribs from user account, then I was able to connect that users box in RSG to my test user.  I tried exmerge to extract PST against test user but it failed with error and it only extracted about 7 MB out of a 36MB box.  So instead, I used the move mailbox feature to move mailbox out of RSG to production store.  From here, I was able to login as test user to outlook.  Then I was able to do full pst export.  After I had PST, i removed exch attribs of test user and reconnected live user to their old mailbox.  THen logged in with live user to outlook and imported PST!!!  I spent about 30 hours on this!  Lesson learned!
    Thanks for your help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Wish Marketing would stop bothering you?

    Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

    Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
    Use email signature images to promote corporate certifications and industry awards.
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now