Yibaodian article -- How to reconnect and restore the deleted user email address of Exchange Server 2013

Source: Internet
Author: User
Tags email account

The email address is disabled. You can enable it again to restore it. What if the user's email address is deleted? For exchange, you can easily restore deleted user email data within the "retention period of deleted mailboxes" period. Note that the recovered email address is no longer the user's email address. Because the original user has been deleted when the mailbox is deleted, even if a new user with the same name is created and the previous mailbox is restored to the new user, it is another user. Therefore, it is recommended that all administrators and brothers do not use "delete" when implementing enterprise IT Operation Specifications. Otherwise, if you need to restart and use it again, you will be confused.

So what exactly does exchange do to delete users' mailboxes? For users, exchange has two operations: one is to disable the user's mailbox, and the other is to delete the corresponding mailbox user account from the Active Directory. It can be seen that the difference between "delete email" and "Disable email" is whether the user account corresponding to the email in the Active Directory is deleted. The former is made clean during execution, while the latter leaves room.

Since the delete mailbox operation will delete the user together, there are two options for recovery:

I. Restore to a new user. For example, if a new employee leaves the company and the mailbox is deleted, the new employee must continue to process the emails and transactions in his mailbox. If Enterprise regulations permit, the employee's email address can be restored to the new employee's email address.

Ii. Restore to an existing Email user. For example, if someone in an enterprise leaves the company and the mailbox is deleted, another employee takes over his business and needs the data in his mailbox. The deleted email address can be restored to the user email address of an existing email address.

1. delete a user's mailbox through EAC and restore it to another user with no email Enabled

1. You can use EAC to disable your mailbox. You can use IE to access https: // exchange-server (FQDN)/ECP to enable EAC. In the exchange management center window, click "recipients" in the navigation bar and select "Mailbox" in the navigation bar of the right window ". Then, select the user's email address to be deleted and click "delete.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/37/D1/wKioL1Ow7I7ykaw-AAHVe0lTqGQ440.jpg "Title =" 1.png" alt = "wKioL1Ow7I7ykaw-AAHVe0lTqGQ440.jpg"/>

2. A warning window is displayed to confirm whether to delete the selected user email address. Click "yes" to complete the deletion operation.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/37/D2/wKiom1Ow7MWRZ5IcAABUVe8dW_c034.jpg "Title =" 2.png" alt = "wkiom1ow7mwrz5icaabuve8dw_c034.jpg"/>

3. Verify the deleted user's email account through EMS. UseGet-mailboxThe user's email address does not exist andGet-userIt also finds that the object cannot be found, proving that the Active Directory account of the mailbox user is also deleted. This is the biggest difference from disabling a mailbox.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/37/D1/wKioL1Ow7J_AccjVAAKmoMZcD9Y304.jpg "Title =" 3.png" alt = "wkiol1ow7j_accjvaakmomzcd9y304.jpg"/>

4. If you want to restore the deleted email address to a user who has not enabled the email address, you can use EAC directly. However, you must note that you must perform operations within the "retention period of deleted email addresses" period. So, how to perform the operation? In fact, it is the same as re-enabling the disabled email address, except that you select to connect to another user.

Use EAC to re-enable the disabled email address. Still in the exchange management center window, click "recipients" in the navigation bar and select "Mailbox" in the navigation bar of the right window ". In this case, you do not need to select any user email address and click Add "…". For more buttons, select "Connect email" from the drop-down menu ".

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/37/D2/wKiom1Ow7NugOIpVAAHKC8SaG50846.jpg "Title =" 4.png" alt = "wkiom1ow7nugow.aahkc8sag50846.jpg"/>

5. In the "connect to mailbox" window, select the email server of the email database where the disabled mailbox is located. Then, find the email address to be enabled in the list. Click "Connect.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/37/D2/wKiom1Ow7OOAev60AAJGlOrEuvU897.jpg "Title =" 5.png" alt = "wkiom1ow7ooaev60aajgloreuvu897.jpg"/>

