Home > Messaging > Manually Remove Exchange 2007

Manually Remove Exchange 2007

Last couple of days I was trying to jumpstart an Exchange 2007 install that got hosed.

At a certain moment I couldn’t install because of an incomplete uninstall. Uninstalling exchange was also unsuccessful because some objects were missing from Active Directory. When I finally got out of that loop, I started getting complaints about MSI’s that could not be found/unpacked. I wanted to avoid reinstalling the OS so I tried removing exchange manually.

  1. Run setup /m:uninstall
  2. Stop and disable all the Exchange 2007 services
  3. Use Registry Editor (Start->Run->Regedit) to remove these Exchange related registry keys:
    • HKLM\SOFTWARE\Microsoft\Exchange
    • HKLM\SYSTEM\CurrentControlSet\Services\MSExchange* (all the keys starting with “MSExchange”)
    • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Exchange
  4. Remove the entire Web Server role (don’t forget to reinstall afterwards as it’s a prerequisite for E2K7!)
  5. 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 Org only counts one server.
  6. Use Windows Explorer to delete:
    • C:\Program Files\Microsoft\Exchange Server
    • C:\ExchangeSetupLogs
  7. Use Windows Installer CleanUp Utility to remove all the exchange related info from the installer database.
  8. 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.


Categories: Messaging Tags:
  1. Chris
    2009/03/04 at 11:38 | #1

    I had big problems with y exchange and tried man things. Finally I found your manual which helped me because i also did not want to reinstall windows. I have to confirm that it works great.

    Greez Chris

  2. Joe
    2009/03/11 at 21:13 | #2

    Yes, this works.

  3. richard hinds
    2009/05/29 at 21:18 | #3

    good one!
    thanks a lot!

  4. Els De Braekeleer
    2009/10/24 at 19:32 | #4

    Koentje, stuur mij aub es een mailke met u email, ik moet u iets vragen! Thanx!

  5. Nattu
    2009/11/01 at 15:03 | #5

    Thanks buddy..it works for me…

  6. 2010/02/08 at 19:27 | #6

    Koen,

    Mijn Win2003 DC (met Exchange 07 installed) gaat nu rebooten nadat ik je stappenplan doorlopen heb.

    Ik hoop vurig dat het werkt en dan kom ik je persoonlijke 3 dikke kussen geven!
    Bedankt alvast!

  7. 2010/03/19 at 03:15 | #8

    Хорошая статья. Действительно было интересно почитать. Не часто такое и встречается та.Наверное стоит подписаться на ваше RSS

  8. andreas kossatz
    2010/04/23 at 21:07 | #9

    funktioniert wunderbar . echt super. damit können alle alten installationen 2007-2010 entfernt werden

  1. No trackbacks yet.