?
Solved

Ad user remove ?

Posted on 2013-11-09
7
Medium Priority
?
235 Views
Last Modified: 2013-11-13
I deleted a user from AD instead of Exchange now can't delete the account in exchange. It gives some error about not being able to find it in AD. How can I remove this mail box now?
0
Comment
Question by:Axis52401
[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
7 Comments
 
LVL 11

Expert Comment

by:Satish Auti
ID: 39636344
Run this command from EMC

Remove-Mailbox -Identity "USERNAME" -Permanent

Refer for better understanding...

http://howexchangeworks.com/2010/09/purge-disconnected-or-soft-deleted.html
0
 
LVL 2

Author Comment

by:Axis52401
ID: 39636349
It gives me the error
Missing an arguement for parameter
0
 
LVL 4

Expert Comment

by:Smighty
ID: 39636351
You will find the Mailbox as unlinked in the Disconnected Mailboxes and you'll be able to reattach the mailbox to a new/other user or delete it there.

If you have the AD Recycle Bin activated you can restore the AD account and reattach the mailbox to the existing account. I don't know if you have to reattach it manually since I've never done it myself...
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 11

Expert Comment

by:Satish Auti
ID: 39636353
have u enter the user account between "" which u deleted.
0
 
LVL 11

Accepted Solution

by:
Satish Auti earned 2000 total points
ID: 39636355
I don't think there is need to restore user account..... finally u can try that also..
0
 
LVL 2

Author Comment

by:Axis52401
ID: 39636358
That mailbox doesn't show in the disconnected mailboxes it shows up in the regular list, I did put the users username in the command
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 39636666
You can use adrestore if you wanted to recover deleted user
OR
else you can create new AD user without mailbox with same login name as deleted one.
Also, run below command on exchange mailbox server
get-mailboxdatabase |clean-mailboxdatabase
Now you can view deleted user mailbox in disconnected mailbox post refresh
Now right click disconnected mailbox and select connect, it will connect the disconnected mailbox to user
now take .pst backup of mailbox if wanted to and then Disable (Not Remove) the mailbox from exchange mmc.
This will remove all exchnage attributes from user account, and also mark mailbox for deletion by moving it into disconnected mailbox container.
If everything happended perfectly and u are sure that user account is no longer needed, you can delete it as well.

below is the step by step
http://community.spiceworks.com/how_to/show/1388-recover-mailbox-after-delete-active-directory-user
0

Featured Post

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.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month14 days, 3 hours left to enroll

800 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