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)
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"/>
https://technet.microsoft.com/zh-cn/library/dd392261 (v=ws.10). aspx
2. Recover AD Account (Windows Server R2)
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"/>
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"/>
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.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/83/9F/wKiom1d4rESy_7GbAAFmgkfKBFA476.png "title=" 7.png " alt= "Wkiom1d4resy_7gbaafmgkfkbfa476.png"/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/9F/wKiom1d4rE-DaPNtAAAlcb5IRVY606.png "title=" 8.png " alt= "Wkiom1d4re-dapntaaalcb5irvy606.png"/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/9E/wKioL1d4rFmSSx2XAAA3sEKPTF0648.png "title=" 9.png " alt= "Wkiol1d4rfmssx2xaaa3sekptf0648.png"/>
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)
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/83/9F/wKiom1d4rHLCE1O8AACDUkAFsyE458.png "title=" 11.png "alt=" Wkiom1d4rhlce1o8aacdukafsye458.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/9F/wKiom1d4rHziqW-SAACJ4GSQiw0051.png "title=" 12.png "alt=" Wkiom1d4rhziqw-saacj4gsqiw0051.png "/>
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/9E/wKioL1d4rIfjH5YXAACIHC6bjPs288.png "title=" 13.png "alt=" Wkiol1d4rifjh5yxaacihc6bjps288.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/9F/wKiom1d4rJSyJX_IAAHIFLwkZIo356.png "title=" 14.png "alt=" Wkiom1d4rjsyjx_iaahiflwkzio356.png "/>
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/9E/wKioL1d4rKDxEsxzAAEkLtE8voA451.png "title=" 15.png "alt=" Wkiol1d4rkdxesxzaaeklte8voa451.png "/>
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/83/9E/wKioL1d4rKqBI4kgAACRfJQy0xs597.png "title=" 16.png "alt=" Wkiol1d4rkqbi4kgaacrfjqy0xs597.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/83/9F/wKiom1d4rLWz7x6VAABtLTdCzf4941.png "title=" 17.png "alt=" Wkiom1d4rlwz7x6vaabtltdczf4941.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/9E/wKioL1d4rMCS-zYlAAAkv6ime2o554.png "title=" 18.png "alt=" Wkiol1d4rmcs-zylaaakv6ime2o554.png "/>
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