Windows Server – Change to GUI or Core

By | March 30, 2023
blog windows server 2016 GA LS

Last updated on March 30th, 2023 at 05:15 pm

Read Time:42 Second

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:

Uninstall-WindowsFeature User-Interfaces-Infra

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:

Install-WindowsFeature User-Interfaces-Infra

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.

Comments

If you have any questions or feedback on this guide, please feel free to leave us a message below in the comments section.

Click to rate this post!
[Total: 0 Average: 0]

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 564 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.