Solved

Delete a mailbox and Active Directory account

Posted on 2013-05-14
14
1,917 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
In this video we show how to create an email address policy 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…
To show how to generate a certificate request 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 Servers >> Certificates…

777 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