Delete a mailbox and Active Directory account

Wanted to delete a user account.
Running Windows server 2008 R2 on DC and Exchange 2010. Accidentally deleted a user in ADUC prior to deleting in Exchange ESM.Restored user to  ADUC using tool called ADRESTORE.NET - now attempting to delete mailbox and receive the error message "isn't a mailbox user.

how can I delete this mailbox and user account from our network
kingsvilleAsked:
Who is Participating?
 
basil2912Connect With a Mentor Commented:
Try to do a repadmin /syncall on the dc to make sure the AD attributes have been propagated.
0
 
Ben HartCommented:
You need to recreate a user, can be a test user, and reattach the disconnected mailbox to the account.  Then you can Remove them both from the Exchange Management Console.
0
 
Jarred PowerNetwork AdministratorCommented:
You have to reattach the mailbox to the AD user account -
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Rajitha ChimmaniCommented:
Deleting an AD account will disconnect the mailbox from that account. Restoring the AD account will not restore the mailbox. The mailbox is already disabled. After your retention period, it will be automatically purged from the server.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Do a right click "RUn Cleanup Agent" or restart the InformationStore service after production hours and then Simply right click that Mailbox in ESM and hit Purge

- Rancy
0
 
Ben HartCommented:
There's a Run Cleanup Agent in 2010?
0
 
basil2912Commented:
EMC - disconnected mailboxes and you can attach it to a normal AD account.
0
 
kingsvilleAuthor Commented:
it is not showing up as a disconnected mailbox in ESM.
I do not see a Run Cleanup Agent anywhere
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Sorry Exchange 2010 :) ,...... run the below command from Shell

Clean-MailboxDatabase

- Rancy
0
 
kingsvilleAuthor Commented:
this is the message I receive if I select properties of mailbox in ESM
message.png
0
 
Ben HartCommented:
Look at Rancy's command.. open your Exchange Management Shell and run the command clean-mailboxdatabase -identity 'database name'
0
 
Ben HartCommented:
then you can refresh the view on your disconnect mailboxes part of the Exchange Management Console.
0
 
kingsvilleAuthor Commented:
It is not there
0
 
kingsvilleAuthor Commented:
User mailbix removed as soon as I ran the command and refreshed the ESM

Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.