Applies to: Exchange Server 2013

Topic Last Modified: 2012-11-09

You can recover a lost server by using the Setup /m:RecoverServer switch in Microsoft Exchange Server 2013. Most of the settings for a computer running Exchange 2013 are stored in Active Directory. The /m:RecoverServer switch rebuilds an Exchange server with the same name by using the settings and other information stored in Active Directory.

Recovering a lost Exchange server is often accomplished by using new hardware. However, you can also use an existing server.

This topic shows you how to recover a lost Exchange 2013 server that isn't a member of a database availability group (DAG). For detailed steps about how to recover a server that was a member of a DAG, see Recover a Database Availability Group Member Server.

Note:
If Exchange is installed in a location other than the default location, you must use the /TargetDir switch to specify the location of the Exchange binary files. If you don't use the /TargetDir switch, the Exchange files are installed in the default location (%programfiles%\Microsoft\Exchange Server\V15).

To determine the install location, follow these steps:
  1. Open ADSIEDIT.MSC or LDP.EXE.

  2. Navigate to the following location: CN=ExServerName,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=ExOrg Name,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DomainName,CN=Com

  3. Right-click the Exchange server object, and then click Properties.

  4. Locate the msExchInstallPath attribute. This attribute stores the current installation path.

Looking for other management tasks related to backing up and restoring data? Check out Backup, Restore, and Disaster Recovery.

What do you need to know before you begin?

  • Estimated time to complete: 20 minutes

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Exchange infrastructure permissions" section in the Exchange and Shell Infrastructure Permissions topic.

  • The server on which recovery is being performed must be running the same operating system as the lost server. For example, you can't recover a server that was running Exchange 2013 and Windows Server 2008 R2 on a server running Windows Server 2012, or vice versa.

  • The same disk drive letters on the failed server for mounted databases must exist on the server on which you're running recovery.

  • The server on which recovery is being performed should have the same performance characteristics and hardware configuration as the lost server.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard Shortcuts in the Exchange Admin Center.

Tip:
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection.

Recover a Lost Exchange Server

  1. Reset the computer account for the lost server. For detailed steps, see Reset a Computer Account.

  2. Install the proper operating system and name the new server with the same name as the lost server. Recovery won't succeed if the server on which recovery is being performed doesn't have the same name as the lost server.

  3. Join the server to the same domain as the lost server.

  4. Install the necessary prerequisites and operating system components. For details, see Exchange 2013 System Requirements and Exchange 2013 Prerequisites.

  5. Log on to the server being recovered and open a command prompt.

  6. Navigate to the Exchange 2013 installation files, and run the following command.

    Copy Code
    Setup /m:RecoverServer /IAcceptExchangeServerLicenseTerms
    
  7. After Setup has completed, but before the recovered server is put into production, reconfigure any custom settings that were previously present on the server, and then restart the server.

How do you know this worked?

The successful completion of Setup will be the primary indicator that the recovery was successful. To further verify that you've successfully recovered a lost server, do the following:

  • Open the Windows Services tool (services.msc) and verify that the Microsoft Exchange services have been installed and are running.