最近想把测试环境从新搭建一边,但是出于AD在使用中,于是使用ADSI来删除Exchange  Server 2013在AD中的属性值,重新安装Exchange Server 2013,首先打开ADSI编辑器,选择“连接到”

ADSI删除Exchange Server 2013重新安装_第1张图片

在选择一个已知命名上下文中选择“配置”,点击“确定”

ADSI删除Exchange Server 2013重新安装_第2张图片

导航到如下路径,删除这两项:

CN=Microsoft Exchange

CN=Microsoft Exchange Autodiscover

ADSI删除Exchange Server 2013重新安装_第3张图片

删除后:

ADSI删除Exchange Server 2013重新安装_第4张图片

我们继续使用ADSI工具连接到“默认命名上下文”

ADSI删除Exchange Server 2013重新安装_第5张图片

定位到如下路径,删除这两个OU

OU=Microsoft Exchange Security Groups

OU=Microsoft Exchange System Objects

ADSI删除Exchange Server 2013重新安装_第6张图片

删除后:

ADSI删除Exchange Server 2013重新安装_第7张图片

我们回到Active Directory用户和计算机,删除如下Exchange邮箱用户

ADSI删除Exchange Server 2013重新安装_第8张图片

删除后:

ADSI删除Exchange Server 2013重新安装_第9张图片

下面假如我们的操作系统不重装的话,我们需要卸载原Exchange安装程序,卸载完成后,我们还需要删除安装目录下的文件夹,到此,卸载基本完成,我们可以按照正常步骤重新安装Exchange Server 2013了。