如何在Windows Server Core虚拟机上安装VMware Tools
在这篇文章中,我将向你展示如何在Windows Server Core上安装VMware工具。VMware tools可在ESXI或VMware Workstation的Server Core虚拟机上安装。
的服务器核心选项是在部署Windows Server的标准版或数据中心版时可用的最小安装选项。服务器核心包括大部分但不是所有的服务器角色。服务器核心具有较小的磁盘占用,因此由于较小的代码库,攻击面也较小。
服务器核心没有安装GUI特性。因此,您需要在Server Core VM上挂载VMware工具,或者手动复制工具并运行安装。

创建Windows Server核心虚拟机后,如果没有自动安装VMware工具,则有两种手动安装VMware工具的方式。
- 从VMware客户连接网站下载和安装VMware Tools。
- 使用VMware Workstation或ESXI中嵌入的VMware Tools安装程序。
在其他操作系统上安装VMware工具请参考以下指南:
- 使用SCCM | ConfigMgr部署VMware Tools
- 在macOS Big Sur上安装VMware Tools
- 在Windows 11虚拟机上安装VMware Tools操作步骤
- 如何将VMware Tools更新到最新版本
在Windows Server Core虚拟机上安装VMware Tools
让我们看看在Windows Server Core虚拟机上安装VMware工具的步骤。启动Server Core虚拟机。右键单击服务器核心虚拟机标题并选择“安装VMware Tools”。

VMware工具现在挂载在Server核心虚拟机的单独驱动器上。使用CD驱动器:命令,将目录更改为已挂载VMware工具的目录。执行Dir命令,查看VMware Tools的所有组件。

需要安装VMware tools,使用该命令。\ setup64.exe.

运行Setup .exe后,会出现VMware Tools安装窗口。在某些情况下,您可能看不到设置窗口,因为它隐藏在SConfig屏幕或命令提示符。在“VMware Tools Setup”界面,单击下一个.

在选择安装类型Windows,您必须选择安装类型。
说实话,我从来没有仔细考虑过这些选择,总是顺其自然典型的.但是,让我描述一下每个选项的作用,以便对选择它有所帮助。
- 典型的:只安装VMWare产品使用的程序特性。这是所有VMware工具安装的默认选项。
- 完整的:选择该选项,安装所有必选组件、推荐组件和可选组件。
- 自定义:使用此选项可选择要安装的程序功能和安装位置。
现在,我将选择安装类型为典型的.点击下一个.

要开始安装Windows Server Core的VMware tools,请单击安装.

VMware工具的安装现在已经在Server Core上完成。点击完成.

要完成VMware tools的安装,必须重新启动系统。点击是的重启虚拟机。

验证Server Core是否安装VMware Tools
在Server Core上安装VMware工具之后,可以通过运行一个简单的PowerShell命令来验证安装是否成功Get-Service -Name VMTools
上面的命令检查是否在Server Core上安装并运行VMware Tools服务。在回显中,如果看到VMTools服务的“Status”为“运行,表示VMware Tools已成功安装到服务器核心。
