Exchange Server 2016 Operations Chapter III: Recovering deleted mailboxes

Source: Internet
Author: User
Tags microsoft website

the corresponding AD object is deleted when you delete a mailbox by deleting it through the Exchange Admin Center or by using the EMS run Remove-mailbox command. For a deleted mailbox, Exchange identifies the mailbox as a disconnected mailbox, and the ad is stored in the ad Recycle Bin (if the ad Recycle Bin is enabled), so the corresponding AD object is recovered directly from the ad Recycle Bin for recovering the deleted mailbox, but the following prerequisites are required:

    • Enable ad Recycle Bin: The default installation of the deployed ad is not enabled for the ad Recycle Bin;

    • Delete the ad object for the mailbox within the ad Recycle Bin retention cycle;

    • Deleted mailboxes are within the Exchange mailbox retention cycle;


1. enable the ad Recycle Bin (Windows Server R2)


    • To enable the Active Directory Recycle Bin for contoso.com, type the following command, and then press Enter:

Enable-adoptionalfeature–identity ' cn=recycle Bin feature,cn=optional features,cn=directoryservice,cn=windows NT,CN =services,cn=configuration, dc=contoso,dc=com ' –scopeforestorconfigurationset–target ' contoso.com '

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/83/9F/wKiom1d4q_-TFpDIAABIqrhsu8w583.png "title=" 1.png " alt= "Wkiom1d4q_-tfpdiaabiqrhsu8w583.png"/>

    • For more information about the ad Recycle Bin, refer to the Microsoft website:

https://technet.microsoft.com/zh-cn/library/dd392261 (v=ws.10). aspx

2. Recover AD Account (Windows Server R2)
    • The existing accounts in AD are as follows:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/83/9F/wKiom1d4rAmxnOmaAABeoWVVLdI659.png "title=" 2.png " alt= "Wkiom1d4ramxnomaaabeowvvldi659.png"/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/9E/wKioL1d4rBnBHOUuAAAmdEDaR0Y056.png "title=" 3.png " alt= "Wkiol1d4rbnbhouuaaamdedar0y056.png"/>

    • Delete ad account "Huang Jinhui"

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/83/9F/wKiom1d4rCPjUflBAAB3Dlrf2Ig488.png "title=" 4.png " alt= "Wkiom1d4rcpjuflbaab3dlrf2ig488.png"/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/83/9E/wKioL1d4rC2w8h8EAAA49_2weuI037.png "title=" 5.png " alt= "Wkiol1d4rc2w8h8eaaa49_2weui037.png"/>

    • Use a script to export the ad user for the Recycle Bin, and then recover from the GUID

Get-adobject-searchbase "cn=deleted objects,dc=contoso,dc=com"-ldapfilter "(objectclass=user)"-Properties lastknownparent-includedeletedobjects | Format-list

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/9E/wKioL1d4rDfyyTulAACEjHB1fbY579.png "title=" 6.png " alt= "Wkiol1d4rdfyytulaacejhb1fby579.png"/>

Note: For the above recovery method is only one of them, students can choose the appropriate method according to the actual situation and their own habits.


3. Enable the ad Recycle Bin (Windows Server R2)

The ad Recycle Bin feature in Windows Server 2012 is so humanized that turning on the Recycle Bin feature and recovering the ad object can be easily manipulated and implemented in the graphical interface.

    • Open Active Directory Admin Center à click on "Huangjh (local)" à Click "Enable Recycle Bin"

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/83/9F/wKiom1d4rESy_7GbAAFmgkfKBFA476.png "title=" 7.png " alt= "Wkiom1d4resy_7gbaafmgkfkbfa476.png"/>

    • Click "OK" to turn on Recycle Bin function

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/9F/wKiom1d4rE-DaPNtAAAlcb5IRVY606.png "title=" 8.png " alt= "Wkiom1d4re-dapntaaalcb5irvy606.png"/>

    • In situations where there are multiple sites in the environment, it takes a while for the feature to sync to the full forest after it is enabled, click "OK"

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/9E/wKioL1d4rFmSSx2XAAA3sEKPTF0648.png "title=" 9.png " alt= "Wkiol1d4rfmssx2xaaa3sekptf0648.png"/>


    • Enable to see new container "Deleted Objects" to hold deleted AD objects

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/9E/wKioL1d4rGShaKeyAAFl9y7iDfs123.png "title=" 10.png "alt=" Wkiol1d4rgshakeyaafl9y7idfs123.png "/>


4. Restore the ad account (Windows Server R2)
    • This use account "Stephen" as an example

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/83/9F/wKiom1d4rHLCE1O8AACDUkAFsyE458.png "title=" 11.png "alt=" Wkiom1d4rhlce1o8aacdukafsye458.png "/>

    • At the same time, the account has an Exchange mailbox and uses Remove-mailbox to delete the mailbox

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/9F/wKiom1d4rHziqW-SAACJ4GSQiw0051.png "title=" 12.png "alt=" Wkiom1d4rhziqw-saacj4gsqiw0051.png "/>

    • The corresponding AD object is also automatically deleted after the Exchange mailbox is deleted

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/9E/wKioL1d4rIfjH5YXAACIHC6bjPs288.png "title=" 13.png "alt=" Wkiol1d4rifjh5yxaacihc6bjps288.png "/>

    • In AD Admin Center, double-click to open the container "Deleted Objects"

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/9F/wKiom1d4rJSyJX_IAAHIFLwkZIo356.png "title=" 14.png "alt=" Wkiom1d4rjsyjx_iaahiflwkzio356.png "/>

    • You can see the ad objects that were automatically deleted when you just deleted the mailbox, click "Restore"

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/9E/wKioL1d4rKDxEsxzAAEkLtE8voA451.png "title=" 15.png "alt=" Wkiol1d4rkdxesxzaaeklte8voa451.png "/>

    • The corresponding ad object was restored to the previous OU path after the restore

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/83/9E/wKioL1d4rKqBI4kgAACRfJQy0xs597.png "title=" 16.png "alt=" Wkiol1d4rkqbi4kgaacrfjqy0xs597.png "/>

    • Open the Account property to see that the restored AD object properties are consistent with the deleted

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/9F/wKiom1d4rLWz7x6VAABtLTdCzf4941.png "title=" 17.png "alt=" Wkiom1d4rlwz7x6vaabtltdczf4941.png "/>

    • After the ad object is restored, the corresponding mailbox is also automatically associated

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/9E/wKioL1d4rMCS-zYlAAAkv6ime2o554.png "title=" 18.png "alt=" Wkiol1d4rmcs-zylaaakv6ime2o554.png "/>

    • Log in to the mailbox and verify that it is normal and consistent with the data and configuration of the previous mailbox

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/83/9F/wKiom1d4rMyxTFCqAAEbO6GVyps044.png "title=" 19.png "alt=" Wkiom1d4rmyxtfcqaaebo6gvyps044.png "/>

According to the above detailed introduction, in fact, recover deleted mailbox is to restore the corresponding AD object, but for the ad Recycle Bin and object recovery is a lot of attention, we recommend you read the relevant TechNet documentation.


This article is from the "Huang Jinhui column" blog, be sure to keep this source http://stephen1991.blog.51cto.com/8959108/1795283

Exchange Server 2016 Operations Chapter III: Recovering deleted mailboxes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.