• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 74
  • Last Modified:

Restoring an accidentally deleted AD users

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
Muhajreen
Asked:
Muhajreen
  • 3
  • 2
1 Solution
 
MAS EE MVETechnical Department HeadCommented:
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
 
MuhajreenAuthor Commented:
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
 
MAS EE MVETechnical Department HeadCommented:
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
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

 
MuhajreenAuthor Commented:
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
 
Will SzymkowskiSenior Solution ArchitectCommented:
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
 
MuhajreenAuthor Commented:
Thank you. I surfed and googled too much, but your provided post is the only clear and correct one.
0

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now