应用对象
Exchange Server 2019 Exchange Server 2016

症状

尝试在安装了 2023 年 1 月 Exchange Server 安全更新的服务器上卸载 Microsoft Exchange Server 2019 或 2016 时,安装程序突然停止响应并返回以下错误消息:

无法执行此操作,因为在“<DomainControllerName>”上找不到对象“<ServerName>”。

注意 在此消息中,<ServerName> 和 <DomainControllerName> 是实体名称的占位符。

此外,你发现你尝试卸载的 Exchange Server 对象已从相关的 Active Directory 配置容器中删除。

解决方案

要解决此问题,请根据需要安装以下安全更新:

解决方法

如果无法安装 6 月安全更新,请使用以下解决方法。

卸载之前

若要在开始卸载过程之前解决此错误,请在安装了 2023 年 1 月安全更新的 Exchange 服务器上更新下列程序和累积更新 (CU) 版本的注册表项。 手动更新注册表或运行关联的 PowerShell 命令。

对于 Exchange Server 2019 CU12

Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\Setup 

Key: "MsiBuildMinor"=dword:00000007

PowerShell 命令:

Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\ExchangeServer\v15\Setup -Name "MsiBuildMinor" -Value 7 -Type DWord

对于 Exchange Server 2019 CU11

Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\Setup 

Key: "MsiBuildMinor"=dword:00000005

PowerShell 命令:

Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\ExchangeServer\v15\Setup -Name "MsiBuildMinor" -Value 5 -Type DWord

对于 Exchange Server 2016 CU23

Subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v15\Setup

Key: "MsiBuildMinor"=dword:00000006

PowerShell 命令:

Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\ExchangeServer\v15\Setup -Name "MsiBuildMinor" -Value 6 -Type DWord

注意 如果你的 Exchange Server 安装已处于失败状态,并且收到了“症状”部分中提到的错误消息,则 Exchange Server 对象已从配置容器中删除。

卸载后

若要在执行卸载后解决此错误,请从正在运行的 Exchange 服务器运行 Get-ExchangeServerGet-TransportService ,以验证卸载的服务器是否已删除。 如果删除了该服务器,则可以继续重新格式化已卸载的服务器。

需要更多帮助?

需要更多选项?

了解订阅权益、浏览培训课程、了解如何保护设备等。