6. the EAC dialog box is displayed. This dialog box is different from the disabled mailbox restart and enabling. Because the Active Directory account corresponding to the mailbox data has been deleted, you can only select "no, I want to connect to another user account ".

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/37/D1/wKioL1Ow7L2hbDYrAACRmLnvFMw192.jpg "Title =" 6.png" alt = "wkiol1ow7l2hbdyraacrmlnvfmw192.jpg"/>

7. Next, the "Connect mailbox" Wizard appears. First, select the type of mailbox to which the mailbox needs to be connected, that is, whether to convert the mailbox type after the connection is completed. If you do not want to convert it, select the original type.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/37/D2/wKiom1Ow7PSTUvIyAAG8A9YSqDw449.jpg "Title =" 7.png" alt = "wkiom1ow7pstuviyaag8a9ysqdw449.jpg"/>

8. Because of the "user email" type selected in the previous step, you need to specify an existing user with no email enabled in the Active Directory for binding.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/37/D1/wKioL1Ow7M6jHW36AAKFcJYDmUs334.jpg "Title =" 8.png" alt = "wkiol1ow7m6jhw36aakfcjydmus334.jpg"/>

Click Browse to find the user and click OK to restore the email address. The above content shows that the "Shiwu wei" mailbox has been sent to "ba sun", then this mailbox will become the "ba sun" mailbox, instead of "Shiwu wei.

2. delete a user's mailbox through EMS and restore it to another user with no email Enabled

1. using EMS, you can also perform deletion and restoration operations. The following uses "Shiwu wei" as an example. To confirm the mailbox changes after the mailbox is restored, first check the status of the "Shiwu wei" mailbox before deletion.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/37/D2/wKiom1Ow7QjAwm1zAAHXyXkUYjY379.jpg "Title =" 9.png" alt = "wkiom1ow7qjawm1zaahxyxkuyjy#.jpg"/>

There is now an email from Si Li to Shiwu Wei in the inbox.

2. In EMS, useRemove-mailboxDelete the user email address. Then, useGet-mailboxdatabaseAndGet-mailboxstatisticsTo confirm.

Remove-Mailbox "Shiwu wei"

Get-mailboxdatabase | get-mailboxstatistics | where {$ _. disconnectreason-ne $ null} | fldisplayname, mailboxguid, database, disconnectreason

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/37/D1/wKioL1Ow7OHjtxPhAAGjuI1Wh7s387.jpg "Title =" 10.png" alt = "wkiol1ow7ohjtxphaagjui1wh7s387.jpg"/>

As you can see, the operation of "delete mailbox" and "Disable mailbox" is actually the same for mailbox data. Mark the reason for email disconnection in the database as "disabled"

3. PassGet-userCheck whether the Active Directory "Shiwu wei" has been deleted and runConnect-mailboxConnect the "Shiwu wei" email address to the "SHILIU Jiang" User Account in the Active Directory where the mailbox is not enabled, and specify the alias "shiliujiang ".

Get-user "Shiwu wei"

Connect-Mailbox "Shiwu wei"-Database "Mailbox database 1820173108"-user "SHILIU Jiang"-alias shiliujiang

Get-Mailbox "SHILIU Jiang"

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/37/D1/wKioL1Ow7O-gbDbuAAJK-b_6M-I378.jpg "Title =" 11.png" alt = "wKioL1Ow7O-gbDbuAAJK-b_6M-I378.jpg"/>

4. After the restoration, use the Account "shiliujiang" to log on to the access email address. We can see that the previous email sent by Si Li to Shiwu Wei still exists, but the recipient of the email has changed, the new user "SHILIU Jiang" of the mailbox ".

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/37/D1/wKioL1Ow7PeydSSsAAH5LeZSSgs343.jpg "Title =" 12.png" alt = "wkiol1ow7peydsssaah5lezssgs343.jpg"/>

III,Use EMS to restore deleted user emails to other user mailboxes

1. The first case of mailbox recovery is described above. In the second case, how can I restore the mailbox content to an existing mailbox user? In this case, the operation can only be completed through EMS.

