To install the full GUI
> Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart
To uninstall the GUI from a full installation of Windows Server 2012
> Uninstall-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart
You may be wondering why you would ever want to uninstall the GUI? A good scenario is that you want to configure your server initially using the graphical tools, and after it's full configured, you want to reduce the footprint and attack surface of your server.
Thank you for this post. Didn't know about this after i got a few servers that I basically want headless this is awesome.
ReplyDelete