Kernel Data Recovery Blog

How to recover lost Exchange Server from Active Directory?

Read time 3 minutes

Summary: Any breakdown in the Active Directory can disrupt the functioning of the Exchange server. However, as IT professionals, system administrators, and Exchange Server managers, you have the power to prepare your Exchange environment to tackle any challenges. With the right preventive measures, repair measures, and Kernel for Exchange Server recovery tool, you can take charge and easily recover the Exchange Server from Active Directory.

Exchange administrators always need to be prepared against unforeseen circumstances like server crashes and data loss situations, though Exchange is far more secure because of Database Availability Groups (DAGs). An Exchange administrator should have a repair and recovery strategy to avoid potential data loss. There are different recovery methods by which administrators can recover a server even after crashes. Due to the integration with Active Directory, it is possible to rebuild the configuration of the Exchange from Active Directory. There are also many professional tools available that can be used to recover the lost data from Exchange database to different locations and in different formats.

What are the prerequisites to recover lost Exchange Server?

Here are a few things that you need to consider and prepare before you start the process for Exchange server recovery:

Recover the lost Exchange Server

Active Directory is where all the Exchange Server settings are stored. So, it is possible to rebuild the configuration of the Exchange environment from Active Directory. Here is how you can do this:

  1. Reset a Computer Account: To do this, you must be a member of Domain Admin, Enterprise Admin, or Account Operators. Use the following method to reset the computer account:
    1. Follow Start>>Control-Panel >> Administrative Tools >> Active Directory Users and Computers.
    2. Click Computers.
    3. Go to Details and click Reset Account.
  2. After installing the OS on the new server, give it the same name as that of the lost server.

    Note: It is essential to name the new server as the older one. Otherwise, it will not work correctly.

  3. Add the server to the domain of the lost server.
  4. Install all the prerequisites for Exchange Server 2016 on the target server.
  5. Start the command prompt after login on to the Exchange Server, and run the following command:

    Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms

  6. Finally, configure the server as per your requirements and restart.
  7. To verify the recovery, check if the Microsoft Exchange Server services are running in the Windows Services tool.

Note: Follow the same procedure for Exchange 2013 and 2010 also. For Exchange 2010, you need to run the following command: Setup /m:RecoverServer. This switch restores an Exchange Server with a name same to the lost server using the information and settings stated in the Active Directory.

Recover a DAG member server

The method mentioned above is used to retrieve a lost Exchange Server which is not a member of a Database Availability Group (DAG). There is a different method to recover a DAG member Exchange server:

  1. To recover any replay lag from mailbox database copy, run the following command:

    Get-MailboxDatabase MyExchangeDatabase | Format-List *lag*

  2. To remove any mailbox database copy, run the following command:

    Remove-MailboxDatabaseCopy MyExchangeDatabase \MBX1

  3. To remove the configuration of a failed server from DAG, run the following command:

    Remove-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer MBX1

  4. Go to Active Directory and reset the computer account.
  5. Run the following command using the original setup media:

    Setup /m:RecoverServer

  6. To add the recovered server to DAG, run the following command:

    Add-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer MBX1

  7. To know the status of the retrieved DAG server, use the following command:

    Get-MailboxDatabaseCopyStatus -Server < MyExchangeDatabase >

Recover data from corrupt EDB files

After you have rebuilt the Exchange Server, it becomes essential to recover the lost Exchange data too. Exchange database information can be recovered from an offline EDB file. Thus, allowing you to recover your important emails, contacts, and notes. For this, you can take the assistance of a professional Exchange Server recovery tool such as Kernel for Exchange Server. This Exchange Recovery tool helps to recover complete Exchange mailbox data and save EDB file to PST, Live Exchange, and Office 365 quickly.

Wrap up

Using the command switch Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms, you can recover lost Exchange Server form Active Directory. However, if there occurs any issue, the recovery process can fail and cause data loss. It is crucial to fulfill the mentioned prerequisites before you start recovering Exchange Server using the manual approaches. To skip this hassle, you can use Kernel for Exchange Server recovery tool as a reliable alternative.