Manually remove Exchange 2007 site

Posted on 2009-05-02
Last Modified: 2012-05-06
I need to manually remove a poorly configured Exchange 2007 server.  I have a single domain running 1 Windows 2003 Server as a DC, DNS, WINS, & DHCP.

The company I'm doing consulting work for had hired another company to perform a Domino to Exchange 2007 migration.  As a result of poor configuration and lack of exchange knowledge the Exchange Server is not working; can't open/use Exchange Manager or Exchange Shell.  Can't perform a normal uninstall from Add/Remove programs or booting off the Exchange 2007 disk.

No mail was stored on the exchange server yet because the previous company couldn't get it working and ended up causing more damage than good.

I would like to start from scratch with a clean install and Exchange site.  Is it safe to use ADSIEDIT to remove the exchange site?  I can see the site under Services in Configuration in ADSIEDIT.  I can also see the Microsoft Exchange Security Groups and Microsoft Exchange System Objects under Domain in ADSIEDIT.  

I'm on site now and need help with this asap.  I'll be refreshing every few minutes for responses.
Question by:captaindefiant
    LVL 4

    Expert Comment

    Hi to remove the server open ADSI EDIT and navigate to:

    Configuration ==> Services ==> Exchange ==> <organisation name> ==> Exchange (FZ....) ==> Servers

    you can then delete the server name from this location.

    no more needs to be performed than that. i would however advise completely flattening the server

    running a prepareAD and preparedomains once everything is removed would also be preferable to make sure that the correct settings are applied

    any probs post back. will be checking for the next hour or so


    Author Comment

    This is exchange 2007.  Did you mean???
    Configuration ==> Services ==> Exchange ==> <organisation name> ==> Administrative Groups ==> Servers ==> <exchange server name that I want to remove>
    LVL 4

    Expert Comment

    yeah :)

    sorry i haven't got an install in front of me.

    if you delete the servername from that location (and all subfolders) it will remove it completely from your AD environment.

    then all you need to sort out is the server :)

    Author Comment

    Cool.  I've already formatted and rebuilt the exchange server with a new computer name.  I'm in the process of preping the server for the exchange 2007 install, all the prerequisites.  

    You said I should run adprep and domainprep again during the install of exchange on the rebuilt server, correct?

    BTW, thanks for your help.  I'll keep you posted on how things are going.

    LVL 4

    Accepted Solution

    yes i would.

    from the top of my head (so check first by running " /?")

    > /PrepareLegacyExchangePermissions
    > /PrepareAD
    > /PrepareAllDomains

    its just precautionary, but will show up any other "unexpected" errors that the cowboys left behind

    good luck. im heading off soon, but will check back in the morning

    try for tutorials and helpful information


    Author Closing Comment

    Thanks again for your help.  It worked with the exception of the Default OAB.  I had to rebuild that but it was no big deal.  

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
    Easy CSR creation in Exchange 2007,2010 and 2013
    In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now