Vad är en Server Core-installationsalternativet i WindowsServer?What is the Server Core installation option in Windows Server?
Gäller för: WindowsServer (semikolon årlig Channel) och WindowsServer 2016Applies to: Windows Server (Semi-Annual Channel) and Windows Server 2016
Server Core-alternativet är ett minimalt installationsalternativ som är tillgängliga när du distribuerar Standard eller Datacenter-utgåvan av WindowsServer.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 innehåller de flesta men inte alla serverroller.Server Core includes most but not all server roles. Server Core har en mindre diskutrymme och därför en mindre attackyta på grund av en mindre kodbas.Server Core has a smaller disk footprint, and therefore a smaller attack surface due to a smaller code base.
(Grundläggande)-Server vs Server med SkrivbordsmiljöServer (Core) vs Server with Desktop Experience
När du installerar WindowsServer kan installera du de serverroller som du väljer – detta bidrar till att minska den totala storleken för WindowsServer.When you install Windows Server, you install only the server roles that you choose - this helps reduce the overall footprint for Windows Server. Server med installationsalternativet Skrivbordsmiljö installeras dock ändå många tjänster och andra komponenter som ofta inte behövs för en viss användning scenario.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.
Det är där Server Core kommer spelbara: Server Core-installation eliminerar alla tjänster och andra funktioner som inte är nödvändiga för att stödja vissa ofta används serverroller.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. En Hyper-V server behöver inte ett grafiskt användargränssnitt (GUI), eftersom du kan hantera praktiskt taget alla aspekter av Hyper-V från kommandoraden med hjälp av WindowsPowerShell eller med hjälp av Hyper-V Manager.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.
Skillnaden Server Core – grundfunktionerna utan frillsThe Server Core difference - core capabilities without the frills
När du har installerat Server Core på en dator och logga in för första gången kan har du för lite en bättre upplevelse.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. Den största skillnaden mellan Server med installationsalternativet Skrivbordsmiljö och Server Core är Server Core inte innehåller följande GUI shell paket: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
Med andra ord är det inget skrivbord i Server Core avsiktligt.In other words, there is no desktop in Server Core, by design. Samtidigt som de funktioner som krävs för att stödja traditionell affärsprogram och rollbaserad arbetsbelastningar har Server Core inte en traditionell stationär gränssnitt.While maintaining the capabilities required to support traditional business applications and role-based workloads, Server Core does not have a traditional desktop interface. I stället Server Core är utformat att fjärrhanteras via kommandoraden, PowerShell eller ett GUI-verktyg (t.ex. RSAT eller projekt lägger hanteringsportal).Instead, Server Core is designed to be managed remotely through the command line, PowerShell, or a GUI tool (like RSAT or the Project Honolulu management portal).
Förutom utan användargränssnitt Server Core också skiljer sig från Server med Skrivbordsmiljö på följande sätt:In addition to no UI, Server Core also differs from the Server with Desktop Experience in the following ways:
- Server Core har inte någon hjälpmedelsverktygServer Core does not have any accessibility tools
- Ingen OOBE (out-of-box-experience) för att konfigurera Server CoreNo OOBE (out-of-box-experience) for setting up Server Core
- Inget stöd för ljudNo audio support
I följande tabell visas vilka program som är tillgängliga lokalt på Server Core eller Server med Skrivbordsmiljö.The following table shows which applications are available locally on Server Core vs Server with Desktop Experience. Viktiga: I de flesta fall, program som visas som ”inte tillgängligt” nedan kan köras från en fjärrdator från en Windows-klientdator och används för att hantera Server Core-installation.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.
Anteckning
Den här listan är avsedd för Snabbreferens – det inte är avsett att vara en fullständig lista.This list is intended for quick reference - it isn't intended to be a complete list.
ProgramApplication | Server CoreServer Core | Server med SkrivbordsmiljöServer with Desktop Experience |
---|---|---|
KommandotolkenCommand prompt | tillgängligavailable | tillgängligavailable |
WindowsPowerShell / Microsoft .NETWindows PowerShell/ Microsoft .NET | tillgängligavailable | tillgängligavailable |
Perfmon.exePerfmon.exe | Inte tillgänglignot available | tillgängligavailable |
WinDbg (GUI)Windbg (GUI) | stödssupported | stödssupported |
Resmon.exeResmon.exe | Inte tillgänglignot available | tillgängligavailable |
RegeditRegedit | tillgängligavailable | tillgängligavailable |
Fsutil.exeFsutil.exe | tillgängligavailable | tillgängligavailable |
Disksnapshot.exeDisksnapshot.exe | Inte tillgänglignot available | tillgängligavailable |
Diskpart.exeDiskpart.exe | tillgängligavailable | tillgängligavailable |
Diskmgmt.mscDiskmgmt.msc | Inte tillgänglignot available | tillgängligavailable |
Devmgmt.mscDevmgmt.msc | Inte tillgänglignot available | tillgängligavailable |
ServerhanterarenServer Manager | Inte tillgänglignot available | tillgängligavailable |
Mmc.exeMmc.exe | Inte tillgänglignot available | tillgängligavailable |
EventvwrEventvwr | Inte tillgänglignot available | tillgängligavailable |
Wevtutil (händelsefrågor)Wevtutil (Event queries) | tillgängligavailable | tillgängligavailable |
Services.mscServices.msc | Inte tillgänglignot available | tillgängligavailable |
På KontrollpanelenControl Panel | Inte tillgänglignot available | tillgängligavailable |
WindowsUpdate (GUI)Windows Update (GUI) | Inte tillgänglignot available | tillgängligavailable |
UtforskarenWindows Explorer | Inte tillgänglignot available | tillgängligavailable |
AktivitetsfältetTaskbar | Inte tillgänglignot available | tillgängligavailable |
Meddelanden i AktivitetsfältetTaskbar notifications | Inte tillgänglignot available | tillgängligavailable |
TaskmgrTaskmgr | tillgängligavailable | tillgängligavailable |
InternetExplorer eller kantInternet Explorer or Edge | Inte tillgänglignot available | tillgängligavailable |
Inbyggda hjälpsystemetBuilt-in help system | Inte tillgänglignot available | tillgängligavailable |
Windows10-gränssnittetWindows 10 Shell | Inte tillgänglignot available | tillgängligavailable |
WindowsMedia PlayerWindows Media Player | Inte tillgänglignot available | tillgängligavailable |
PowerShellPowerShell | tillgängligavailable | tillgängligavailable |
PowerShell ISEPowerShell ISE | Inte tillgänglignot available | tillgängligavailable |
PowerShell IMEPowerShell IME | tillgängligavailable | tillgängligavailable |
Mstsc.exeMstsc.exe | Inte tillgänglignot available | tillgängligavailable |
FjärrskrivbordstjänsterRemote Desktop Services | tillgängligavailable | tillgängligavailable |
Hyper-V ManagerHyper-V Manager | Inte tillgänglignot available | tillgängligavailable |
Mer information om vad är ingår i Server Core, se roller, rolltjänster och funktioner som ingår i WindowsServer – Server Core.For more information about what is included in Server Core, see Roles, Role Services, and Features included in Windows Server - Server Core. Och för information om vad inte ingår i Server Core, se roller, rolltjänster och funktioner som inte ingår i Server CoreAnd for informaiton about what is not included in Server Core, see Roles, Role Services, and Features not included in Server Core
Komma igång med Server CoreGet started using Server Core
Använd följande information för att installera, konfigurera och hantera installationsalternativet Server Core för WindowsServer.Use the following information to install, configure, and manage the Server Core installation option of Windows Server.
Server Core-installation:Server Core installation:
- Roller, rolltjänster och funktioner som ingår i Server CoreRoles, Role Services, and Features included in Server Core
- Roller, rolltjänster och funktioner inte i Server CoreRoles, Role Services, and Features not in Server Core
- Installera en Server Core-installationInstall the Server Core installation option
- Konfigurera Server Core med verktyget SConfigConfigure Server Core with the SConfig tool
Med Server Core:Using Server Core:
- Grundläggande uppgifter för Server Core-administration med WindowsPowerShell eller KommandotolkenBasic Server Core administration tasks using Windows PowerShell or the command line
- Hantera Server CoreManage Server Core
- Korrigering av Server CorePatching Server Core
- Konfigurera minnesdumparConfigure memory dump files