Solved

Ad user remove ?

Posted on 2013-11-09
7
232 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
7 Comments
 
LVL 6

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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 6

Expert Comment

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

Accepted Solution

by:
Satish Auti earned 500 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 36

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

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

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This video discusses moving either the default database or any database to a new volume.

809 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