locked
Uninstall Exchange 2007 Mailbox role.

    Question

  • Hi Guys,

     

    we have had a Exchange CCR Cluster with 2 Nodes for Mailbox Role one Server for Hub Transport and Client Access. This VMWare ESX enviroment was just for testing.

    We had a crash with our storage and the the 3 Machienes could not be recovered.

     

    I deleted the server object for HUB/CAS. So far so good....

    Im not able to delete the "mailbox role" Server. I tried to reinstall the Mailbox role with the /m:RecoverServer option.

    At the setup procedre Igot a lot of errors. (The error code was 2147950640 )

     

    Is it possible to delete this Server object in with ADSIEdit without any issues. Is this a Problem for the AD?

     

    I dont need this server anymore, but I want to reinstall a new server.

     

    regards,

     

    Stefan

    Tuesday, October 7, 2008 4:21 PM

Answers

  • First please try to recover the server you would run the following command on the server that will
    be the Active Node:

    Setup /mode:RecoverServer /RecoverCMS /CMSName:<CMSName> /CMSIP:<Exchange VS IP
    Address>

    On the Passive Node, you would simply run a normal Passive cluster setup.

    After that please refer to technet article to uninstall Active node and Passive node from CCR environment.

    How to Remove the Passive Mailbox Role from a CCR Environment

    http://technet.microsoft.com/en-us/library/bb124756(EXCHG.80).aspx

    How to Remove the Active Mailbox Role from a CCR Environment

    http://technet.microsoft.com/en-us/library/bb123940(EXCHG.80).aspx

    If the problem still persists, then please follow the below steps to manually uninstall Exchange Server.

    1.    Stop All Exchange Services.

    2.    You will need to remove the following registry keys:

    Under HKEY_LOCAL_Machine\System\CurrentControlSet delete the following:
    All MSExchange* keys
    msftesql-Exchange
    msftesqlFD-Exchange
    msftesqlIDX-Exchange
    Delete the HKEY_LOCAL_Machine\Software\Microsoft\Exchange Key

    3.    Delete All Exchange Binaries, by default the binaries are installed here:

    C:\Program Files\Microsoft\Exchange Server

    Note: Please make a copy of any Exchange Databases and logs if necessary and copy the queue directory (default: C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\*)

    All Database directories should also be deleted (or moved to a safe location) these could be located on other drives.

    4.    Remove Exchange 2007 configuration server object in Active Directory.
    Using ADSIedit locate the server Object: CN=Configuration, DC= Domain_Name ,DC=com, CN=Services, CN=Microsoft Exchange, CN= <Organization_Name>, CN=Administrative Groups, CN= Exchange Administrative Group (AGname), CN=Servers, CN=<Server Name>

    5.    Remove the server’s machine account from all Exchange groups: Exchange Servers and Exchange Install Domain Servers.

    6.    Remove the Exchange Organization Group from the local machine’s Administrator Group.

    7.    Right Click on the Exchangeserver.msi file and select uninstall.

    Understanding Setup /M:RecoverServer

    http://technet.microsoft.com/en-us/library/aa998656(EXCHG.80).aspx

    Hope it helps.

    Xiu

     

    Thursday, October 9, 2008 2:44 AM

All replies

  • I would not use ADSIEDIT in a production environment to clean up the CMS structure in the configuration container and the computer objects of the cluster nodes. This should really be your very last attempt after PSS told you to do.

    If this is a test environment then this is a different question. However, it is still a good “configuration” to learn troubleshooting an error. It is not the recommended approach to use ADSIEDIT to remove a mailbox server.

     

    Tuesday, October 7, 2008 5:50 PM
  • How where you trying to uninstall the mailbox role? setup.com /RemoveCms

    Tuesday, October 7, 2008 7:42 PM
  • First please try to recover the server you would run the following command on the server that will
    be the Active Node:

    Setup /mode:RecoverServer /RecoverCMS /CMSName:<CMSName> /CMSIP:<Exchange VS IP
    Address>

    On the Passive Node, you would simply run a normal Passive cluster setup.

    After that please refer to technet article to uninstall Active node and Passive node from CCR environment.

    How to Remove the Passive Mailbox Role from a CCR Environment

    http://technet.microsoft.com/en-us/library/bb124756(EXCHG.80).aspx

    How to Remove the Active Mailbox Role from a CCR Environment

    http://technet.microsoft.com/en-us/library/bb123940(EXCHG.80).aspx

    If the problem still persists, then please follow the below steps to manually uninstall Exchange Server.

    1.    Stop All Exchange Services.

    2.    You will need to remove the following registry keys:

    Under HKEY_LOCAL_Machine\System\CurrentControlSet delete the following:
    All MSExchange* keys
    msftesql-Exchange
    msftesqlFD-Exchange
    msftesqlIDX-Exchange
    Delete the HKEY_LOCAL_Machine\Software\Microsoft\Exchange Key

    3.    Delete All Exchange Binaries, by default the binaries are installed here:

    C:\Program Files\Microsoft\Exchange Server

    Note: Please make a copy of any Exchange Databases and logs if necessary and copy the queue directory (default: C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\*)

    All Database directories should also be deleted (or moved to a safe location) these could be located on other drives.

    4.    Remove Exchange 2007 configuration server object in Active Directory.
    Using ADSIedit locate the server Object: CN=Configuration, DC= Domain_Name ,DC=com, CN=Services, CN=Microsoft Exchange, CN= <Organization_Name>, CN=Administrative Groups, CN= Exchange Administrative Group (AGname), CN=Servers, CN=<Server Name>

    5.    Remove the server’s machine account from all Exchange groups: Exchange Servers and Exchange Install Domain Servers.

    6.    Remove the Exchange Organization Group from the local machine’s Administrator Group.

    7.    Right Click on the Exchangeserver.msi file and select uninstall.

    Understanding Setup /M:RecoverServer

    http://technet.microsoft.com/en-us/library/aa998656(EXCHG.80).aspx

    Hope it helps.

    Xiu

     

    Thursday, October 9, 2008 2:44 AM