One of the great things about the Fastvue Reporter platform is that the entire application is web-based. After the initial installation, there is no need to connect directly to the server via RDP session or console. Because of this, we can use the lighter, more-efficient operation modes in Windows Server 2012 and above to switch from using the Full GUI mode to using Windows Server Core.
Update: The following article applies to Windows Server 2012 (including R2). The ability to easily switch between Server Core and Desktop Experience was unfortunately removed in Windows Server 2016.
Many people are aware that Windows is a GUI-based operating system but did you know that since Windows Server 2008, Microsoft has been working hard to make the Windows GUI an optional add-on?
You can run a fully functional Windows server without a GUI installed locally on the server. This is similar to a Linux box without X-Windows. Why would anyone want to do that? Here are a few reasons for switching:
The most obvious reason for converting to Core is performance: you get more bang for your buck on the same hardware by reducing unused operating-system components from running. Performance benefits include:
For Fastvue Reporter running as a syslog server, the uptime is vital because messages can be missed and only caught much later when the historical log archive rolls over at midnight. The more stable and robust your platform is, the lower the potential for lost log data.
The additional performance gains and improved uptime is nice, but even without these benefits, some still prefer to run Core from a security perspective. Having less code and tools on a system makes it harder to attack, and once compromised, it makes it less useful to the attacker.
Security benefits of this switch include:
There are many compelling reasons to switch from Full GUI to Core, but the question that comes up most often involves management. "How would I manage the switch to Core?". This is normally followed closely by "My staff only know how to use the GUI. What if we need need it for some reason?".
Back in Windows Server 2008, you selected whether you want Core or Full GUI. It was a one-way trip.
But now in Windows Server 2012, you have the option of switching between modes. Depending on how you switch, your experience is either simple, or requires a bit more time and effort.
I am going to show you how to switch between Windows Server Core Mode and the full GUI mode the easy way, Based on my several years of experience to figuring out the "best way" of doing it.
The steps include:
Fastvue Reporter is a good candidate for virtualisation and running Windows Core Mode because of its predictable CPU and RAM requirements. It is also more resource-hungry when other servers are typically not because Fastvue Reporter generates reports on a schedule at midnight each day, week, and end of the month.
This works best on host and guest OS of Windows Server 2012 R2. To configure your server:
You may also like to see our article on Understanding Hyper-V Dynamic Memory (Dynamic RAM).
Don't worry. Switching from the full GUI to Windows Core Mode is a reversible step. You can always bring the GUI back.
There are two ways to remove the GUI and switch to Core Mode:
I recommend using PowerShell, as when you use the 'Remove Roles and Features' wizard, it also removes all the binary components instead of simply disabling them. This makes switching back to the full GUI version much more difficult as you need to provide the installation source media.
To switch to Windows Core Mode using PowerShell, open a PowerShell Console as Administrator and execute these two commands
Uninstall-WindowsFeature Server-Gui-Shell Uninstall-WindowsFeature Server-Gui-Mgmt-Infra –Restart
The server will reboot and everything will look normal until you log on. When you log on, you get a command shell, nothing more. Welcome to Windows Server Core!
You should be using this method for administering your servers already. If you are not, here is a quick intro to using the Windows Remote Server Administration Tools (RSAT). Various RSAT snap-ins can be added to a machine at any stage.
You can also elect to use a Windows client machine as your management station. If so, download and install the RSAT tools for Windows.
If you ever need to restore the GUI onto the server, simply reverse the commands we issued earlier at any stage. This works because we did not explicitly use the –Remove flag, like the GUI method would have.
You can do this remotely or by logging onto the server and using the following steps:
To switch back to Full FUI mode, open a PowerShell Console as Administrator and execute these commands:
Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra –Restart
Then wait for reboot.
Your machine will now boot back with the full Windows GUI.
Using Windows Server Core for back-end infrastructure without requiring a user to login on a console is a great way to maximise your performance on a shared infrastructure. Thanks to the tools available now, it is easier than ever to manage Core through PowerShell or remotely via RSAT.
Using the PowerShell method in this article makes switching back and forth between Core and GUI simple.
Download the free 30 day trial, or schedule a demo and we'll show you how it works!
How to Configure Multiple Site-to-Site SSL VPNs with Sophos UTM
Easy WAN Emulation for Application Testing