How to Remove an Exchange Server using ADSIEdit.msc

Share this:

In some cases, an Exchange server can be beyond recover, and no longer necessary, and for this kind of situation the administrator may use ADSIEdit.msc to remove the server that is no longer required.


Before considering the steps described in this Tutorial, make sure that you are aware of these key points:

  • The best way to remove an Exchange Server is always using add/remove programs and uninstalling the product
  • If you need to remove the Exchange Server from your organization manually, then the Exchange Server is unavailable and beyond recover
  • If you are planning any recovery of that server, please do not use the steps described in this Tutorial
  • Removing the Exchange Server object does not clean up configurations related to that server (for example: Send Connectors)
  • A further investigation of objects and configurations that may be linked to that server will be required to clean up the environment completely

Let’s assume that the server YDMEXCH01 listed below is no longer accessible and we need to remove form our organization, in order to get a list of all Exchange Servers we are using the following cmdlet.



The first step is to open ADSIEdit.msc, righ-click on ADSI Edit, and then Connect to… In the new window, selet Configuration and click OK.


Expand Configuration, CN=Configuration, CN=Services, CN=Microsoft Exchange, CN=<OrganizationName>, CN=Administrative Groups, CN=Exchange Administrative Group (FYDIBOH…, CN=Servers, select the server from the right side, and right-click on it and click Delete.


If you are certain that you no longer need that server, click on Yes.


Depending the size of your organization it may take a while to reflect the changes based on the Active Directory replication.

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at,, and Anderson (Portuguese).

Related Post

How to.. generate a list of all ActiveSync devices... In Today’s post we are going over a simple cmdlet to generate a list of all ActiveSync devices that you have in your organization For starters, we ca...
Managing UPN to help Exchange authentication Hi Folks, In some organizations where the Active Directory domain is different from the public name, such as apatricio.local (Active Directory FQDN) a...
Rollup Update for Exchange Server 2007/2010 and Se... Exchange Team has just released Rollup Updates for Exchange Server 2007/2010 and Security Updates for Exchange Server 2013. Update Rollup 2 For Exch...
PowerShell Script to fix Exchange Server 2013 Secu... I wrote the following PowerShell script to help fixing the issue reported by Microsoft Exchange Team (