Use the Active Directory
User and Computers snap-in to disconnect all mailbox-enabled users
You cannot remove the Exchange Server 2003 components if the Exchange server still has mailboxes for mailbox-enabled users. To use the Active Directory User and Computers snap-in to disconnect all mailbox-enabled users, follow these steps:
click here to expand or collapse the steps
- Click Start, point to Programs, point to Administrative Tools, and then click Active Directory Users and Computers.
- Expand Your_Domain, and then click Users.
Note In this step, Your_Domain is a placeholder for the name of your domain. - Press and hold CTRL, click the user name of each user who has a mailbox on the server, right-click any of the selected user names, click Exchange Tasks, and then release CTRL.
- On the Select a task to perform list, click Delete Mailbox, and then click Next.
- On the Delete Mailbox page, click Next.
- Wait for the mailboxes to be deleted, and then click Finish.
Run the Exchange Server 2003 Setup program to remove the installed components
You can remove the Exchange components by running the Exchange Server 2003 Setup program from Programs and Features in Control Panel on the computer that is running Exchange Server 2003. To do this, follow these steps.
click here to expand or collapse the steps
Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
- Click Start, click Control Panel, and then click Add or Remove Programs.
- On the Currently installed programs list, right-click Microsoft Exchange, and then click Change/Remove.
- In Microsoft Exchange Installation Wizard, click Next.
- On the Action list on the Component Selection page, click the down arrow next to each component that is installed, and then click Remove.
Note Installed components have a check mark on the Action list. When you click Remove, the check mark is replaced by the word Remove. - Click Next two times.
- Click Finish.
Manually remove Exchange Server 2003
If you cannot remove Exchange Server 2003 by using Add or Remove Programs, you can use Registry Editor to remove the Exchange entries from the registry. Before you edit the registry, you must stop and disable all Exchange 2003 services on the computer.
Stop and disable the Exchange Server 2003 services
The following table lists the core Exchange Server 2003 services.
Name | Description |
---|
Distributed Transaction Coordinator | Coordinates transactions that are distributed across multiple databases, message queues, and file systems. |
Internet Information Services (IIS) Admin Service | Enables you to administer the Exchange HTTP virtual server in the IIS snap-in. |
Microsoft Exchange Event | Monitors folders and generates events for Exchange Server 5.5 applications. |
Microsoft Exchange Internet Message Access Protocol (IMAP4) | Provides Exchange IMAP4 services. |
Microsoft Exchange Information Store | Manages Exchange information storage. |
Microsoft Exchange Management Service | Hosts Exchange WMI providers. |
Microsoft Exchange Message Transfer Agent (MTA) Stacks | Provides Exchange X.400 services. |
Microsoft Exchange Post Office Protocol version 3 (POP3) | Provides Exchange POP3 services. |
Microsoft Exchange Routing Engine | Processes Exchange message routing and link state information. |
Microsoft Exchange Site Replication Service | Replicates Exchange information in the organization. |
Microsoft Exchange System Attendant | Monitors Exchange and provides necessary services. |
Network News Transfer Protocol (NNTP) | Transports newsgroup messages over the network. |
Simple Mail Transfer Protocol (SMTP) | Transports email over the network. |
World Wide Web Publishing Service | Provides HTTP services for Exchange and IIS. |
To stop and disable the Exchange Server 2003 services, follow these steps:
click here to expand or collapse the steps
- Click Start, point to Programs, point to Administrative Tools, and then click Services.
- On the Name list, right-click an Exchange service, and then click Stop.
- After the service stops, right-click the Exchange service again, and then click Properties.
- On the Startup Type list, click Disabled, and then click OK.
- Repeat steps 1 through 4 for every Exchange service.
Use Registry Editor to remove the Exchange registry keys
To remove the Exchange registry keys, follow these steps.
click here to expand or collapse the steps
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange
- Right-click Exchange, and then click Delete. Click Yes in the Confirm Key Delete dialog box.
- Repeat steps 2 and 3 for the following registry keys.
Registry Key | Definition |
---|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DAVEX | WebDAV
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EXIFS | Microsoft Exchange Installable File System |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ExIPC | Epoxy
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EXOLEDB | Exchange OLE DB |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\IMAP4Svc
| Microsoft Exchange IMAP4
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeActiveSynchNotify | Microsoft Exchange ActiveSynch Notifications |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeADDXA | Microsoft Exchange Active Directory Connection Agreements
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeAL
| Microsoft Exchange Address Lists
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeDSAccess | Microsoft Exchange access to Active Directory |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeES | Microsoft Exchange Event |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeFBPublish | Microsoft Exchange Publish Free/Busy |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS | Microsoft Exchange Information Store |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeMGMT | Microsoft Exchange Management
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeMTA | Microsoft Exchange Message Transfer Agent Stacks
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeMU
| Microsoft Exchange Directory Service to Metabase
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeOMA | Microsoft Exchange Outlook Mobile Access |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeSA
| Microsoft Exchange System Attendant |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeSRS
| Microsoft Exchange Site Replication Service |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeTransport
| Microsoft Exchange Message Routing |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeWEB | Microsoft Exchange Outlook Web Access
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\POP3Svc
| Microsoft Exchange POP3
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RESvc
| Microsoft Exchange Routing Engine |
If there is a Notes connector or a GroupWise connector that is installed on the server that is running Exchange Server 2003, do the following:
click here to expand or collapse the steps
- Start Registry Editor.
- Locate the following subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
- Delete any registry entries in this subkey that begin with the following characters:
If Microsoft Office 2003, Microsoft Office XP, or Microsoft Windows SharePoint Service is not installed, do the following:
click here to expand or collapse the steps
- Start Registry Editor.
- Locate the following subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
- Delete any registry entries in this subkey that begin with the following characters:
Additionally, you must rename the
Drive:\Program Files\Microsoft Integration\Microsoft Exchange 2003 folder. For example, rename Drive:\Program Files\Microsoft Integration\Microsoft Exchange to
Drive:\Program Files\Microsoft Integration\Microsoft Exchange Old.
Remove and reinstall the IIS component
To remove and reinstall IIS, use one of the following methods, depending on your environment.
For a Windows 2000-based cluster node or for a stand-alone server that is running Microsoft Windows 2000 or Windows Server 2003
Important If your computer is a clustered server, you must remove only the IIS component. Do not remove the Common Files. If you remove the Common Files, you also remove the Cluster service. If you remove the Cluster service, you must reinstall it.
Note Make a list of any service packs and security updates that were previously installed on the server. You must reinstall them.
To remove the IIS component, follow these steps:
- To remove the IIS component from a computer that is running Microsoft Windows 2000 Server, follow these steps:
- Click Start, click Control Panel, and then click Add or Remove Programs.
- Click Add/Remove Windows Components.
- On the Components list, clear the Internet Information Services (IIS) check box.
Note If your computer is a clustered server, click Details, clear all the subcomponent check boxes except the Common Files check box, and then click OK.
- Click Next, and then click Finish.
To remove the IIS component from a computer that is running Windows Server 2003, follow these steps:- Click Start, type components in the Start Search box, and then click OK.
- Click Application Server, and then click Details.
- Clear the ASP.NET check box, and then clear the Internet Information Services check box.
- In the Application Server dialog box, click OK.
- In the Windows Components Wizard, click Next.
- Restart the server.
- Start Windows Explorer, and then locate the Exchsrvr folder.
- Rename the Exchsrvr folder to Exchsrvrold.
- Delete the following file from the %systemroot%\system32\inetsrv folder. For Windows Server 2003, delete the Metabase.xml file. For Windows 2000 Server, delete the Metabase.bin file.
Note The Windows Component Wizard may have already removed the Metabase.xml file or the Metabase.bin file. - Reinstall the IIS component.
To reinstall the IIS component on a computer that is running Windows 2000 Server, follow these steps:- Click Start, click Control Panel, and then click Add or Remove Programs.
- Click Add/Remove Windows Components.
- On the Components list, select the Internet Information Services (IIS) check box.
- Click Next, and then click Finish.
To reinstall the IIS component on a computer that is running Windows Server 2003, follow these steps:- Click Start, type components in the Start Search box, and then click OK.
- Click Application Server, and then click Details.
- Select the ASP.NET check box, and then to select the Internet Information Services check box.
- Click Next, and then click Finish.
Note If your computer is running Windows Server 2003, remember to reinstall ASP.NET and to reinstall the SMTP and NNTP services. - Reinstall any service packs and security updates that were previously installed on the server.
For a Windows Server 2003-based cluster node
To remove and reinstall IIS on a Windows Server 2003-based cluster node, follow these steps.
Note These steps describe how to remove and reinstall IIS on the passive node of a server cluster.
- Remove IIS from the passive cluster node. To do this, follow these steps:
- Click Start, click Control Panel, and then click Add or Remove Programs.
- Click Add/Remove Windows Components.
- Click Application Server, and then click Details.
- Clear the ASP.NET check box, clear the Internet Information Services check box, and then click OK.
- Click Next.
- On the Completing the Windows Components Wizard page of the Windows Components Wizard, click Finish.
- Evict the passive cluster node from the server cluster. To do this, follow these steps:
- On the active node of the server cluster, start Cluster Administrator, and connect to the cluster that you want to manage.
- In Cluster Administrator, expand the cluster, right-click the passive node, and then click Stop Cluster Service.
- Right-click the passive node, click Evict Node, and then click Yes in the following message window when you are prompted:
Evicting a node will prevent it from participating in the cluster. Are you sure node 'NodeName' should be evicted from the cluster?
- Force the Cluster Service to be returned to an unconfigured state on the now-evicted passive cluster node. To do this, follow these steps:
- On the active cluster node, click Start, click Run, type cmd, and then click OK.
- At the command prompt, type the following command, and then press Enter:
cluster node NetBIOSname /force
In this command, replace NetBIOSname with the NetBIOS name of the now-evicted passive cluster node.
- Restart the evicted cluster node computer.
- Rejoin the evicted cluster node to the server cluster. To do this, follow these steps:
- On the active cluster node, start Cluster Administrator, and then connect to the cluster that you want to manage.
- Right-click the cluster name, point to New, and then click Node.
- Follow the steps in the Add Node Wizard to restore the evicted cluster node to the server cluster.
- Reinstall IIS on the newly added passive cluster node. To do this, follow these steps:
- Click Start, click Control Panel, and then click Add or Remove Programs.
- Click Add/Remove Windows Components.
- Click Application Server, and then click Details.
- Select the Internet Information Services check box, select the ASP.NET check box, and then click OK.
- Click Next, and then click Finish.
Note You may also want to reinstall the SMTP and NNTP services.
- Reinstall any service packs and security updates that were previously installed on the server.
Remove the Exchange Server 2003 server object from the Exchange 5.5 Admin program
If the Exchange Server 2003 server is installed in an existing Microsoft Exchange Server 5.5 site, and if you use the Exchange 5.5 Admin program, you must delete the Exchange Server 2003 server object from the Exchange 5.5 Admin program.
Note You may have to remove Active Directory objects that are associated with the server that you removed.
Remove the Exchange Server 2003 server from Active Directory
To remove the Exchange Server 2003 server from Active Directory, follow these steps.
click here to expand or collapse the steps
Note This procedure removes all references to the server in Active Directory. It also removes the mailbox-enabling attributes from all Active Directory users who have mailboxes on the server that you removed.
- Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.
- Expand Administrative Groups/Your_Administrative _Group_Name/Servers.
Note In this step, replace Your_Administrative _Group_Name with the name of your administrative group. - Right-click the name of the Exchange Server 2003 server that you want to remove, click All Tasks, and then click Remove Server.
If you cannot install or run Exchange System Manager, you can use the Active Directory Service Interfaces (ADSI) Edit snap-in to manually remove enough of the server attributes so that you can try a successful reinstallation. This method does not perform cleanups of references to the server object outside the server's own container. We do not recommend that you use this method unless you intend to immediately reinstall the server in the same administrative group. This is because you may have to manually remove or edit many attributes on objects throughout Active Directory.
The ADSI Edit snap-in is available in Windows Support Tools.
For more information about how to install Windows 2000 Support Tools, click the following article number to view the article in the Microsoft Knowledge Base:
301423
How to install the Windows 2000 Support Tools to a Windows 2000 Server-based computer
Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require that you reinstall Microsoft Windows 2000 Server, Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
To use the ADSI Edit snap-in to remove an Exchange Server 2003 server from an Exchange Server 2003 administrative group, follow these steps:
click here to expand or collapse the steps
- Click Start, point to Programs, point to Windows 2000 Support Tools, point to Tools, and then click ADSI Edit.
- Expand the following items:
Configuration Container
CN=Configuration, DC=Domain_Name,DC=com
CN=Services
CN=Microsoft Exchange
CN=Your_Organization_Name
CN=Administrative Groups
CN=Your_Administrative_Group_Name_Or_Exchange5.5_Site_Name
CN=Servers
Note In this procedure, Domain_Name represents the name of your domain, Your_Organization_Name represents the name of your organization, and Your_Administrative_Group_Name_Or_Exchange5.5_Site_Name represents for the name of your administrative group or Exchange Server 5.5 site. - Right-click the Exchange Server 2003 server object, and then click Delete.
- Click Yes in every adsiedit dialog box that prompts you to confirm the deletion.
Recommended action if you receive an error when you try to reinstall Exchange Server 2003
Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require that you reinstall Microsoft Windows 2000 Server, Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
When you try to reinstall Exchange Server 2003, you may receive the following error message:
To install the first Exchange server in a domain, or to run setup in "/ForestPrep" mode, you must be an Exchange Full Administrator at the organization level. You must use an account that has been granted the Full Exchange Administrator role on the Exchange organization using the Exchange Administrative Delegation Wizard. -- ID:64283.
If you receive this error message, you must use the ADSI Edit snap-in to change some attributes in Active Directory. To do this, follow these steps:
click here to expand or collapse the steps
- Start ADSI Edit.
- If it is required, click Default (Domain or Server that you logged in to) in the Computer area to connect to the domain controller, and then click OK.
- In the navigation pane, expand the following items:
CN=Configuration
DC=Domain_Name
DC=com
CN=Services
CN=Microsoft Exchange - Right-click the CN=Organization_Name object, and then click Delete.
- Click Yes in every adsiedit dialog box that prompts you to confirm the deletion.
-
Right-click CN=Microsoft Exchange, and then click Properties.
-
On the Attributes tab, under Select which properties to view, click Both.
-
From the Select what property to view menu, select Heuristics.
- To reset the Heuristics property, click Clear, and then click Apply. The Value(s) field will have a value of not set.
- Exit ADSI Edit.
Additional Resources