How to Recover Lost Exchange Server from Active Directory?

Aftab Alam Aftab Alam Updated On - 24 Jan 2019

Active Directory is the place 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:

Recover the lost Exchange Server

  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:
  • Follow Start>>Control-Panel>>Administrative Tools>>Active Directory Users and Computers.
  • Click Computers.
  • Go to Details and click Reset Account.
  1. After installing the OS on the new server, give it the same name as that of the lost server.
  2. NOTE – It is essential to name the new server as the older one. Otherwise, it will not work correctly.

  3. Add the sever to the domain of the lost server.
  4. Install all the prerequisites for Exchange Server 2016.
  5. Start the command prompt after login on to the Exchange Server, and run the following command –
  6. Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms
  7. Finally, configure the server as per your requirements and restart.
  8. To verify the reocvery, 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

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 server:

  1. To recover any replay lag from mailbox database copy, run the following command –
  2. Get-MailboxDatabase MyExchangeDatabase | Format-List *lag*
  3. To remove any mailbox database copy, run the following command –
  4. Remove-MailboxDatabaseCopy MyExchangeDatabase \MBX1
  5. To remove the configuration of a failed server from DAG, run the following command –
  6. Remove-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer MBX1
  7. Go to Active Directory and reset the computer account.
  8. Run the following command with using the original setup media –
  9. Setup /m:RecoverServer
  10. To add the recovered server to DAG, run the following command –
  11. Add-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer MBX1
  12. To know the status of the retrieved DAG server, use the following command –
  13. Get-MailboxDatabaseCopyStatus -Server < MyExchangeDatabase >

Recover data from corrupt EDB files

Using the above method, you can recover a lost server, but all the data you want to access is also lost. Exchange database information can be recovered from an offline EDB file. For this, you can take the assistance of Kernel for Exchange Server Recovery tool. This EDB Recovery tool help to quickly recover complete Exchange mailbox data and convert EDB to PST, Live Exchange, and Office 365.