Welcome!

Search Authors: Pat Romanski, Elizabeth White, Liz McMillan, Jnan Dash, Shelly Palmer

Related Topics: .NET, Virtualization, Silverlight, Web 2.0

.NET: Blog Post

Server Core in Windows Server 2012 - Improved Taste, Less Filling

Reduce patch management by one-third or more with Server Core!

Want to reduce your patch maintenance requirements by 1/3rd or more?

Of course! Who wouldn't?

Well, Server Core in Windows Server 2012 reduces the disk footprint of the operating system by approximately 4GB!  When using the Server Core installation option, the features related to the Server Graphical Shell ( ie., Explorer, Start Screen, and Internet Explorer ) and Graphical Management Tools and Infrastructure are not installed - GUI features that are usually not required on a dedicated server, because we tend to do most of our IT management work from our admin workstations anyway, as a "best practice".  By not installing these features, we gain several advantages:

  • Less filling - particularly useful when virtualizing Windows Server 2012 ... you can conceivably provision a whole lot more VM's on a Hyper-V host if each VM requires ~ 4GB less disk space!
  • More uptime - Fewer installed features means fewer features to patch and maintain.  Server Core has been available since Windows Server 2008, and historically we've noted as much as 35-45% fewer patches needed on Server Core installations!  The next time you review your "Patch Tuesday" updates, you'll notice that a number of the operating system updates note:


  • More secure - Fewer installed features also mean less of a potential attack surface, providing a more "hardened" server environment that is "purpose-built" for just the roles and features that you specifically install.

For these reasons, the "Server Core installation" option is now the default installation option when installing Windows Server 2012.

Sounds great! Why haven't more IT Pros used Server Core in the past?

OK - this is where we get to the "Improved Taste" of Server Core in Windows Server 2012! :-)  When I've talked with IT Pros prior to Windows Server 2012 being released, there were often two common reasons that IT Pros hadn't been using Server Core:

  • I'm limited - Not many roles and features ran on Server Core in the past
  • It's just "different" - without a GUI interface, a lot of IT Pros had difficulty initially configuring new servers using command-line tools - it was a different experience for building new servers.

Both of these areas have been addressed in Windows Server 2012, which greatly improves the number of roles and applications that can be supported without a full "Server with GUI" user interface, while also making the Server Core configuration experience a more familiar path for arriving at on your server.  Let's look at each of these areas of improvement ...

What can I run using Server Core?
Windows Server 2012 provides the ability to run many more roles when using Server Core, including:

  • Active Directory Certificate Services
  • Active Directory Domain Services
  • DHCP Server
  • DNS Server
  • File Services (including File Server Resource Manager)
  • Active Directory Lightweight Directory Services (AD LDS)
  • Hyper-V
  • Print and Document Services
  • Streaming Media Services
  • Web Server (including a subset of ASP.NET)
  • Windows Server Update Server
  • Active Directory Rights Management Server
  • Routing and Remote Access Server

Great for "core" servers ... So, when you're setting up your next round of dedicated servers for Domain Controllers, DHCP servers, DNS serversFile/Print servers, or Web servers - be sure to consider Server Core!  These server roles are indeed "core" to the network infrastructure of many organizations, and I'm sure you'll appreciate the improved uptime you'll likely receive from having fewer patches to manage.

For the Hyper-V role ... while you can certainly install the Hyper-V role on Windows Server 2012 using Server Core, we also provide a preconfigured FREE Hyper-V Server 2012 product.  Hyper-V Server 2012 is a "prebuilt" edition of Server Core + Hyper-V without the other roles that are included in a full copy of Windows Server 2012.  Hyper-V Server 2012 includes all the same great scale, availability and virtualization features as Windows Server 2012 and makes a powerful dedicated virtualization host.  Oh ... and did I mention ... it's FREE? :-)

My good friend and colleague, Matt Hester, has a great post on his blog for learning more about Hyper-V Server 2012!.

SQL Server too! ... In addition to Windows Server 2012 roles, you can also install SQL Server 2012 on Server Core operating system installations - note that the SQL Server 2012 Database Engine, Analysis Services and Integration Services components are supported on Server Core, but Reporting Services is not currently supported in this configuration.  Since SQL Server is also a "core" component of many network environments, "SQL on Server Core" can be an attractive option worth considering!