First, check whether the user's email address is deleted. It can be found that there is an email "San Zhang" sent to "Shiqi Shen.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/37/D2/wKiom1Ow7S2DF8CtAAHxm1c-MSM670.jpg "Title =" 13.png" alt = "wKiom1Ow7S2DF8CtAAHxm1c-MSM670.jpg"/>

2. PassGet-mailboxdatabaseAndGet-mailboxstatisticsCheck and confirm the deleted email address. The most important thing is to know the database and guid of the mailbox to be restored. ThenNew-mailboxrestorerequestIn order to restore the mailbox, create a mailbox recovery request and restore the content of the "Shiqi Shen" mailbox to the "SHILIU Jiang" mailbox.

Get-mailboxdatabase | get-mailboxstatistics | where {$ _. disconnectreason-EQ "disabled"} | FL displayname, mailboxguid, legacydn, database

New-mailboxrestorerequest-sourcestoremailbox d62fbcc9-71e4-4d5b-b819-36a0bf3e3a64-sourcedatabase "Mailbox database 1820173108"-targetmailbox "SHILIU Jiang"-allowlegacydnmismatch

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/37/D2/wKiom1Ow7TSSRAKeAAKIsz3vPcE654.jpg "Title =" 14.png" alt = "wkiom1ow7tssrakeaakisz3vpce654.jpg"/>

3. PassGet-mailboxrestorerequestAndGet-mailboxrestorerequeststatisticsYou can check whether the mailbox recovery request is successfully created and the current running status.

Get-mailboxrestorerequest | format-Table identity

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/37/D1/wKioL1Ow7RShL8RMAABqF9hcJHk919.jpg "Title =" 15.png" alt = "wkiol1ow7rshl8rmaab%9hcjhk919.jpg"/>

Get-mailboxrestorerequeststatistics-Identity "SHILIU Jiang \ mailboxrestore"

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/37/D2/wKiom1Ow7UnBLPMBAACqUa0iH1A159.jpg "Title =" 16.png" alt = "wkiom1ow7unblpmbaacqua0ih1a159.jpg"/>

If the request is successfully created, exchange will allocate a task name and place it in the queue. The status is"Queued". When the task is being processed, that is, the recovery operation is in the"Inprogress".

If you see other statuses, such as pending, you can useResume-mailboxrestorerequestTo reactivate the task. For example:

Resume-mailboxrestorerequest-Identity "SHILIU Jiang \ mailboxrestore"

Or, you need to adjust the execution sequence of the task in the queue. You can set the priority of the task. For example:

Set-mailboxrestorerequest-Identity "SHILIU Jiang \ mailboxrestore"-priority emergency

4. If you want to verify whether the recovery is successful, you can still passGet-mailboxrestorerequeststatisticsView the status, ifStatusdetail"Is displayed as"Completed", Indicates that the recovery operation has been completed.

Note: This process determines the speed based on the volume of the recovered mailbox and the performance of the server and system.

Get-mailboxrestorerequeststatistics-Identity "SHILIU Jiang \ mailboxrestore"

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/37/D2/wKiom1Ow7VSBFVLIAACfJUHB3AI771.jpg "Title =" 17.png" alt = "wkiom1ow7vsbfvliaacfjuhb3ai771.jpg"/>

5. Now, "SHILIU Jiang" is logged on to its own mailbox, and you can see that there has been recovered content from "Shiqi Shen" mailbox.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/37/D1/wKioL1Ow7S6hXxjUAAIpV7stpgM580.jpg "Title =" 18.png" alt = "wkiol1ow7s6hxxjuaa3167stpgm580.jpg"/>

It is worth mentioning that the restored email content here is different from the content of the user account restored to the unassigned email address described earlier. Here, the email recipient still retains the user information of the recipient in the previous mailbox, or "Shiqi Shen ".

**************************************** *********************

This article describes:

Operating system version: Windows Server 2012 r2 datacenter Edition

Email system version: Exchange Server 2013 SP1 + cu5 Enterprise Edition



This article from "fat brother Technology Hall" blog, please be sure to keep this source http://liulike.blog.51cto.com/1355103/1432366

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.