什麼是 Windows Server 中的 Server Core 安裝選項?What is the Server Core installation option in Windows Server?

適用於:Windows Server (半年通道) 和 Windows Server 2016Applies to: Windows Server (Semi-Annual Channel) and Windows Server 2016

Server Core 選項是當您部署的 Windows Server Standard 或 Datacenter edition 是可用的最小安裝選項。The Server Core option is a minimal installation option that is available when you are deploying the Standard or Datacenter edition of Windows Server. Server Core 包含大部分但並非所有的伺服器角色。Server Core includes most but not all server roles. Server Core 具有較小的磁碟使用量,因此較小的受攻擊面,因為較小的程式碼基底。Server Core has a smaller disk footprint, and therefore a smaller attack surface due to a smaller code base.

伺服器 (核心) 與伺服器含桌面體驗Server (Core) vs Server with Desktop Experience

當您安裝 Windows Server 時,您會安裝僅伺服器角色,您選擇-這有助於減少適用於 Windows Server 的整體使用量。When you install Windows Server, you install only the server roles that you choose - this helps reduce the overall footprint for Windows Server. 不過,「 Server 含桌面體驗安裝選項仍會安裝許多服務和特定使用案例通常不需要其他元件。However, the Server with Desktop Experience installation option still installs many services and other components that are often not needed for a particular usage scenario.

這是在 Server Core 派上用場: 的 Server Core 安裝可消除所有的服務和其他功能的不必要的特定支援常使用的伺服器角色。That's where Server Core comes into play: the Server Core installation eliminates any services and other features that are not essential for the support of certain commonly used server roles. 例如,HYPER-V 伺服器不需要圖形化使用者介面 (GUI),因為您可以從命令列使用 Windows PowerShell,或使用 HYPER-V 管理員從遠端管理 HYPER-V 的各個層面。For example, a Hyper-V server doesn't need a graphical user interface (GUI), because you can manage virtually all aspects of Hyper-V either from the command line using Windows PowerShell or remotely using the Hyper-V Manager.

Server Core 的差異-核心功能,不必 frillsThe Server Core difference - core capabilities without the frills

當您完成 Server Core 上安裝系統及登入第一次時,您會處於感到驚訝的位元。When you finish installing Server Core on a system and sign in for the first time, you're in for a bit of a surprise. 「 Server 含桌面體驗安裝選項和 Server Core 的主要差異是 Server Core 不包含下列的 GUI 殼層套件:The main difference between the Server with Desktop Experience installation option and Server Core is that Server Core does not include the following GUI shell packages:

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

換句話說,沒有任何桌面在 Server Core 中,所設計。In other words, there is no desktop in Server Core, by design. 同時支援傳統商務應用程式和以角色為基礎的工作負載所需的功能,Server Core 沒有傳統的桌面介面。While maintaining the capabilities required to support traditional business applications and role-based workloads, Server Core does not have a traditional desktop interface. 相反地,Server Core 設計來透過命令列、 PowerShell 或 GUI 工具從遠端管理 (例如RSAT或是Windows Admin Center)。Instead, Server Core is designed to be managed remotely through the command line, PowerShell, or a GUI tool (like RSAT or Windows Admin Center).

除了沒有 UI,Server Core 也不同於伺服器含桌面體驗功能如下:In addition to no UI, Server Core also differs from the Server with Desktop Experience in the following ways:

  • Server Core 沒有任何協助工具Server Core does not have any accessibility tools
  • 沒有 OOBE (out-的--體驗) 來設定 Server CoreNo OOBE (out-of-box-experience) for setting up Server Core
  • 沒有音訊支援No audio support

下表顯示哪些應用程式的可用性本機在 Server Core 或伺服器含桌面體驗。The following table shows which applications are available locally on Server Core vs Server with Desktop Experience. 重要:在大部分的情況下,會列為 「 無法使用 」 下方可以從遠端執行從 Windows 用戶端電腦,以及用來管理 Server Core 安裝的應用程式。Important: In most cases, applications that are listed as "not available" below can be run remotely from a Windows client computer and used to manage your Server Core installation.

注意

這份清單適用於快速參考-它不是完整的清單。This list is intended for quick reference - it isn't intended to be a complete list.

應用程式Application Server CoreServer Core 具備桌面體驗的伺服器Server with Desktop Experience
命令提示字元Command prompt 線上 (available)available 線上 (available)available
Windows PowerShell/ Microsoft .NETWindows PowerShell/ Microsoft .NET 線上 (available)available 線上 (available)available
Perfmon.exePerfmon.exe 無法使用not available 線上 (available)available
Windbg (GUI)Windbg (GUI) 支援supported 支援supported
Resmon.exeResmon.exe 無法使用not available 線上 (available)available
RegeditRegedit 線上 (available)available 線上 (available)available
Fsutil.exeFsutil.exe 線上 (available)available 線上 (available)available
Disksnapshot.exeDisksnapshot.exe 無法使用not available 線上 (available)available
Diskpart.exeDiskpart.exe 線上 (available)available 線上 (available)available
Diskmgmt.mscDiskmgmt.msc 無法使用not available 線上 (available)available
Devmgmt.mscDevmgmt.msc 無法使用not available 線上 (available)available
伺服器管理員Server Manager 無法使用not available 線上 (available)available
Mmc.exeMmc.exe 無法使用not available 線上 (available)available
EventvwrEventvwr 無法使用not available 線上 (available)available
Wevtutil (事件的查詢)Wevtutil (Event queries) 線上 (available)available 線上 (available)available
Services.mscServices.msc 無法使用not available 線上 (available)available
控制台Control Panel 無法使用not available 線上 (available)available
Windows Update (GUI)Windows Update (GUI) 無法使用not available 線上 (available)available
Windows 檔案總管Windows Explorer 無法使用not available 線上 (available)available
工作列Taskbar 無法使用not available 線上 (available)available
工作列通知Taskbar notifications 無法使用not available 線上 (available)available
taskmgrTaskmgr 線上 (available)available 線上 (available)available
Internet Explorer 或 EdgeInternet Explorer or Edge 無法使用not available 線上 (available)available
內建說明系統Built-in help system 無法使用not available 線上 (available)available
Windows 10 ShellWindows 10 Shell 無法使用not available 線上 (available)available
Windows Media PlayerWindows Media Player 無法使用not available 線上 (available)available
PowerShellPowerShell 線上 (available)available 線上 (available)available
PowerShell ISEPowerShell ISE 無法使用not available 線上 (available)available
PowerShell IMEPowerShell IME 線上 (available)available 線上 (available)available
Mstsc.exeMstsc.exe 無法使用not available 線上 (available)available
遠端桌面服務Remote Desktop Services 線上 (available)available 線上 (available)available
Hyper-V 管理員Hyper-V Manager 無法使用not available 線上 (available)available

如需詳細資訊,該怎麼辦包含在 Server Core,請參閱角色、 角色服務和功能包含在 Windows Server 的 Server CoreFor more information about what is included in Server Core, see Roles, Role Services, and Features included in Windows Server - Server Core. 和的相關資訊不是包含在 Server Core,請參閱角色、 角色服務和功能不包含在 Server CoreAnd for information about what is not included in Server Core, see Roles, Role Services, and Features not included in Server Core

開始使用 Server CoreGet started using Server Core

您可以使用下列資訊來安裝、 設定和管理 Windows Server 的 Server Core 安裝選項。Use the following information to install, configure, and manage the Server Core installation option of Windows Server.

Server Core 安裝:Server Core installation:

使用 Server Core:Using Server Core: