Remove (legacy) Exchange server using ADSIEdit
The need to remove a (legacy) Exchange server using ADSIEdit could have several reasons. The method using ADSIEdit to remove an Exchange server should only be used carefully.
The most common reasons are listed below:
- The deinstallation didn’t finish properly and left attributes or entries in Active Directory
- The Exchange server is permanent offline Exchange and should be removed
- An Exchange installation didn’t finish properly and the attributes and entries shoould be removed
To remove the server open ADSI-Edit and go to configuration
Navigate to this path:
CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups
for Exchange 2003
CN=First Administrative Group
for Exchange 2007
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
for Exchange 2010
CN=Exchange Administrative Group (FYDIBOHF23SPDLT)
CN=Servers
Within the container CN=Servers you can see you installed legacy Exchange servers. By right-click and hit delete you can remove the objects. You can also remove single objects of a server like public folder databases.
Refer to this article to see how to remove public folders in the different versions of Exchange.
Cheers,
Chris
Filed under: Exchange 2010, Exchange Legacy | 11 Comments
Tags: 2003, 2007, 2010, ADSI, adsiedit, corrupt, exchange, installation, legacy, remove
I have a single Exchange 2010 SP2 server that I ant to remain intact. I need to remove an Exchange 2003 SP2 server that was not properly removed before decommissioning the server. I can no longer bring up the old server, but I want to remove all traces of it without damaging my Exchange 2010 organization. Any thoughts?
Thanks in advance,
-Scott
Hi Scott,
if the Server was not properly decomissioned, you can follow the instructions in this article.
Regards,
Chris
Do you recommend deleting the ‘CN=[SERVERNAME] folder all together? Beneath it I see defined ‘Information Store, Microsoft MTA, Microsoft System Attendant, Protocols’ and several subfolders within a few of these. I don’t want to break my Exchange 2010 org, but would like to stop seeing Legacy warnings in the BPA and Event logs.
Thanks again!
Yes, the clean way is to delete the whole server object. This wouldn’t break your Exchange 2010 configuration. But you mustn’t delete the “Servers” folder itself.
Regards,
Chris
Thank you for your help
No worries
In my ADSI, I see a CN=Databases listed before the CN=Servers. Is there a reason to keep the database listed under the servername that I plan on deleting? Thanks!
Hi Brian,
which version of Exchange do you use?
Cheers,
Chris
What if I deleted the server folder in error? Transitioned from exch 2003 to exch 2007. I have no need to go back to exch 2003.
I deleted the server folder is error, now when I run add and remove programs to remove exchange 2003 I receive an active sync error. I transitioned from exch 2003 to exch 2007, I just want to remove all traces of exch 2003.
Hi Robert, di you try to recreate the Servers’ folder?
Cheers,
Chris