1、Whats New in Server Core for Windows Server 2008 R2,Andrew MasonPrincipal Program ManagerMicrosoftWSV323,Agenda,Overview of the R2 Additions.NET in Server CoreIIS Additions to Server CorePowerShell in Server CoreFurther Minimizing Server CoreOther Additions,Server Core Patch Reduction,If Server Core
2、 had existedWindows 2000 is 60% reductionWindows Server 2003 is 40% reductionWindows Server 2008 to date is:35% reduction if accepting all patches59% reduction if applying only necessary patches59% elimination of reboots,Server Core Additions in Windows Server 2008 R2,.NET Framework in Server CoreSu
3、bset of .NET 2.0Subset of .NET 3.0Windows Communication Framework (WCF)Windows Workflow Framework (WF)Subset of .NET 3.5WF additions from 3.5LINQSubset of ASP.NET support for IISPowerShellServer Manager cmdletsBest Practice Analyzer (BPA) cmdlets,Server Core Additions (cont.),File Server Resource Ma
4、nager (FSRM)Certificate ServerWoW64 as an optional featureIf running all 64-bit, no need to have WoW64 installedInstalled by defaultIf removed from the image, reduces disk footprint by 150MBNew command line add/remove tool (dism.exe),Windows Server 2008 R2 Server Core Architecture,Server Core Server
5、 Roles and Optional Features,Server CoreSecurity, TCP/IP, File Systems, RPC,plus other Core Server Sub-Systems,DNS,DHCP,File,AD,ServerWith .NetFx, Shell, Tools, etc.,TS,ADFS,WDS,Etc,Server, Server Roles (for example only),ADLDS,MediaServer,IIS,Hyper-V,Print,ASP.NET,PS,.NET3/3.5,.NET2.0,WoW64,GUI, Sh
6、ell, IE, Media, Mail, Etc.,Cert Server,Server Roles,Optional Features,Deployment Image Servicing and Management (dism.exe),New Command Line Tool to Add/Remove Roles and FeaturesShows install statusBetter error reporting than OcsetupAllows multiple features to be installed from a single command lineD
7、ism /online /enable-feature /featurename:MicrosoftWindowsPowerShell /featurename:ServerManager-PSH-CmdletsIncluded in client and serverWorks online and with images,Finding Dependencies,Dism.exe will list dependent features that are not installed,Finding Installed Roles and Features,Dism /online /get
8、-featuresEquivalent of OclistNo dependency hierarchyShows if a package is EnabledDisabledReboot pending,DISM.EXE Demo,Installing FSRM and Certificate Server,File Server Resource Manager (FSRM)Part of the file server roleDism /online /enable-feature /featurename: FSRM-Infrastructure-CoreCertificate S
9、erverDism /online /enable-feature /featurename: CertificateServices,.NET Framework Architecture,CLR 2.0,LINQ,CLR 3.0Additions,CLR 3.5Additions,WPF,ASP.NET,WCF,WF,ASP.NET,CLR 2.0,WPF,.NET Framework in Server Core,LINQ,CLR 3.0Additions,CLR 3.5Additions,WPF,WCF,WF,.NET Framework 2.0 in Server Core,Subs
10、et of .NET 2 on Server Core.NET functionality aligns with functionality in Server CoreNot installed by defaultTo installDism /online /enable-feature /featurename:NetFx2-ServerCoreIf 32-bit support is needed:Dism /online /enable-feature /featurename:NetFx2-ServerCore-WOW64,.NET Framework 3 in Server
11、Core,.NET 3 functionalityNo WPF in Server Core.NET 3.5 functionalityLINQ.NET 3 and 3.5 functionality is installed with a single packageDism /online /enable-feature /featurename:NetFx3-ServerCoreIf 32-bit support is needed:Dism /online /enable-feature /featurename:NetFx3-ServerCore-WOW64,.NET Namespa
12、ces Not in Server Core,System.Data.DesignSystem.Deployment.ApplicationSystem.Diagnostics.DesignSystem.MediaSystem.Messaging.*System.Speech.*System.Web.UI.Design.* Design time support is unavailable, runtime support for expression builders is supportedSystem.Windows.*UIAutomationClientsideProviders,M
13、icrosoft.Aspnet.SnapinMicrosoft.InkMicrosoft.ManagementConsole.*Microsoft.StylusInput.*Microsoft.VisualBasic.Compatibility.VB6Microsoft.Windows.ThemesMicrosoft.WindowsCE.FormsMicrosoft.WindowsMobile.DirectX.*System.ComponentModel.Design.*,IIS Additions to Server Core in R2,IIS-ASPNETEnables hosting
14、of ASP.NET applicationsIIS-NetFxExtensibilityEnables hosting of .NET framework managed module extensionsIIS-ManagementServiceAllows remote management via the Web server Management ConsoleIIS-PowerShellProviderIIS PowerShell cmdletsIIS-FTPExtensibilitySupports FTP feature extensions, such as custom p
15、rovidersIIS-WebDAVWebDAV extension module WCF-HTTP-ActivationProcess activation via HTTP support,ASP.NET,Included with IISSame package as full Server: IIS-ASPNETLimitationsSystem.Web.Mail classes will fail because CDOSYSUse System.Net.Mail insteadWeb Application Tool (WAT) not available,Remotely Man
16、aging IIS on Server Core,Install the IIS Management ServiceDism /online /enable-feature /featurename:IIS-ManagementServiceEnable Remote ManagementSet EnableRemoteManagement to 1 under HKLMSoftwareMicrosoftWebManagement ServerStart the Management ServiceNet start wmsvc,ASP.NET Demo,PowerShell in Serv
17、er Core,Full Command Line PowerShellScripts and cmdlets are limited like any other code or scriptInstalling PowerShellDism /online /enable-feature /featurename:MicrosoftWindowsPowerShellIf 32-bit support is needed:Dism /online /enable-feature /featurename:NetFx2-ServerCore-WOW64Dism /online /enable-
18、feature /featurename:MicrosoftWindowsPowerShell-WOW64,PowerShell Cmdlets in Server Core,Require PowerShell to be installed firstServer Manager cmdletsDism /online /enable-feature /featurename:ServerManager-PSH-CmdletsImport-module ServerManagerThe cmdlets are add-windowsfeature, get-windowsfeature,
19、and remove-windowsfeatureBest Practice Analyzer cmdletsDism /online /enable-feature /featurename:BestPractices-PSH-Cmdletsimport-module BestPracticesThe cmdlets are get-bparesult, invoke-bpamodel and set-bparesult,WoW64 in Server Core R2,Installed by defaultDism /online /disable-feature /featurename
20、:ServerCore-WOW64Required for and must be installed forActive DirectoryActive Directory Lightweight Directory Services,Other WoW64 Packages,The following all have WoW64 support that can be installedFailoverCluster-Core-WOW64NetFx2-ServerCore-WOW64MicrosoftWindowsPowerShell-WOW64NetFx3-ServerCore-WOW
21、64Printing-ServerCore-Role-WOW64ServerCore-EA-IME-WOW64SUACore-WOW64Must first install Corresponding 64-bit feature, e.g., FailoverCluster-Core,Potential Issues with WoW64,Installers Requiring WoW64When an MSI requires WoW64, it will return:Error 1719. The Windows Installer Service could not be acce
22、ssed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.Applications Requiring WoW64When trying to run a 32-bit application, you will receive the following error:The subsystem needed to support the image type is not present.,PowerShell
23、and WOW64 Demo,Reducing the Footprint,Can remove roles and features from the Server Core imageOne-way process; once removed, it is gone unless you reinstallLargest footprint savings.Net Support 500MBIME Support 200MBWoW64 Support 150MB,Removing Packages,Change to windowsservicingpackagesDir *coreedi
24、tion*.mum /wCopy file name up to extensionFor example: Microsoft-Windows-ServerEnterpriseCoreEdition31bf3856ad364e35amd646.1.7100.0Dism /online /get-features /packagename: Dism /online /disable-feature /packagename: /featurename:,Reducing the Footprint Demo,Installing a Product Key,Setup no longer p
25、rompts for Product KeyNo OOBE on Server CoreCan use SLMGR.VBSSlmgr.vbs -ipk Slmgr.vbs -ato,Sconfig,New script to ease initial configuration,question & answer,Server Core Resources,Server Core Bloghttp:/ Newsgroupshttp:/ http:/ Step-by-Step GuideOnline athttp:/ Download in Word Document in the Downlo
26、ad Centerhttp:/ Server Resources,Make sure you pick up your copy of Windows Server 2008 R2 RC from the Materials Distribution Counter,Learn More about Windows Server 2008 R2: Learning Center (Orange Section): Highlighting Windows Server 2008 and R2 technologiesOver 15 booths and experts from Micros
27、oft and our partners,Required SlideTrack PMs will supply the content for this slide, which will be inserted during the final scrub.,Complete an evaluation on CommNet and enter to win!,Required Slide, 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product
28、 names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market co
29、nditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.,Required Slide,