Deploy a Server Core Server
Applies To: Windows Server 2012 R2, Windows Server 2012
This topic addresses basic information concerning installation and deployment of Windows Server® 2012 in Server Core mode.
When you install Windows Server 2012, you can choose between Server Core Installation and Server with a GUI. The “Server with a GUI” option is the Windows Server 2012 equivalent of the Full installation option available in Windows Server 2008 R2. The “Server Core Installation” option reduces the space required on disk, the potential attack surface, and especially the requirements for servicing and restarting the server, so we recommend that you choose the Server Core installation unless you have a particular need for the additional user interface elements and graphical management tools that are included in the “Server with a GUI” option. For this reason, the Server Core installation is now the default. Because you can freely switch between these options at any time later, one approach might be to initially install the Server with a GUI option, use the graphical tools to configure the server, and then later switch to the Server Core Installation option.
If you choose the Server Core option, the standard user interface (the “Server Graphical Shell”) is not installed; you manage the server using remote user interface tools, Windows PowerShell, or, if necessary, locally using the command line (or Windows PowerShell). For more information about the differences between Server Core and Server with a GUI, the features included in each mode, switching between the modes, the Minimal Server Interface mode, and Features on Demand, see https://technet.microsoft.com/library/hh831786.
At the time you run Setup, you have the option to install the server in Server Core mode or Server with a GUI mode.
Using Setup to install the server directly in Server Core mode
Insert the appropriate Windows Server 2012 installation media into your DVD drive.
When the auto-run dialog box appears, click Install Now.
Follow the instructions on the screen to complete Setup.
You will be prompted to set a password for the Administrator account.
Using an unattend file to install the server directly in Server Core mode
Using an unattend file to install directly in Server Core mode enables you to perform most of the initial configuration tasks during Setup.
To install directly in Server Core mode with an unattend file
Create a .xml file titled Unattend.xml by using a text editor or Windows System Image Manager.
Copy the Unattend.xml file to a local drive or shared network resource.
Boot your computer to Windows Preinstallation Environment (Windows PE).
Insert the media disk with the Server Core installation of Windows Server 2012 into your disk drive. If the auto-run Setup window appears, click Cancel.
Change to the drive that contains the installation media.
Run setup /unattend:<path>\unattend.xml, where path is the path to the Unattend.xml file.
Allow Setup to complete.