Skip to main content

Install GUI for Windows Server 2012 R2

Install PowerShell
Install PowerShell
One of our servers lost GUI after removing some roles.

Install Powershell using this command:
dism /online /enable-feature /featurename:MicrosoftPowershell /all

Run Start Powershell to start Powershell, then run this command to install GUI

Add-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra


Install GUI
Install GUI



Popular posts from this blog

Powershell: Enable Firewall Log

We sometimes need to enable Windows firewall's log to troubleshoot. Here is how.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.

[Microsoft Outlook]: Set .pst and .ost files location with ForcePSTPath Registry Key

Set .pst and .ost files location with ForcePSTPath Registry Key The ForcePSTPath registry key is supported by Microsoft Outlook 2003 and later. In Microsoft Outlook 2003 and 2007, it applies to new profiles only. Microsoft Outlook 2013 and Outlook 2016 it applies to new accounts created in a profile. Microsoft Outlook 2013 saves .pst in   %userprofile%\Documents\Outlook Files folder by default. We can change that default setting by adding a new string registry key called ForcePSTPath and set the value to the folder that we want to save those files. Set Microsoft Outlook 2013 always save new .pst and .ost files to D:\Data\Mail folder OST file reached the maximum size The OST File Has Reached The Maximum Size