[玩转系统] 未安装以下服务器角色: 管理工具
作者:精品下载站 日期:2024-12-14 03:24:32 浏览:14 分类:玩电脑
未安装以下服务器角色: 管理工具
Exchange 管理工具非常适合管理 Exchange 组织。在管理服务器上安装 Exchange 管理工具后,出现错误,显示未安装以下服务器角色: 管理工具。更多详细信息可以在 ExchangeSetup.log 中找到。在本文中,您将了解发生这种情况的原因以及安装 Exchange 管理工具的解决方案。
介绍
MG01-2016 是我们的管理服务器,我们要在其中安装 Exchange 管理工具。我们确实在机器 MG01-2016 上安装了 Exchange Server ISO。
值得高兴的是,在程序和功能中,我们看不到 Microsoft Exchange Server。意思是还没有安装,这是新安装的。
查看驱动器盘符。在我们的示例中,Exchange Server ISO 安装到驱动器号 E:\。以管理员身份运行命令提示符并运行命令来安装 Exchange 管理工具。
C:\>E:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /Role:ManagementTools
Microsoft Exchange Server 2016 Cumulative Update 20 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Languages
Management tools
The following server roles are not installed: Management tools.
The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
管理工具
未安装以下服务器角色:管理工具。
Exchange Server 安装操作未完成。更多详细信息可以在位于 :\ExchangeSetupLogs 文件夹中的 ExchangeSetup.log 中找到。
为什么我们会收到此错误,未安装以下服务器角色的解决方案是什么:管理工具?
安装模式设置为:‘BuildToBuildUpgrade’
转到 ExchangeSetupLogs 文件夹并打开 ExchangeSetup.log。在我们的示例中,位置为 C:\ExchangeSetupLogs\ExchangeSetup.log。
为了更好地查看,我确实将日志复制为下面的输出。
[05-08-2021 10:07:34.0141] [0] **********************************************
[05-08-2021 10:07:34.0141] [0] Starting Microsoft Exchange Server 2016 Setup
[05-08-2021 10:07:34.0141] [0] **********************************************
[05-08-2021 10:07:34.0157] [0] Local time zone: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna.
[05-08-2021 10:07:34.0157] [0] Operating system version: Microsoft Windows NT 6.2.9200.0.
[05-08-2021 10:07:34.0157] [0] Setup version: 15.1.2242.4.
[05-08-2021 10:07:34.0157] [0] Logged on user: EXOIP\administrator.
[05-08-2021 10:07:34.0157] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
[05-08-2021 10:07:34.0313] [0] Command Line Parameter Name='iacceptexchangeserverlicenseterms', Value=''.
[05-08-2021 10:07:34.0313] [0] Command Line Parameter Name='roles', Value='Microsoft.Exchange.Management.Deployment.RoleCollection'.
[05-08-2021 10:07:34.0313] [0] Command Line Parameter Name='sourcedir', Value='E:\'.
[05-08-2021 10:07:34.0313] [0] Command Line Parameter Name='mode', Value='Install'.
[05-08-2021 10:07:34.0329] [0] RuntimeAssembly was started with the following command: '/IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /Role:ManagementTools /sourcedir:E:"'.
[05-08-2021 10:07:34.0329] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\v8.0, wasn't found.
[05-08-2021 10:07:34.0329] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14, wasn't found.
[05-08-2021 10:07:34.0329] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
[05-08-2021 10:07:34.0329] [0] Copying Files...
[05-08-2021 10:07:34.0345] [0] Starting copy from E:\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup.
[05-08-2021 10:07:35.0423] [0] Finished copy from E:\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup.
[05-08-2021 10:07:35.0423] [0] File copy complete. Setup will now collect additional information needed for installation.
[05-08-2021 10:07:35.0438] [0] Assembly dll file location is C:\Windows\Temp\ExchangeSetup\Microsoft.Exchange.Setup.Console.dll
[05-08-2021 10:07:37.0220] [0] Setup is choosing the domain controller to use
[05-08-2021 10:07:44.0063] [0] Setup is choosing a local domain controller...
[05-08-2021 10:07:46.0454] [0] Setup has chosen the local domain controller DC01-2016.exoip.local for initial queries
[05-08-2021 10:07:46.0689] [0] PrepareAD has been run, and has replicated to this domain controller; so setup will use DC01-2016.exoip.local
[05-08-2021 10:07:46.0689] [0] Setup is choosing a global catalog...
[05-08-2021 10:07:46.0704] [0] Setup has chosen the global catalog server DC01-2016.exoip.local.
[05-08-2021 10:07:46.0704] [0] Setup will use the domain controller 'DC01-2016.exoip.local'.
[05-08-2021 10:07:46.0704] [0] Setup will use the global catalog 'DC01-2016.exoip.local'.
[05-08-2021 10:07:46.0704] [0] Exchange configuration container for the organization is 'CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exoip,DC=local'.
[05-08-2021 10:07:46.0704] [0] Exchange organization container for the organization is 'CN=EXOIP,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exoip,DC=local'.
[05-08-2021 10:07:46.0720] [0] Setup will search for an Exchange Server object for the local machine with name 'MG01-2016'.
[05-08-2021 10:07:46.0735] [0] No Exchange Server with identity 'MG01-2016' was found.
[05-08-2021 10:07:46.0782] [0] The following roles have been unpacked:
[05-08-2021 10:07:46.0782] [0] The following datacenter roles are unpacked:
[05-08-2021 10:07:46.0798] [0] The following roles are installed: AdminToolsRole
[05-08-2021 10:07:46.0798] [0] The local server does not have any Exchange files installed.
[05-08-2021 10:07:46.0798] [0] Server Name=MG01-2016
[05-08-2021 10:07:46.0814] [0] Setup will use the path 'E:\' for installing Exchange.
[05-08-2021 10:07:46.0814] [0] The backup copy of the install path is 'C:\Program Files\Microsoft\Exchange Server\V15'.
[05-08-2021 10:07:46.0814] [0] The backup copy of the previously installed version is '15.1.2176.2'.
[05-08-2021 10:07:46.0814] [0] The installation mode is set to: 'BuildToBuildUpgrade'.
[05-08-2021 10:07:49.0626] [0] An Exchange organization with name 'EXOIP' was found in this forest.
[05-08-2021 10:07:49.0626] [0] Active Directory Initialization status : 'True'.
[05-08-2021 10:07:49.0626] [0] Schema Update Required Status : 'False'.
[05-08-2021 10:07:49.0626] [0] Organization Configuration Update Required Status : 'False'.
[05-08-2021 10:07:49.0626] [0] Domain Configuration Update Required Status : 'False'.
[05-08-2021 10:07:49.0798] [0] Setup is determining what organization-level operations to perform.
[05-08-2021 10:07:49.0798] [0] Because the value was specified, setup is setting the argument OrganizationName to the value EXOIP.
[05-08-2021 10:07:49.0798] [0] MSI was not present; Installing to saved location C:\Program Files\Microsoft\Exchange Server\V15
[05-08-2021 10:07:49.0814] [0] RootDataHandler has 1 DataHandlers
[05-08-2021 10:07:49.0814] [0] Languages
[05-08-2021 10:07:49.0814] [0] Management tools
[05-08-2021 10:07:49.0845] [0] Validating options for the 1 requested roles
[05-08-2021 10:07:49.0845] [0] UpgradeModeDataHandler has 9 handlers and 9 work units
[05-08-2021 10:07:49.0861] [0] [ERROR] The following server roles are not installed: Management tools.
[05-08-2021 10:07:49.0861] [0] CurrentResult console.ProcessRunInternal:90: 1
[05-08-2021 10:07:49.0861] [0] CurrentResult launcherbase.maincore:90: 1
[05-08-2021 10:07:49.0861] [0] CurrentResult console.startmain:52: 1
[05-08-2021 10:07:49.0861] [0] CurrentResult SetupLauncherHelper.loadassembly:452: 1
[05-08-2021 10:07:49.0861] [0] The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
[05-08-2021 10:07:49.0861] [0] CurrentResult main.run:235: 1
[05-08-2021 10:07:49.0861] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
[05-08-2021 10:07:49.0861] [0] CurrentResult setupbase.maincore:396: 1
[05-08-2021 10:07:49.0861] [0] End of Setup
[05-08-2021 10:07:49.0861] [0] **********************************************
看文字:安装模式设置为:‘BuildToBuildUpgrade’。这意味着安装/升级/卸载失败,并且处于损坏状态。
在这种情况下,我们可以在注册表编辑器中删除几个注册表值。以管理员身份运行注册表编辑器。转到 ExchangeServer 注册表路径。
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer
在ExchangeServer注册表项下,我们可以看到Exchange Server的版本。在此示例中,它是 V15 (Exchange Server 2016)。让我们检查子项并检查以下值并将其删除:
- 行动
- 水印
之后,我们确实运行了安装Exchange管理工具的命令,但没有成功。与命令提示符中的输出相同的错误以及 ExchangeSetup.log 中的相同错误。
我们再做一件事。
未安装以下服务器角色的解决方案: 管理工具
我们删除了上一步中的值,但它不起作用。我们可以重命名Exchange Server注册表项和Exchange Server安装文件夹。
重命名 Exchange Server 注册表项
将 Exchange Server 注册表项从 ExchangeServer 重命名为 ExchangeServer.old。
重命名 Exchange Server 安装文件夹
将 Exchange Server 安装文件夹从 Exchange Server 重命名为 Exchange Server.old。
重新启动机器。如果您不这样做并启动 Exchange 管理工具安装,您将收到消息:从以前的安装重新启动正在等待。请重新启动系统,然后重新运行安装程序。
安装 Exchange 管理工具
重新启动后,安装 Exchange Server ISO。以管理员身份运行命令提示符并运行命令来安装 Exchange 管理工具。
C:\>E:\Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF /Role:ManagementTools
Microsoft Exchange Server 2016 Cumulative Update 20 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for installation.
Languages
Management tools
Performing Microsoft Exchange Server Prerequisite Check
Configuring Prerequisites COMPLETED
Prerequisite Analysis COMPLETED
Configuring Microsoft Exchange Server
Preparing Setup COMPLETED
Stopping Services COMPLETED
Copying Exchange Files COMPLETED
Language Files COMPLETED
Restoring Services COMPLETED
Language Configuration COMPLETED
Exchange Management Tools COMPLETED
Finalizing Setup COMPLETED
The Exchange Server setup operation completed successfully.
Exchange 管理工具安装成功。不要忘记删除 ExchangeServer.old 注册表项和 Exchange Server.old 文件夹以保持干净。
了解更多:Exchange 混合管理工具 »
结论
在本文中,您了解了为什么未安装 Exchange 管理工具。此问题的解决方案是重命名 Exchange Server 注册表项和 Exchange Server 安装文件夹。之后,您可以安装Exchange管理工具。
您喜欢这篇文章吗?您可能还喜欢 PowerShell ISE 中的 Load Exchange Management Shell。不要忘记关注我们并分享这篇文章。
猜你还喜欢
- 03-30 [玩转系统] 如何用批处理实现关机,注销,重启和锁定计算机
- 02-14 [系统故障] Win10下报错:该文件没有与之关联的应用来执行该操作
- 01-07 [系统问题] Win10--解决锁屏后会断网的问题
- 01-02 [系统技巧] Windows系统如何关闭防火墙保姆式教程,超详细
- 12-15 [玩转系统] 如何在 Windows 10 和 11 上允许多个 RDP 会话
- 12-15 [玩转系统] 查找 Exchange/Microsoft 365 中不活动(未使用)的通讯组列表
- 12-15 [玩转系统] 如何在 Windows 上安装远程服务器管理工具 (RSAT)
- 12-15 [玩转系统] 如何在 Windows 上重置组策略设置
- 12-15 [玩转系统] 如何获取计算机上的本地管理员列表?
- 12-15 [玩转系统] 在 Visual Studio Code 中连接到 MS SQL Server 数据库
- 12-15 [玩转系统] 如何降级 Windows Server 版本或许可证
- 12-15 [玩转系统] 如何允许非管理员用户在 Windows 中启动/停止服务
取消回复欢迎 你 发表评论:
- 精品推荐!
-
- 最新文章
- 热门文章
- 热评文章
[影视] 黑道中人 Alto Knights(2025)剧情 犯罪 历史 电影
[古装剧] [七侠五义][全75集][WEB-MP4/76G][国语无字][1080P][焦恩俊经典]
[实用软件] 虚拟手机号 电话 验证码 注册
[电视剧] 安眠书店/你 第五季 You Season 5 (2025) 【全10集】
[电视剧] 棋士(2025) 4K 1080P【全22集】悬疑 犯罪 王宝强 陈明昊
[软件合集] 25年6月5日 精选软件22个
[软件合集] 25年6月4日 精选软件36个
[短剧] 2025年06月04日 精选+付费短剧推荐33部
[短剧] 2025年06月03日 精选+付费短剧推荐25部
[软件合集] 25年6月3日 精选软件44个
[剧集] [央视][笑傲江湖][2001][DVD-RMVB][高清][40集全]李亚鹏、许晴、苗乙乙
[电视剧] 欢乐颂.5部全 (2016-2024)
[电视剧] [突围] [45集全] [WEB-MP4/每集1.5GB] [国语/内嵌中文字幕] [4K-2160P] [无水印]
[影视] 【稀有资源】香港老片 艺坛照妖镜之96应召名册 (1996)
[剧集] 神经风云(2023)(完结).4K
[剧集] [BT] [TVB] [黑夜彩虹(2003)] [全21集] [粤语中字] [TV-RMVB]
[实用软件] 虚拟手机号 电话 验证码 注册
[资源] B站充电视频合集,包含多位重量级up主,全是大佬真金白银买来的~【99GB】
[影视] 内地绝版高清录像带 [mpg]
[书籍] 古今奇书禁书三教九流资料大合集 猎奇必备珍藏资源PDF版 1.14G
[电视剧] [突围] [45集全] [WEB-MP4/每集1.5GB] [国语/内嵌中文字幕] [4K-2160P] [无水印]
[剧集] [央视][笑傲江湖][2001][DVD-RMVB][高清][40集全]李亚鹏、许晴、苗乙乙
[电影] 美国队长4 4K原盘REMUX 杜比视界 内封简繁英双语字幕 49G
[电影] 死神来了(1-6)大合集!
[软件合集] 25年05月13日 精选软件16个
[精品软件] 25年05月15日 精选软件18个
[绝版资源] 南与北 第1-2季 合集 North and South (1985) /美国/豆瓣: 8.8[1080P][中文字幕]
[软件] 25年05月14日 精选软件57个
[短剧] 2025年05月14日 精选+付费短剧推荐39部
[短剧] 2025年05月15日 精选+付费短剧推荐36部
- 最新评论
-
- 热门tag