As other new products are released, we expect that more and more products will begin providing support for Server Core where possible.

What about other applications ... Can they run on Server Core?
Be sure to check with your application vendors ... You may be surprised to find that many will run on Server Core in Windows Server 2012!  For those that don't, we do provide another option that's also new in Windows Server 2012: Minimal Server Interface.

Minimal Server Interface is a "half-way" point between the full "Server with GUI" installation option and the "Server Core" installation option  When using Minimal Server Interface, the Server Graphical Shell is still removed, but Graphical Management Tools & Infrastructure remains in place.  We're offering this mode primarily for 3rd party applications that have local GUI management tools that are required to run from the server console.  When using Minimal Server Interface, approximately 300MB less disk space is required after the Server Graphical Shell is removed.  It's not quite the same level of disk space savings as Server Core, but anything less in terms of a disk footprint is still a welcome benefit!

How do I install Windows Server 2012 with Minimal Server Interface
Unlike "Server Core installation" and "Server with GUI", Minimal Server Interface is not an install-time option.  Instead, to configure the Minimal Server Interface, you'd first install Windows Server 2012 using the full "Server with GUI" option and then remove the "Server Graphical Shell" feature post-installation by using the Remove Roles and Features wizard in Server Manager.  You'll find the Server Graphical Shell feature listed under the "User Interfaces and Infrastructure" feature category in the wizard.

Alternatively, you can also remove the "Server Graphical Shell" via PowerShell by running the following command line as an Administrator:

Uninstall-WindowsFeature Server-Gui-Shell -Restart

NOTE: A server restart is required when removing or adding the "Server Graphical Shell" feature.  The -Restart parameter on the command line above will force a server restart to occur.  After restarting and logging back in to the server console, you'll see a very sparse user interface that looks just like "Server Core".  Unlike Server Core though, you can still launch graphical management tools ( ie., Server Manager, MMC based tools, etc ) from the local server command prompt.

I love the new Server Core! But ... is it any easier to configure in Windows Server 2012?
Great question!  Many IT Pros didn't leverage Server Core prior to Windows Server 2012 because it was so different performing the initial configuration of a new server entirely using command line tools.  In prior releases of Windows Server, selecting "Server Core" or "Server with GUI" was an irreversible install-time decision - it was a "Life Choice" for that server!  In Windows Server 2012, this has changed, too - the Server Graphical Shell and the Graphical Management Tools and Infrastructure are now modular features.  And, as with any other server features, we can install them and uninstall them at any point during the server's life.  Keep in mind that a server restart will always be required after installing or uninstalling these features, so plan for a short maintenance window when switching server UI modes.

Based on this new feature-based design, we can initially install and configure the server using the full Server with GUI installation option.  After we've finished all of our initial server configuration work, then we can remove both the Server Graphical Shell and Graphical Management Tools and Infrastructure features using the Remove Roles and Features wizard in Server Manager.

I'm in Server Core ... Now, How do I get back to the GUI?

After configuring a new server and switching it to "Server Core", you'll likely be doing your daily IT management work remotely from your admin workstation using the Remote Server Administration Tools.  However, on occasion, you may find a need to switch back to the full "Server with GUI" mode, particularly if you need local console access to a graphical management tool for a 3rd party application.  You can easily switch from Server Core to the full Server with GUI by loading PowerShell ( yes, PowerShell is supported in Server Core! ) and running the following PowerShell command line as an Administrator:

Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart

After server restart and login, you'll find the full "Server with GUI" back again for your administrative pleasure!

What's Next?

In this article, we've walked through the benefits of the improved Server Core in Windows Server 2012: smaller disk footprint, increased uptime and more secure.  Along the way, we explored the new Minimal Server Interface and feature-based installation options for easily switching between server UI modes and supporting compatibility with a broader collection of roles, features and applications.

Do it! We offer a step-by-step hands-on lab on Server Core in Windows Server 2012 so that you can easily gain more real-world experience with installing, configuring and managing servers using the Server Core installation option.

Learn more! To gain more experience with Windows Server 2012 in your lab, feel free to join our FREE Windows Server 2012 "Early Experts" Challenge online study group and become one of the 1,000+ IT Pros that are now studying as "Early Experts" on Windows Server 2012.

