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.
- Open Adsiedit.msc
- 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>
You could delete the entire server by right-clicking and selecting Delete from the menu.
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?: