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.

Solution


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.

Get-ExchangeServer

image

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.

image

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.

image

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

image

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 ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

How to test IMAP connectivity In some situations the administrator has to test connectivity of any given protocol, and Exchange Server offers a cmdlet for the vast majority of prot...
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 (http://blogs.technet.com/b/exchange/archive/2013...
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...