Windows Server 中服务器核心安装选项简介

服务器核心选项是部署 Windows Server 标准版或数据中心版时可用的最小安装选项。 服务器核心包括大多数(但不是所有)服务器角色。 服务器核心的磁盘占用空间较小,而且由于代码库较小,因此受攻击面更小。

服务器(核心)与带桌面体验的服务器

安装 Windows Server 时,仅安装所选的服务器角色 - 这有助于减少 Windows Server 的总体占用空间。 但是,“带桌面体验的服务器”安装选项仍然会安装许多服务和其他组件,而这些服务和组件对于特定的使用场景通常并不需要。

这就是服务器核心发挥作用的地方:服务器核心安装消除了对某些常用服务器角色的支持不需要的任何服务和其他功能。 例如,Hyper-V 服务器不需要图形用户界面 (GUI),因为使用 Windows PowerShell(通过命令行)或远程使用 Hyper-V 管理器几乎可以管理 Hyper-V 的所有方面。

服务器核心差异 - 只有核心功能,没有附加功能

在系统上完成服务器核心安装并首次登录后,你会感到有点意外。 服务器与桌面体验安装选项与服务器核心之间的主要区别在于,Server Core 不包括以下 GUI shell 包:

  • Microsoft-Windows-Server-Shell-Package
  • Microsoft-Windows-Server-Gui-Mgmt-Package
  • Microsoft-Windows-Server-Gui-RSAT-Package
  • Microsoft-Windows-Cortana-PAL-Desktop-Package

In other words, there's no desktop in Server Core, by design. 虽然维护支持传统业务应用程序和基于角色的工作负载所需的功能,但 Server Core 没有传统的桌面界面。 Instead, Server Core is managed remotely through the command line, PowerShell, a GUI tool (like RSAT or Windows Admin Center).

除了没有 UI 外,服务器核心与“带桌面体验的服务器”还有以下区别:

  • 服务器核心没有任何无障碍工具
  • 没有用于设置服务器核心的 OOBE(现成体验)
  • 不支持音频

The following table shows which applications are available locally on Server Core vs Server with Desktop Experience. Important: In most cases, applications that are listed as "not available" can be run remotely from a Windows client computer or Windows Admin Center to manage your Server Core installation.

服务器核心下载位置的按需功能

如果你已获得有效的软件保障,则可以从特定的 MS 许可中心获取更高版本的 Windows Server (SAC) FoD。 需要注册到 VLSC 或 Business Center 的 Microsoft 工作或学校帐户才能访问 FoD 下载。

或者,你可能有权访问 Visual Studio 订阅。 要访问 FoD 下载,你需要拥有一个注册在有效 Visual Studio 订阅下的 Microsoft 家庭、工作或学校帐户。

最新的 Server Insider FoD 可在 Server Insider 网页上下载。 需要一个 Microsoft 家庭、工作或学校帐户,并注册到预览体验计划,才能访问 FoD 下载。

按需功能 - 按需功能包 1809 中的可用功能

该列表反映了从版本 1809(Server 2019 LTSC)起的 FoD 级别。 通过应用 1809 之前的 FoD 包,可以极大地增强服务器核心兼容性。

Note

此列表旨在快速参考 - 它不是完整列表。

Application Server Core 服务器(提供桌面体验)
Command prompt available available
Windows PowerShell/Microsoft .NET available available
Perfmon.exe not available available
Windbg (GUI) supported supported
Resmon.exe not available available
Regedit available available
Fsutil.exe available available
Disksnapshot.exe not available available
Diskpart.exe available available
Diskmgmt.msc not available available
Devmgmt.msc not available available
Server Manager not available available
Mmc.exe not available available
Eventvwr not available available
Wevtutil(事件查询) available available
Services.msc not available available
Control Panel not available available
Windows 更新 (GUI) not available available
Windows Explorer not available available
Taskbar not available available
Taskbar notifications not available available
Taskmgr available available
Internet Explorer 或 Microsoft Edge not available available
内置帮助系统 not available available
Windows 10 Shell not available available
Windows Media Player not available available
PowerShell available available
PowerShell ISE not available available
PowerShell IME available available
Mstsc.exe not available available
远程桌面服务 available available
Hyper-V Manager not available available
WordPad 1 not available available

1 To read .RTF files locally stored on Server Core, users can copy files to a different Windows computer where WordPad is present.

For more information about what is included in Server Core, see Roles, Role Services, and Features included in Windows Server - Server Core. And for information about what isn't included in Server Core, see Roles, Role Services, and Features not included in Server Core

开始使用服务器核心

使用以下信息安装、配置和管理 Windows Server 的服务器核心安装选项。

服务器核心安装:

使用服务器核心: