Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Microsoft Exchange/Office/365 » Remove Microsoft Exchange Server: Using ADSIEdit Tool
  • Key distribution center
    Perform Key Distribution Center Service [krbtgt] Password reset Windows
  • Modernstanby
    Modern Standby: PC is automatically encrypted Windows
  • 1 WeXxkEX0JG3oB781HD8Hrg 1
    Post OS installation: Configure the properties of Windows Server Windows Server
  • image 81
    How to Deploy Dynamic Website to AWS EC2 AWS/Azure/OpenShift
  • Screenshot 2020 05 16 at 15.18.10
    AWS CLI Error: All commands return Unknown output type [None] Network | Monitoring
  • Install Packages to Amazon Virtual Machine Using Terraform
    How to Install Packages to Amazon VM using Terraform AWS/Azure/OpenShift
  • hero windowsadmincenter
    Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state Windows Server
  • Perform an in place upgrade of Windows Server
    In-place upgrade of Windows Server 2022 to 2025 Backup

Remove Microsoft Exchange Server: Using ADSIEdit Tool

Posted on 11/04/201613/08/2023 Christian By Christian No Comments on Remove Microsoft Exchange Server: Using ADSIEdit Tool
uninstall Exchange Server

If you need to remove Microsoft Exchange Server, it’s essential to understand its role. Microsoft Exchange Server is a comprehensive platform for email, calendaring, contacts, scheduling, and collaboration. With the introduction of Exchange Server 2019, the platform offers advanced technologies and features, aligning with the shift from communication to collaboration in today’s work environment.

For some related content on Active Directory, see the following guides. Active Directory Authentication methods: Kerberos and NTLM, Concept of AD Computer Account, how to create a contact in AD, and for a detailed list of articles on Active Directory, visit the following link. This article describes how to remove Exchange Server from your computer, from the Site; and from Active Directory as well.

Here are some possible reasons why you might want to do this
1. Happens when Exchange server is not properly uninstalled and left some traces (attributes) in Active Directory
2. When it is permanently offline and Exchange should be removed.

Preparing to remove Microsoft Exchange Server

Before you remove Microsoft Exchange Server, regardless of the version you are running, you must disconnect all mailbox-enabled users from the mailboxes running Exchange. Exchange Server cannot be removed when its mailboxes are still mounted.

Method 1. Remove (legacy) Exchange server using ADSIEdit
The method of employing ADSIEdit to remove an Exchange server should be done carefully.

To remove the server open ADSI-Edit and go to configuration, navigate to this path:

CN=Configuration,DC=DOMAIN,DC=LOCAL
CN=Services
CN=Microsoft Exchange
CN=EXCHANGE_ORG
CN=Administrative Groups 

Method 2. How to remove a dead Exchange server from Active Directory

Connect to the domain controller, launch the run dialog (Windows Key + R)

- Type in the command “adsiedit.msc” and then press “OK”
- Right click on the console then “Connect to:”- 
- In the connection dialog select “Well known Naming Context”
- In the drop down menu select “Configuration”
- Expand “CN=Configuration [domain]CN=ServicesCN=Microsoft ExchangeCN=organization]CN=Administrative GroupsCN=Servers”
- Right click on the dead server and pick “Delete”

We also need to delete Database information as well, navigate to

“CN=Configuration [domain]CN=ServicesCN=Microsoft ExchangeCN=[organization]CN=Administrative GroupsCN=Databases”

Expand each item to find which one is related to the old server, then delete it as well.
– Additional steps are as follows

1. Delete Exchange Server installation folder on the server’s hard disk.
——-> Usually, this is located on drive C:|Program Files|MicrosoftExchange Server
2. Also delete the Exchange Back End and Front End websites with the IIS-Manager

3. Delete the Active Directory Users and Computers  in the following container container
- DiscoverySearch Mailbox{GUID}
- Exchange Online-ApplicationAccount
- FederatedEmail.GUID
- Migration.GUID
- SystemMailbox{GUID}
- HealthMailboxGUID

4. Also delete the Registry  key “ExchangeServer” under:HKLMSoftwareMicrosoft and
5. Delete the keys “MSExchange*” under: HKLMCurrentControlSetServices

I hope you found this blog post on how to remove Microsoft Exchange Server helpful. Please let me know in the comment session if you have any questions. I welcome you to follow me on Twitter and Facebook.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Network | Monitoring Tags:exchange, Exchange Server

Post navigation

Previous Post: NSlookup Displays Error: UnKnown Default Server
Next Post: How to Remove a profile on outlook

Related Posts

  • creating the perfect grafana dashboard  main
    How to install Grafana on Ubuntu Linux Network | Monitoring
  • banner 3
    How to Set Network Adapter Priority on Windows 11 Network | Monitoring
  • Norton RDP
    Can’t connect via RDP upon installing Norton 360 Anti-Virus Solution
  • UpdateOfficeOnlineServer 1
    Perform Office Online Server Update via the Microsoft Update Catalog Network | Monitoring
  • Database Connection Stuck on Working on it
    How to fix TeamPass stuck on working on it Network | Monitoring
  • DNS
    DNS uses TCP and UDP Network | Monitoring

More Related Articles

creating the perfect grafana dashboard  main How to install Grafana on Ubuntu Linux Network | Monitoring
banner 3 How to Set Network Adapter Priority on Windows 11 Network | Monitoring
Norton RDP Can’t connect via RDP upon installing Norton 360 Anti-Virus Solution
UpdateOfficeOnlineServer 1 Perform Office Online Server Update via the Microsoft Update Catalog Network | Monitoring
Database Connection Stuck on Working on it How to fix TeamPass stuck on working on it Network | Monitoring
DNS DNS uses TCP and UDP Network | Monitoring

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Key distribution center
    Perform Key Distribution Center Service [krbtgt] Password reset Windows
  • Modernstanby
    Modern Standby: PC is automatically encrypted Windows
  • 1 WeXxkEX0JG3oB781HD8Hrg 1
    Post OS installation: Configure the properties of Windows Server Windows Server
  • image 81
    How to Deploy Dynamic Website to AWS EC2 AWS/Azure/OpenShift
  • Screenshot 2020 05 16 at 15.18.10
    AWS CLI Error: All commands return Unknown output type [None] Network | Monitoring
  • Install Packages to Amazon Virtual Machine Using Terraform
    How to Install Packages to Amazon VM using Terraform AWS/Azure/OpenShift
  • hero windowsadmincenter
    Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state Windows Server
  • Perform an in place upgrade of Windows Server
    In-place upgrade of Windows Server 2022 to 2025 Backup

Subscribe to Blog via Email

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

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.