Exchange 2007 Uninstall Errors and Fixes
It can be pretty common to run into a few snags when trying to uninstall Exchange 2007. Exchange has so many different components and ways to connect with other servers so it gets very picky when you try to remove it. Which I suppose can be a good thing, because it’s trying to prevent you from messing up your network. Here are a few errors I’ve run across and ways to fix them.
Exchange 2007 won’t let you remove it until you remove the Send Connectors manually. Probably to make sure you’ve established some other way to send email first. You can either remove the Send Connector in the Console under Organization Configuration-Hub Transport, or you can use the Shell and run this command.
Remove-SendConnector -Identity “Name of Connector”
Routing Group Connectors
Just like with Send Connectors, Exchange 2007 insists you either delete or move Routing Group Connectors before you uninstall. I assume for the same reason. Connectors are the links to other servers or the outside world. You can remove the server until you’ve accounted for them in one way or another. Removing the Routing Group connectors must be done in the Shell using the following.
Remove-RoutingGroupConnector -Identity “Name of Connector”
Public Folder Replicas
This is the tricky one. Even after you’ve done all the normal steps to replicate public folders to a database on another server and then configured it to no longer replicate back to the old server, the replicas still exist on the old server and Exchange won’t be able to uninstall the database. Even trying to manually remove the database will fail. There is a sure fire way to remove it, but it involves using the Adsiedit tool which must be used very carefully.
First install Adsiedit, which is part of the Windows Support Tools package that can be downloaded from Microsoft. After launching Adsiedit.msc, browse to the location of the Public Folder Store on the old server and delete it. The normal location would be: Configuration, Configuration, Services, Microsoft Exchange, First Organization, Administrative Groups, Exchange Administrative Group, Servers, Servername, Information Store, Second Storage Group. Delete the Public Folder Store on the right hand side.
Uninstall Appears to Hang
If the uninstall runs for a long time and doesn’t appear to be doing anything, check Task Manager and find the Powershell.exe process. End it. The uninstall should finish shortly.