What do you think of Server Core in Windows Server 2012?
Are you excited about using Server Core in your environment for "purpose-built" dedicated server workloads?  Feel free to share your feedback and stories in the comments below!

Hope this helps,

Keith

Build Your Lab! Build Your Lab! Download Windows Server 2012
Build Your Lab in the Cloud! Don’t Have a Lab? Build Your Lab in the Cloud with Windows Azure Virtual Machines
Join our "Early Experts" study group! Want to Get Certified? Join our Windows Server 2012 "Early Experts" Study Group

More Stories By Keith Mayer

Keith Mayer is a Technical Evangelist at Microsoft focused on Windows Infrastructure, Data Center Virtualization, Systems Management and Private Cloud. Keith has over 17 years of experience as a technical leader of complex IT projects, in diverse roles, such as Network Engineer, IT Manager, Technical Instructor and Consultant. He has consulted and trained thousands of IT professionals worldwide on the design and implementation of enterprise technology solutions.

Keith is currently certified on several Microsoft technologies, including System Center, Hyper-V, Windows, Windows Server, SharePoint and Exchange. He also holds other industry certifications from IBM, Cisco, Citrix, HP, CheckPoint, CompTIA and Interwoven.

Keith is the author of the IT Pros ROCK! Blog on Microsoft TechNet, voted as one of the Top 50 "Must Read" IT Blogs.

Keith also manages the Windows Server 2012 "Early Experts" Challenge - a FREE online study group for IT Pros interested in studying and preparing for certification on Windows Server 2012. Join us and become the next "Early Expert"!

