Solved

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

Posted on 2009-05-18
4
495 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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
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
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

766 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