Extract contents from a disconnected mailbox
Hi all, We've had to restore a SBS08 server today, as a result of this, we've had to recreate two users in AD, however, under Exchange 2007 mailboxes, their mailboxes are in a disconnected state. I've used the SBS wizard to create their AD account again which has also created a fresh mailbox. I need to get into the disconnect mailboxes to extract it's contents. I thought I could do this by: 1. Creating a dummy user under ADUC 2. Connect the disconnected mailbox onto the dummy user 3. Load outlook on PC and export. But, I get the following error: Summary: 1 item(s). 0 succeeded, 1 failed. Elapsed time: 00:00:00 Sean Magee Failed Error: The LegacyExchangeDN "/O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=USER" of "27cebb70-26f8-4e89-905a-47911637dd84" is being used by the following user in Active Directory: "User Name". The value for LegacyExchangeDN must be unique to each user. Exchange Management Shell command attempted: Connect-Mailbox -Identity '27cebb70-26f8-4e89-905a-47911637dd84' -Database 'SERVER-01.xxx.local\First Storage Group\Mailbox Database' -User 'fcc\dummyuser1' -Alias 'dummyuser1' Elapsed Time: 00:00:00 I don't want to have to go down the road of removing the newly created users as mail will now be coming into the new mailboxes. Is there anyway we can get in to these disconnected mailbox and extract? Thanks Simon
October 8th, 2009 6:54pm

Simon, If this is a native Exchange 2007 environment then use adsiedit.msc and modify the current users legacyexchangedn. You can just add another number or some character to the end. Then try your connect-mailbox command again. That attribute is really just for backwards compatibility with prior versions of Exchange and some OL 2003 functions. Once you have extracted what you need you can change the value of the current user back and it shouldn't have any impact. Sr. Exchange Engineer - Constellation Energy
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2009 7:09pm

Try this from EMS restore-mailbox -Identity DRTESTLCO08 -rsgdatabase "EXMAIL02\Recovery Storage Group\sg1db1" -rsgmailbox "/O=ENERGY/OU=ITASCA/CN=RECIPIENTS/CN=GRVD03" -TargetFolder DavidG Restore -BadItemLimit 10 -Verbose -Debug Provide GUID of the mailbox instead of Dispaly Name or Name to Restore-Mailbox. You can rereive the mailbox GUID by the same command what you are using i.e. get-mailboxstatistics -database 'RSG\databasename' | where {$_.displayname -eq "userdisplayname"} | fl identity, MailboxGuidVinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
October 9th, 2009 6:50pm

Thanks Aaron, Where can I set this ADSI value? Can I assume the following needs to happen? CurrentUser - Edit legacydn DummyUser - Run mailbox connect to connect disconnected mailbox. This is a SBS 2008 server that was not migrated. Simon
Free Windows Admin Tool Kit Click here and download it now
October 12th, 2009 12:53pm

Directly on the current user object in the domain container. Each user object has a legacyexchangedn attribute.Sr. Exchange Engineer - Constellation Energy
October 12th, 2009 4:06pm

Thanks Aaron, I found it. I assume if I add 1 character to the end of the users legacyexchangednattribute it will fail to load the mailbox yes? I guess I will need to do this out of hours whilst I load the disconnected mailbox int othe temp user and export.
Free Windows Admin Tool Kit Click here and download it now
October 12th, 2009 9:13pm

It shouldn't cause the mailbox not to load. Like I stated earlier that attribute is for backwards compatibility and also used by OL2003 for some functions. Other than that you should be fine to make the change do what you need to do and change it back.Sr. Exchange Engineer - Constellation Energy
October 12th, 2009 10:23pm

Thanks Aaron, that worked.... BUT! I can no longer seem to send out email in their new accounts, I can receive fine. I get no errors on send and the item shows up in sent items. I've changed the AD attribute back how it was previously. The Internet connections are fine as I can send/recv as another person.
Free Windows Admin Tool Kit Click here and download it now
October 14th, 2009 9:06pm

Did you use message tracking (Get-MessageTrackingLog)? Do it show a fail somehwere? The old account you did disconnect that once you were finished before change the attribute back?Same thing happen when you send email form this account in OWA? Sr. Exchange Engineer - Constellation Energy
October 14th, 2009 10:00pm

Ah ha, I think I've cracked it myself. I set my dummy users to have that extra chatacter in their legacydn and I can now send out! Hopefully this will help someone in the same situation that I was in. Problem: Restore of server (Active Directory rolled back 2 weeks) left 2 users without AD accounts but Exchange mailboxes still on system Solution: 1. Create temp user under ADUC 2. Edit live users legacyexchangedn under Attribute Editor. Add 1 extra character to the end of this value 3. Attach disconnected mailbox to the temp user 4. Export content as needed 5. Import PST back into live user 6. Edit live user - Take out extra character in Attribute Editor 7. Edit temp user - Add extra character in Attribute Editor 8. Disable/Delete temp user. Bear in mind that the above had to be carried out as I had recreated the user with a fresh mailbox (SBS 2008 wizard has to create a new mailbox at the time of creation) Simon
Free Windows Admin Tool Kit Click here and download it now
October 14th, 2009 10:10pm

Thanks a lot .
March 7th, 2011 9:51am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics