Wednesday, 10 June 2015

Decommissioning MS Exchange 2010



Exchange 2010 Manual Un-Installation is UN-SUPPORTED.
The Best way to Remove Exchange 2010 is Uninstall it from Add/Remove Programs.
This will COMPLETELY REMOVE ALL Exchange related objects from Organization Completely.
As It will Remove all Exchange Related Active directory Objects , None of the Exchange related stuff will work after you complete the following Manual Un-Installation.
Please don’t follow in case you have any working exchange server ( 2000,2003,2007 or 2010) in your Organization.
Prepare for Manual Un-Installation:
1. Take System State Backup of your Active directory
2. Take Exchange Database Flat file Copy (OR) Backup
3. Make a Note of All your Mailbox Database names, Organization names, MRM Details, MRM Retention Tag Details, MRM Retention Policy Details, OWA Mailbox Policy details, Exchange Active sync Mailbox Policy details, Email Address Policy Details, Transport Rules, Journal Rules, Send/Receive Connector Details, Global Settings, UM Settings etc.
4. Run ExBPA Report and Export the Report for future reference.
5. Go to Registry Editor and Export “My Computer” as Registry backup.
Remove Binaries, Registry from Exchange Server:
1. Go to Exchange 2010 Server
2. Make Sure Exchange management Console and Exchange Management Shell are Closed.
3. Go to Services.msc
4. Right Click on “Microsoft Exchange Active Directory Topology Service”.
5. Go to Properties.
6. Stop the Service. Make the Startup type “Disabled”
7. Click ok.
8. Stop and Disable All the Exchange Related Services below in the same method.
            Microsoft Exchange Address Book
            Microsoft Exchange Anti-spam Update
            Microsoft Exchange EdgeSync
            Microsoft Exchange File Distribution
            Microsoft Exchange Forms-Based Authentication
            Microsoft Exchange IMAP4
            Microsoft Exchange Information Store
            Microsoft Exchange Mail Submission Service
            Microsoft Exchange Mailbox Assistants
            Microsoft Exchange Mailbox Replication Service
            Microsoft Exchange Monitoring
            Microsoft Exchange POP3
            Microsoft Exchange Protected Service Host
            Microsoft Exchange Replication Service
            Microsoft Exchange RPC Client Access
            Microsoft Exchange Search Indexer
            Microsoft Exchange Server Extension for Windows Server Backup
            Microsoft Exchange Service Host
            Microsoft Exchange Speech Engine
            Microsoft Exchange System Attendant
            Microsoft Exchange Throttling
            Microsoft Exchange Transport
            Microsoft Exchange Transport Log Search
            Microsoft Exchange Unified Messaging
            Microsoft Search (Exchange Server)

Refer to:
Overview of Services Installed by Exchange Setup 
9. Restart the Exchange Server.
10. Go to Registry Editor.
11. Navigate to the following registry entries and delete them.
COMPUTER ->HKEY_LOCAL_MACHINE ->SOFTWARE -> MICROSOFT -> EXCHANGE
COMPUTER ->HKEY_LOCAL_MACHINE ->SOFTWARE -> MICROSOFT -> EXCHANGESERVER
COMPUTER ->HKEY_LOCAL_MACHINE ->SYSTEM ->CURRENTCONTROLSET ->SERVICES ->MSEXCHANGE* (Everything Starts with MSExchange)
COMPUTER -> HKEY_CURRRENT_USER -> SOFTWARE -> MICROSOFT -> EXCHANGESERVER
11. Open Windows Explorer.
12. Navigate to %Program Files%Microsoft
13. Rename “Exchange Server” Folder as “Old Exchange Server”
14. Restart the Exchange Server.
15. Download the Windows Installer Clean up utility from the below link
16. Install it in the Exchange Server and Open it.
17. Remove the Microsoft Exchange Related Products. Ex.
            Microsoft Exchange 2007 Enterprise Anti-Spam Signature
            Microsoft Exchange 2007 Enterprise Block List Update
            Microsoft Exchange 2007 Standard Anti Spam-filter Update
            Microsoft Exchange Client Language Pack
            Microsoft Exchange Server
            Microsoft Full Text Indexing Engine for Exchange
            Microsoft Exchange Full text indexing Services
18. Restart the Exchange Server.

Removing Active Directory Objects:
1. Go to Primary Domain Controller
2. Open ADSIEDIT
3. Right Click on ADSIEdit and Click Connect to
4. Connect to “Default Naming Context”
5. Navigate to the following objects and Delete them.
DC=Domain,DC=Com -> OU=Microsoft Exchange Security Groups
DC=Domain,DC=Com -> CN=Microsoft Exchange System Objects
6. Right Click on ADSIEdit and Click Connect to
7. Connect to “Configuration”
8. Navigate to the following objects and Delete them.
CN=Configuration,DC=Domain,DC=Com -> CN=Services -> CN=Microsoft Exchange
CN=Configuration,DC=Domain,DC=Com -> CN=Services -> CN=Microsoft Exchange Autodiscover
9. Force the Active directory Replication.
10. Exchange 2010 Manual Uninstallation is Completed

No comments:

Post a Comment