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.

Tagged with:
Posted in Messaging
16 comments on “Manually Remove Exchange 2007
  1. Chris says:

    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 says:

    Yes, this works.

  3. richard hinds says:

    good one!
    thanks a lot!

  4. Els De Braekeleer says:

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

  5. Nattu says:

    Thanks works for me…

  6. JenZ says:


    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. andreas kossatz says:

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

  8. […] references to the old server, you can removing the old server from the domain manually by following THESE […]

  9. Anonymous says:


  10. […] If for some reason your Exchange 2010 server still has references to the old server, you can removing the old server from the domain manually by following THESE instructions. […]

  11. Anonymous says:

    Hi Koen Vermoesen,

    My server Exchange is dead because of broken HDD.
    So, how can i delete Exchange Object on AD?

  12. […] Neste site (em inglês, of course) encontrei um manual sobre como remover o Exchange Server 2007 na UNHA e vos descrevo: […]

Comments are closed.

IT Pro Summer GP
IT Pro Summer Grand Prix
Microsoft Virtual Academy
Pro-Exchange / Pro-Lync / Pro-Office365

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 158 other followers

%d bloggers like this: