Manually uninstalling Exchange Server 2007

Asked By 200 points N/A Posted on -

Hi Experts,

After installing Microsoft Server 2008, I started to install Microsoft Exchange Server 2007. However, my installation media was damaged and the installation failed due to the fact that it was not able to copy all installation files. I tried uninstalling Microsoft Exchange 2007 from the Add/Remove programs but was unable to do so.                                           

I keep getting an error that i should delete all mailboxes before proceeding with the reinstallation.                                     

I did not create any user mailboxes, so i do not know what to delete.

I would like to know what the steps are to manually delete Microsoft Exchange Server 2007.                                                           

Which registry entries should be deleted?

Awaiting your answers.


Answered By 0 points N/A #120903

Manually uninstalling Exchange Server 2007


Hi, I'm Kattyrine

You cannot "Manually" remove Exchange Server 2007, the only way to remove it is by Add/Remove Programs or use the removal tool on the CD setup. Now, in order to remove Exchange Server 2007 through Add/Remove Programs without generating any errors, do the following first, After which you can remove Exchange Server 2007 on Add/Remove Programs:

  1. Remove the Exchange 2007 Mailbox server role. Before doing this, make sure no replicas exist in your computer, to do this, open Exchange Server 2007 and go to Exchange Management Shell.  At the MSH prompt, go to the following folder C:Program FilesMicrosoftExchange ServerScripts. Run the following command: MoveAllReplicas.ps1 -Server Source_Server_Name –NewServer Target_Server_Name.   Once you have removed the duplicates/replicas, proceed to removing Exchange Server's Mailbox by removing the public folder store. Start the Exchange Management Console, In the Console tree, expand Server Configuration then click Mailbox. In the result, click the desired and appropriate server, in the workpane, remove the appropriate storage group and click the public folder database you need to remove. Click Remove then Yes, type in the name of the Public Folder database and follow the wizard.
  2.     Remove the Exchange 2007 Administrative Group.
  3.     Move the Exchange 2007 Routing Group Connectors. Use this command:


  •     Get-RoutingGroupConnector | where {$_.SourceTransportServers -like "<First Exchange 2007 server>"} | Set-RoutingGroupConnector -SourceTransportServers "<Second Exchange 2007 server>"
  •     Get-RoutingGroupConnector | where {$_.TargetTransportServers -like "<First Exchange 2007 server>"} | Set-RoutingGroupConnector -TargetTransportServers <Second Exchange 2007 server>

Related Questions