Windows Server GUI Core: Switching Between Server Roles

You can convert GUI to Core on Server 2012 R2, but not on 2016 to 2025. The commands, the reinstall rule and the App Compatibility alternative.

Windows Server GUI Core: Switching Between Server Roles

Switching a Windows Server between the full desktop and Server Core used to be a supported, two-command job. On current versions it is not possible at all, and a lot of older advice, including an earlier version of this page, gets that wrong. This guide sets out what you can and cannot do on each version in 2026, and the practical options if you installed the wrong one.

The short answer

  • Windows Server 2012 and 2012 R2: you can convert between Server with a GUI, Minimal Server Interface and Server Core by adding or removing features.
  • Windows Server 2016, 2019, 2022 and 2025: you cannot convert after installation. Server Core and Server with Desktop Experience are separate installation options. To change, you reinstall, choosing the other image in Setup.

Microsoft’s documentation for every release since 2016 says the same thing: unlike some previous releases, you cannot switch between Server Core and Desktop Experience once the OS is installed. The Server-Gui-Mgmt-Infra and Server-Gui-Shell features the old method relied on do not exist on these versions, so running the 2012 R2 commands simply fails.

Windows Server 2012 and 2012 R2: how the conversion works

These versions are long past end of support (October 2023), so you should only meet them on legacy systems you are planning to retire. For completeness, this is how the switch works.

GUI to Server Core

From an elevated PowerShell prompt:

Uninstall-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart

The server restarts and comes back with a command prompt instead of the desktop.

Server Core to GUI

Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart

If the feature files were removed from the server, point at the installation media:

Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Restart -Source wim:D:\sources\install.wim:2

The number at the end is the image index for the GUI edition in that WIM. Check it with Get-WindowsImage -ImagePath D:\sources\install.wim.

Minimal Server Interface

Removing only Server-Gui-Shell leaves Server Manager and MMC consoles but no Explorer or desktop. It was a halfway house that some admins liked, and it went away with 2016.

Windows Server 2016 to 2025: what to do instead

If you installed the wrong option, you have three realistic routes.

1. Reinstall with the right image

This is the only way to genuinely switch. Back up any data and configuration, reinstall, and pick “Windows Server Standard (Desktop Experience)” or the plain Server Core option in Setup. For a server that only runs one role, a rebuild is often quicker than it sounds, especially if you script the role installation. The Server Core vs Desktop Experience comparison is worth reading before you pick again.

2. Add the App Compatibility feature to Server Core

On Server Core 2019 and later you can add the Server Core App Compatibility Feature on Demand. It is not the desktop, but it adds a set of familiar tools to Core, including Event Viewer, Performance Monitor, Resource Monitor, Device Manager, Disk Management, the MMC, File Explorer and Failover Cluster Manager.

Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0
Restart-Computer

On servers with no internet or Windows Update access, download the Features on Demand ISO for your exact build and add -Source and -LimitAccess pointing at it. Our Server Core 2025 command line guide covers the other day-to-day tools you will use alongside it.

3. Manage it remotely and leave it as Core

Most of the reasons people want the desktop back are about management, not the server itself. Windows Admin Center, Server Manager on another server and RSAT on a Windows 11 PC cover nearly everything. Locally, sconfig handles the basics such as networking, domain join, updates and Remote Desktop. See managing Windows Server Core day to day for a practical workflow.

Which should you install in 2026?

Server Core is the better choice for infrastructure roles that are managed remotely: domain controllers, DNS, DHCP, file servers, Hyper-V hosts and IIS. It has a smaller footprint, fewer updates that need a restart and less for an attacker to work with.

Desktop Experience still makes sense for Remote Desktop Session Hosts, for servers running third-party software that needs a GUI, and in small environments where admins are more comfortable at the console. Since you cannot change your mind later, check that every agent, backup tool and line-of-business application you plan to run supports Server Core before you commit.

One thing that has not changed: licensing is the same for both. Standard and Datacenter editions each include Core and Desktop Experience, so the choice is purely technical.

FAQ

Can I convert Windows Server 2025 Core to Desktop Experience?

No. Windows Server 2025 follows the same rule as 2016, 2019 and 2022. You need to reinstall and choose the Desktop Experience image.

Will an in-place upgrade switch between Core and the desktop?

No. An in-place upgrade keeps the installation type. A Core server upgrades to Core and a Desktop Experience server upgrades to Desktop Experience.

I upgraded a 2012 R2 GUI server to 2016. What did I get?

You keep Desktop Experience. Upgrading a 2012 R2 server that was in Server Core or Minimal Server Interface mode is where it gets messy, so convert it to the full GUI before you upgrade or, better, build a new server and migrate the roles.

🛠️

Gear We Recommend

Running this in a home lab? Here’s the gear that keeps our test environment reliable.

Browse our Home Lab Essentials picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Intune, Active Directory, PowerShell and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published 770+ practical guides to real-world IT problems. He also builds free Windows utilities, including Ultimate Settings Panel, which has been downloaded over 850,000 times.

Part of The Geek Network