Solved

Delete a mailbox and Active Directory account

Posted on 2013-05-14
14
2,009 Views
Last Modified: 2013-05-14
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
0
Comment
Question by:kingsville
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
  • +3
14 Comments
 
LVL 14

Expert Comment

by:Ben Hart
ID: 39165781
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
 
LVL 7

Expert Comment

by:Jarred Power
ID: 39165787
You have to reattach the mailbox to the AD user account -
0
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 39165788
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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39165825
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
 
LVL 14

Expert Comment

by:Ben Hart
ID: 39165834
There's a Run Cleanup Agent in 2010?
0
 
LVL 5

Expert Comment

by:basil2912
ID: 39166005
EMC - disconnected mailboxes and you can attach it to a normal AD account.
0
 

Author Comment

by:kingsville
ID: 39166074
it is not showing up as a disconnected mailbox in ESM.
I do not see a Run Cleanup Agent anywhere
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39166112
Sorry Exchange 2010 :) ,...... run the below command from Shell

Clean-MailboxDatabase

- Rancy
0
 

Author Comment

by:kingsville
ID: 39166138
this is the message I receive if I select properties of mailbox in ESM
message.png
0
 
LVL 14

Expert Comment

by:Ben Hart
ID: 39166146
Look at Rancy's command.. open your Exchange Management Shell and run the command clean-mailboxdatabase -identity 'database name'
0
 
LVL 14

Expert Comment

by:Ben Hart
ID: 39166153
then you can refresh the view on your disconnect mailboxes part of the Exchange Management Console.
0
 

Author Comment

by:kingsville
ID: 39166158
It is not there
0
 
LVL 5

Accepted Solution

by:
basil2912 earned 500 total points
ID: 39166165
Try to do a repadmin /syncall on the dc to make sure the AD attributes have been propagated.
0
 

Author Closing Comment

by:kingsville
ID: 39166179
User mailbix removed as soon as I ran the command and refreshed the ESM

Thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
This video discusses moving either the default database or any database to a new volume.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 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