Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Complete uninstall of Exchange Server 2016 steps

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This week is quite busy, is to write the tender bid, at the same time the company was *, resulting in an Exchange CAS server can no longer be used, need to build a new CAS server, can not use the CAS server operating system can not enter, regular uninstall can not be used, many people may know how to uninstall Exchange, but I think it is necessary to record, in case of future emergencies.

Generally speaking, after we have installed Exchange Server 2016, we can uninstall it through the normal uninstall program, but if we encounter the following situations, we need to uninstall and remove Exchange server in a privileged way:

The Exchange server has been permanently offline or we need to remove it. There is an error during the installation of the Exchange server, and it cannot be solved. The corresponding junk entry is left in the architecture. When the Exchange program is reinstalled and uninstalled, it is not completely uninstalled, leaving junk entries in the schema.

Let's take a look at what steps need to be taken:

Log in to AD and open the ADSI editor

Right-click the "ADSI" editor and click Link to

Select "configuration" to determine

Open "CN=Configuration,DC= your domain name, DC=com"-"Services"-"Microsoft Exchange"-"Administrative Groups"-"Servers" in turn, find the Exchange Server you need to delete, and delete it.

After you delete the Exchange server, you can reinstall the operating system and reinstall Exchange again.

What if we need to delete the entire Exchange system clean?

Similarly, open the ADSI editor, select "configuration", navigate to "CN=Configuration,DC= your domain name, DC=com"-"Services", and delete the "Microsoft Exchange" and "Microsoft Exchange Autodiscover" entries

Connect to the default naming context again via ADSI

Delete the following two entries

OU=Microsoft Exchange Security Group

CN=Microsoft Exchange System Objects

Use IIS Manager to delete Exchange front-end and back-end Web sites

Open AD users and computers

Delete the following users and user groups under "Users"

DiscoverySearch Mailbox {GUID}

Exchange Online-ApplicationAccount

FederatedEmail.GUID

Migration.GUID

SystemMailbox {GUID}

HealthMailboxGUID

As shown in the following figure

Delete the following key values from the Exchange registry

Delete key "ExchangeServer"

HKEY_LOCAL_MACHINE\ Software\ Micorosoft

Delete key "MSExchange"

HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services removes key "MSExchange*" and all of its following items

Finally, we delete the Exchange installation folder from the disk on the Exchange server. By default, it is under this path C:\ Program Files\ Microsoft\ Exchange Server

This deletes the entire Exchange system.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report