Scenario: Restore user account where the account was accidentally/ purposely deleted and the mailbox resides on an Exchange 2010 in a mixed 2003, 2008 environment. The deleted mailbox is now showing in disconnected mailboxes.
The first step is to recover the deleted user account in AD. Hoping that you have left the tombstones on the server to either 60 days or 180 days which is the default for windows 2003 and up.
There are several ways too restore the account, the most painstaking one using system state restore after booting into directory services restore mode which means downtime.
The easiest and simplest way is using adrestore CLI available from Microsoft, if you need GUI adrestore.net is the best.
Download it from the link and install on the DC.
Adrestore.net
The how to is available from the developers site http://blogs.microsoft.co.il/blogs/guyt/archive/2007/12/15/adrestore-net-rewrite.aspx and http://www.petri.co.il/recovering-deleted-items-active-directory.htm
Now that you have restored the user account the next problem is to connect the disconnected mailbox which is rather easy, just open EMC 2010 right-click on a disconnected mailbox, select Connect and choose a matching user in this case.
If the online maintainence hasn’t run then the deleted mailbox will not show in disconnected mailbox, you will need to run this command in PS
Clean-MailboxDatabase databasename
And now you can connect the mailbox to the user you just restored
This is exactly what happened to me – 20 AD Users deleted from AD.
I tried using the ADRestore.NET tool which simply returned ‘0 Tombstones found’ – great?..
Tried using LDAP – and searching deleted objects and found nothing. Exchange 2010 has completed Purged them somehow, i can’t find a way to restore the AD objects done by Exchange yesturday… Please help.
LikeLike
Hi Pete, can you elaborate on what you have done so far, is this 2003/2008 mixed mode domain? what Server OS are you running on the main DC? what sort of backup are you running?
Did you run adrestore.net logged on as domain admin on one of the DC’s?
Have you followed the steps here to display deleted objects container: http://technet.microsoft.com/en-us/library/dd379509(v=ws.10).aspx
are there any errors logged in the eventlogs when you run a query using ldp.exe ?
if you are running 2008 R2 DC i would suggest you give this a read before jumping to a authoritative restore using a backup.
http://technet.microsoft.com/en-us/library/dd392261(v=ws.10).aspx
LikeLike
You TOTALLY saved my ass, the steps worked a treat and got my user back again. Thanks a million. PS Works with Server 2008 and Exchange 2007 SP2
LikeLike
thanks, glad that it helped
LikeLike
You save my day, Daniel! It works like a charm on Win 2003 forest functional level with Exchange 2010 SP2.
LikeLike
good to know Laith!
LikeLike
i have run the command Clean-MailboxDatabase databasename targeting the correct database in the Exchange Management Shell successfully but nothing displays in the disconnected mailboxes even after I do refresh.
Kindly assist
LikeLike
Hi,
guess this a bit delayed, have you tried the usual re-opening the emc or restart IIS and exchange system attendant?
LikeLike
Thanks Godwin you save my day i accidentally deleted a CEO AD acct and exchange acct but this help me a lot. Thanks once again.
LikeLike
Any idea where download this tool all the links are dead 😦
LikeLike
Thanks for letting me know, I have updated the link, please check it out.
LikeLike
This was AWESOME!!! You Saved my ass 🙂
LikeLike
Thank you so much for this guide and utility. This saved me so much time!
LikeLike
Wow This software has been deleted from several places, but you sir saved me from hassle. Thanks a lot!!! 😀 You rock!!!
LikeLiked by 1 person
THANKSSSSS YOU SAVE MY LIFE! 48 USERS ERASED!
THANKSSSS
LikeLike
Glad it worked
LikeLike