Switching Between The GUI and Server Core in Windows Server 2012
Switching Between The GUI and Server Core in Windows Server 2012
Select a server from the list. I only have one, as you can see in Figure 2.
The implication here is that if you are running Remote Server Administration Tools
(RSAT) on Windows 8, you can remotely make this change.
Clicking Next brings up a list of server roles. I dont want to change any roles, so Ill click
next which brings us to figure 3.
Scroll down to User Interfaces and Infrastructure and expand as I have in Figure 4.
Ill uncheck Server Graphical Shell. Since there will be no GUI, there is no reason to keep
the Graphical Management Tools and Infrastructure feature either. Note that when you
uncheck this you may get a prompt about removing the PowerShell ISE. Thats fine to
remove.
You are finally presented with a summary, as seen below in Figure 5.
You can decide if you want to reboot when finished or manually handle it later. Click
Remove to start the process as seen in Figure 6.
Note: If you are doing this on the server console I recommend closing all other windows and
applications before starting this process. The process will require the server to be rebooted.
But when the server reboots you will log on to a Server Core installation.
This will uninstall the same features and reboot when necessary. Want to know a bunch of
Windows Server 2012 boxes back to Core? It couldnt be easier.
The procedure is essentially the same, except under Manage, select Add Roles and
Features. Select Role-based or Feature-based installation.
As before, select the server and skip the roles. On the Features screen, scroll down and check
the boxes for Graphical Management Tools and Server Graphical Shell. (At least, I dont
see any reason not to have one without the other.) If you want the PowerShell ISE back, be
sure to check that as well. Kick off the process, reboot, and youre back to a complete GUI.
Note that if you want to do this at the server console, this is the only way you can restore the
GUI.
Switching between a full-blown GUI and server core is very easy in Windows Server 2012,
and you can even apply the change to multiple machines. Using Server Manager is a pretty
simple solution. Remember, you can do this from a Windows 8 box with RSAT. The
PowerShell commands lend themselves nicely to workflows. Or, because the process requires
a reboot, you might want to set your command up as a one-time scheduled task.
GUI? Server core? Now you can have it all for the price of a reboot.
The first task is to give the server a useful name. You can see in the figure above that a name
has been automatically generated, but it doesnt have any meaning on my network or help me
to identify the server. To change the servers name, do the following.
Now type a new name for the server and press Enter again.
Network settings
Youll see a list of network adapters and corresponding index numbers. Choose the network
adapter that you want to configure by typing its index number and pressing Enter. Usually
the index number is 12, but this can vary.
Now type the static IP address you want to assign to the adapter and press Enter.
Do the same for the network subnet mask and default gateway.
In this example Im going to set the preferred DNS server to a domain controller, so
that I can join Server Core to my domain, and the secondary DNS server will be left
empty.
When prompted, type the username and password in the pop-up dialog of a user that
has permission to add devices to your domain.
Youll then be prompted in the PowerShell console to restart the server. Type
shutdown /r and press Enter to restart the server.