Skip to main content

Remove Exchange Server From Active Directory Domain

Remove Exchange Server From Active Directory Domain

At times you may have to remove exchange server from Active Directory domain because the Server is dead and there is no possibility to recover it. In such situations, we can use Adsiedit.msc to remove the dead server entries from active directory domain. The procedure is same for Exchange 2007, 2010 and 2013

I came across a situation where the exchange 2010 environment was running smoothly, except there was a dead Exchange 2007 Server that was still showing in the settings.

So to list all the Exchange servers we have in the environment, open the Exchange Powershell and run Get-ExchangeServer:


As we can see, the dead server “Mail” is a standard edition server with version 8.3 (Exchange 2007 Sp3). While the other functioning servers are 14.3 (Exchange 2010 Sp3).

Before removing the dead Server, we need to remember the following:

  • Ideally we should remove the exchange server by uninstalling from Add/Remove Programs.
  • It should be our last method to remove the server, when we are 100% sure that the server is unrecoverable.
  • Send/Receive connectors or any other configuration may still have the server in the settings, you should remove them manually.
  • AdsiEdit is very sensitive thing, only make changes when you know what you are doing.
  • It is good practice to take System State backup before making changes in the Adsiedit.

If you confirm all the above points, you can proceed to the removal step, otherwise leave it and ask for help from some senior systems engineer.


To remove the dead server, open Adsiedit.msc and connect to Configuration:

ADSIEDIT Configuration

Then go to the following path:

Configuration, CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=<OrganizationName>, CN=Administrative Groups, CN=Exchange Administrative Group (FYDIBOH…, CN=Servers

Remove Exchange Server From Active Directory

Select the dead server from right pane, right click and delete.

ADSIEDIT Configuration exchange server delete

Finally, go again to Exchange Powershell and run the Get-ExchangeServer command to confirm the server is deleted from the list.

Get-ExchangeServer after

You may also like to check the Technet article “Remove the last legacy exchange Server”.

Leave a Reply

Your email address will not be published. Required fields are marked *