Solved

AD 2003 Account Deleted and recovered through LDP, but no exchange 2007 mailbox?

Posted on 2009-05-18
4
488 Views
Last Modified: 2013-11-25
Hello,

We had an issue where the Administrator removed a user's account from "Active Directory Users & Computers" tool by accident, this removed their user and the exchange 2007 mailbox that was associated with that account.

We were able to restore the AD account by removing the "isDeleted" flag from the account, however the linked mailbox does not show up in Exchange Console. The mailbox is not located in the "Disconnected Mailboxes" category either because it was never "disconnected".

What would be the steps to recover this mailbox or to re-assign the user to that mailbox?

Thanks for any help.
0
Comment
Question by:warba
  • 2
  • 2
4 Comments
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24414871
You need to run below command to cleanup your database, like in Exchange 2003 we right click on Mailboxes and click on Run Cleanup Agent to see the Disconnected Mailboxes after removal of user object in Active Directory.

In Exchange 2007 you can do it with Clean-MailboxDatabase command.

Clean-MailboxDatabase Database Name
0
 
LVL 2

Author Comment

by:warba
ID: 24415278
I tried that command but have an issue running it,

Our exchange database is split in 4 stores, named:

Database Store 1, 2, 3, 4, 5.

But I do not think that the cmd likes spaces, what would be a way to find the GUID of the mailbox store? This can be used as an -identity parameter as well.
0
 
LVL 24

Accepted Solution

by:
Rajith Enchiparambil earned 250 total points
ID: 24415298
Run Clean-MailboxDatabase "Database Store 1"
0
 
LVL 2

Author Closing Comment

by:warba
ID: 31582693
I tried your suggestion there, using "Database Store 1" but for some reason that did not work, so I went and go the GUID of Database Store 1 and it worked just fine.

Your suggested cmd worked.

Thanks.
0

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
This video discusses moving either the default database or any database to a new volume.

744 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