Solved

Restoring an accidentally deleted AD users

Posted on 2015-02-14
6
62 Views
Last Modified: 2015-02-17
Hello experts,

We have a Windows 2008 R2 server, we didn't enable recycle feature on it before and we don't have any backup. Some admin has accidentally deleted few usernames. Those users have Exchange 2010 mailboxes.

Is there any way to restore those deleted users? If not, how to create new users and link them to the original user mailboxes?
0
Comment
Question by:Muhajreen
  • 3
  • 2
6 Comments
 
LVL 24

Expert Comment

by:-MAS
Comment Utility
Create a new user if recycle feature not enabled.
Reconnect the mailbox to the newly created user.
https://technet.microsoft.com/en-us/library/bb123490(v=exchg.141).aspx
http://exchangeserverpro.com/reconnect-disconnected-mailbox-exchange-server-2010/

If the mailbox not showing as disconnected run the below command
Clean-MailboxDatabase <database name>
0
 

Author Comment

by:Muhajreen
Comment Utility
Thank you. I am really confused about this. When I write:

Get-MailboxDatabase | Get-MailboxStatistics | where {$_.DisconnectReason -ne $null} | ft displayname,database,disconnectreason -auto

I don't get any result while I can see some disconnected mailboxes in EMC for some existing users.
0
 
LVL 24

Expert Comment

by:-MAS
Comment Utility
Did you run below command?
Clean-MailboxDatabase <database name>
can you see the deleted users's mailbox?

You can reconnect from EMC  to a new user
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:Muhajreen
Comment Utility
Yes I ran

Clean-MailboxDatabase <database name>

and the same didn't give any output.

Those visible in EMC are for disabled mailboxes for existing users.

Our main problem is in deleted AD users without disabling mailboxes for them.
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
Comment Utility
we didn't enable recycle feature on it before and we don't have any backup. Some admin has accidentally deleted few usernames
If you have not enabled Recycle Bin or do not have a backup you can restore objects from the hidden delete items container in Active Directory. To do this you use ldp.exe. Below is a complete step-by-step process to accomplish this.

http://social.technet.microsoft.com/wiki/contents/articles/5549.recover-active-directory-deleted-items-using-ldp-exe.aspx

Btw the default tombstone life time for 2003 and up is 180 days.

Our main problem is in deleted AD users without disabling mailboxes for them
Mailbox always require an active directory account (enable or disabled) there needs to be an account assocaited to the mailbox. Any account can be associated to any mailbox.

Will.
0
 

Author Closing Comment

by:Muhajreen
Comment Utility
Thank you. I surfed and googled too much, but your provided post is the only clear and correct one.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

728 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now