Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Restoring an accidentally deleted AD users

Posted on 2015-02-14
6
Medium Priority
?
72 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 27

Expert Comment

by:MAS
ID: 40610569
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
ID: 40610574
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 27

Expert Comment

by:MAS
ID: 40610588
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
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.

 

Author Comment

by:Muhajreen
ID: 40610591
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 2000 total points
ID: 40611013
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
ID: 40615023
Thank you. I surfed and googled too much, but your provided post is the only clear and correct one.
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

If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

916 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