best way to manually remove Exchange 2010 from an organization
Go to Primary Domain Controller
2. Open ADSIEDIT
3. Right Click on ADSIEdit and Click Connect to
4. Connect to “Default Naming Context”
5. Navigate to the following objects and Delete them.
How to manually remove an Exchange 2007 that got hosed.
Uninstalling exchange was also unsuccessful because some objects were missing from Active Directory. I also wanted to avoid reinstalling the OS as I have critical software that needs to remain. So I tried removing exchange manually.
- Run setup /m:uninstall (From Exchange 2007 Media)
- Stop and disable all the Exchange 2007 services
- Use Registry Editor (Start->Run->Regedit) to remove these Exchange related registry keys:
- HKLMSYSTEMCurrentControlSetServicesMSExchange* (all the keys starting with “MSExchange”)
- HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Exchange
- Remove the entire Web Server role (don’t forget to reinstall afterwards as it’s a prerequisite for E2K7!)
- Remove the Exchange 2007 server from Active Directory. I ended up deleting the entire “Microsoft Exchange” branch from ADSIEdit (Configuration Container > Services > Microsoft Exchange) as my domain only has one server.
- Use Windows Explorer to delete:
- C:Program FilesMicrosoftExchange Server
- Use Windows Installer CleanUp Utility to remove all the exchange related info from the installer database.
- Remove the security groups created by Exchange setup from AD
Note: Manually removing Exchange 2007 is not supported by Microsoft! Official guidance for removing Exchange 2007 can be found in this TechNet article.