PowerShell: Install/Enable/Switch From Windows Server Core Mode To Server Desktop GUI

PowerShell

Purpose: Install/enable Windows Server 2012 R2 Server Core to switch to full desktop experience

Run the following Install-WindowsFeature command in an elevated privilege PowerShell window using an account with local administrator privileges:

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

Notes:
If the -Remove switch was previously used to delete the binary files from the WinSXS folder, the Windows source files will need to be specified to re-enable the GUI.

This feature was removed from Windows Server 2016 onward. Refer to this article for more information: Switching between Windows Server 2016 Server Core and Desktop Experience – Microsoft Windows Server Blog

Reference:
Install-WindowsFeature (ServerManager) | Microsoft Docs

Related:
PowerShell: Uninstall/Disable/Switch From Windows Server Desktop GUI To Server Core Mode – CodeCentral.com

Leave a comment