Skip to the main content.

1 min read

Removing an Orphaned Exchange 2007 Server

Recently, I’ve gone through an exercise to rebuild the Exchange 2007 environment at my new company. The original Exchange 2007 design was not what I would call optimal, so we decided to just rebuild instead of fix all of the problems. Luckily, most of the users were still on Exchange 2003, so this made the rebuild fairly simple. We did however run into a couple of issues during the uninstall process which resulted in orphaned Exchange servers in the environment. The servers showed up in Exchange 2003 System Manager and Exchange 2007 Management Console, but the server no longer existed. You might run into the same issue if a server was improperly uninstalled or a server was prematurely reimaged, etc.

To resolve this issue we used ADSIEdit to clean up the orphaned Exchange 2007. Please keep in mind that there was nothing needed from this server. If you have old mailboxes on a server, I would not recommend this course of action.

NOTE: Be extremely careful. Changes in Adsiedit cannot be undone.

  1. Open Adsiedit.msc
  2. Navigate down the Configuration container to the Orphaned server.Configuration – Services – Microsoft Exchange – <Domain Name> – Administrative Groups – <Administrative Group containing the orphaned server> – Servers – <Orphaned Server>
  3. You could delete the entire server by right-clicking and selecting Delete from the menu.

     

  4. On the adsiedit screen select Yes to Are you sure you want to delete this object?:

     

Select Yes to Do you want to delete this container and everything in it?:

Elevating Your Organization's Security with Cloud Security Assessments

Elevating Your Organization's Security with Cloud Security Assessments

As cloud technologies become increasingly integral to business operations, the need for robust security in this domain has never been more pressing....

Decoding the Azure Stack: Global Azure, Azure Stack Hub, and Azure Stack HCI

Decoding the Azure Stack: Global Azure, Azure Stack Hub, and Azure Stack HCI

As organizations pivot towards a hybrid cloud strategy, understanding the nuances between Global Azure, Azure Stack Hub, and Azure Stack HCI becomes...

Understanding Extended Security Update Options for Windows Server 2012

Understanding Extended Security Update Options for Windows Server 2012

Windows Server 2012/R2, a cornerstone of server operating systems, reached its end-of-life on October 10, 2023. This cessation of regular...