@ThingsExpo Stories
There's Big Data, then there's really Big Data from the Internet of Things. IoT is evolving to include many data possibilities like new types of event, log and network data. The volumes are enormous, generating tens of billions of logs per day, which raise data challenges. Early IoT deployments are relying heavily on both the cloud and managed service providers to navigate these challenges. In her session at Big Data Expo®, Hannah Smalltree, Director at Treasure Data, discussed how IoT, Big Data and deployments are processing massive data volumes from wearables, utilities and other machines...
SYS-CON Events announced today that Gridstore™, the leader in hyper-converged infrastructure purpose-built to optimize Microsoft workloads, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Gridstore™ is the leader in hyper-converged infrastructure purpose-built for Microsoft workloads and designed to accelerate applications in virtualized environments. Gridstore’s hyper-converged infrastructure is the industry’s first all flash version of HyperConverged Appliances that include both compute and storag...
The Internet of Things promises to transform businesses (and lives), but navigating the business and technical path to success can be difficult to understand. In his session at @ThingsExpo, Sean Lorenz, Technical Product Manager for Xively at LogMeIn, demonstrated how to approach creating broadly successful connected customer solutions using real world business transformation studies including New England BioLabs and more.
WebRTC defines no default signaling protocol, causing fragmentation between WebRTC silos. SIP and XMPP provide possibilities, but come with considerable complexity and are not designed for use in a web environment. In his session at @ThingsExpo, Matthew Hodgson, technical co-founder of the Matrix.org, discussed how Matrix is a new non-profit Open Source Project that defines both a new HTTP-based standard for VoIP & IM signaling and provides reference implementations.
DevOps Summit 2015 New York, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait for long development cycles that produce software that is obsolete at launch. DevOps may be disruptive, but it is essential.
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at Internet of @ThingsExpo, James Kirkland, Chief Architect for the Internet of Things and Intelligent Systems at Red Hat, described how to revolutioniz...
Connected devices and the Internet of Things are getting significant momentum in 2014. In his session at Internet of @ThingsExpo, Jim Hunter, Chief Scientist & Technology Evangelist at Greenwave Systems, examined three key elements that together will drive mass adoption of the IoT before the end of 2015. The first element is the recent advent of robust open source protocols (like AllJoyn and WebRTC) that facilitate M2M communication. The second is broad availability of flexible, cost-effective storage designed to handle the massive surge in back-end data in a world where timely analytics is e...
Scott Jenson leads a project called The Physical Web within the Chrome team at Google. Project members are working to take the scalability and openness of the web and use it to talk to the exponentially exploding range of smart devices. Nearly every company today working on the IoT comes up with the same basic solution: use my server and you'll be fine. But if we really believe there will be trillions of these devices, that just can't scale. We need a system that is open a scalable and by using the URL as a basic building block, we open this up and get the same resilience that the web enjoys.
The Internet of Things is tied together with a thin strand that is known as time. Coincidentally, at the core of nearly all data analytics is a timestamp. When working with time series data there are a few core principles that everyone should consider, especially across datasets where time is the common boundary. In his session at Internet of @ThingsExpo, Jim Scott, Director of Enterprise Strategy & Architecture at MapR Technologies, discussed single-value, geo-spatial, and log time series data. By focusing on enterprise applications and the data center, he will use OpenTSDB as an example t...
The 3rd International Internet of @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that its Call for Papers is now open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
How do APIs and IoT relate? The answer is not as simple as merely adding an API on top of a dumb device, but rather about understanding the architectural patterns for implementing an IoT fabric. There are typically two or three trends: Exposing the device to a management framework Exposing that management framework to a business centric logic Exposing that business layer and data to end users. This last trend is the IoT stack, which involves a new shift in the separation of what stuff happens, where data lives and where the interface lies. For instance, it's a mix of architectural styles ...
The definition of IoT is not new, in fact it’s been around for over a decade. What has changed is the public's awareness that the technology we use on a daily basis has caught up on the vision of an always on, always connected world. If you look into the details of what comprises the IoT, you’ll see that it includes everything from cloud computing, Big Data analytics, “Things,” Web communication, applications, network, storage, etc. It is essentially including everything connected online from hardware to software, or as we like to say, it’s an Internet of many different things. The difference ...
The security devil is always in the details of the attack: the ones you've endured, the ones you prepare yourself to fend off, and the ones that, you fear, will catch you completely unaware and defenseless. The Internet of Things (IoT) is nothing if not an endless proliferation of details. It's the vision of a world in which continuous Internet connectivity and addressability is embedded into a growing range of human artifacts, into the natural world, and even into our smartphones, appliances, and physical persons. In the IoT vision, every new "thing" - sensor, actuator, data source, data con...
P2P RTC will impact the landscape of communications, shifting from traditional telephony style communications models to OTT (Over-The-Top) cloud assisted & PaaS (Platform as a Service) communication services. The P2P shift will impact many areas of our lives, from mobile communication, human interactive web services, RTC and telephony infrastructure, user federation, security and privacy implications, business costs, and scalability. In his session at @ThingsExpo, Robin Raymond, Chief Architect at Hookflash, will walk through the shifting landscape of traditional telephone and voice services ...
"Matrix is an ambitious open standard and implementation that's set up to break down the fragmentation problems that exist in IP messaging and VoIP communication," explained John Woolf, Technical Evangelist at Matrix, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
An entirely new security model is needed for the Internet of Things, or is it? Can we save some old and tested controls for this new and different environment? In his session at @ThingsExpo, New York's at the Javits Center, Davi Ottenheimer, EMC Senior Director of Trust, reviewed hands-on lessons with IoT devices and reveal a new risk balance you might not expect. Davi Ottenheimer, EMC Senior Director of Trust, has more than nineteen years' experience managing global security operations and assessments, including a decade of leading incident response and digital forensics. He is co-author of t...
We are reaching the end of the beginning with WebRTC, and real systems using this technology have begun to appear. One challenge that faces every WebRTC deployment (in some form or another) is identity management. For example, if you have an existing service – possibly built on a variety of different PaaS/SaaS offerings – and you want to add real-time communications you are faced with a challenge relating to user management, authentication, authorization, and validation. Service providers will want to use their existing identities, but these will have credentials already that are (hopefully) i...
The 3rd International @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devices - computers, smartphones, tablets, and sensors - connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades.
The Internet of Things will greatly expand the opportunities for data collection and new business models driven off of that data. In her session at @ThingsExpo, Esmeralda Swartz, CMO of MetraTech, discussed how for this to be effective you not only need to have infrastructure and operational models capable of utilizing this new phenomenon, but increasingly service providers will need to convince a skeptical public to participate. Get ready to show them the money!
The 3rd International Internet of @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that its Call for Papers is now open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.