Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Restoring an accidentally deleted AD users

Posted on 2015-02-14
6
Medium Priority
?
70 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
[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
  • 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Let's recap what we learned from yesterday's Skyport Systems webinar.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
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…
Suggested Courses

722 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