Windows Server – Change to GUI or Core
If you are using Windows Server 2012 or 2016 then you may want to change your server from GUI to Core for security purposes.
To do this, open up an elevated Powershell command box and run the following command:
This will run through the uninstall of the GUI process and once complete, you should then reboot your machine. On reboot completion, you should notice that it is now server core.
If you want to reinstate your GUI, just run this Powershell command:
Note: with the latest release of Windows Server 2016, this seems to be by default as core and these commands will not work on that version.
If you have any questions or feedback on this guide, please feel free to leave us a message below in the comments section.