Remove (legacy) Exchange server using ADSIEdit

23Feb12

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

About these ads


11 Responses to “Remove (legacy) Exchange server using ADSIEdit”

  1. 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

  2. Thank you for your help :)

  3. 7 Brian

    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!

  4. 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.

  5. 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.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

Join 301 other followers

%d bloggers like this: