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

Linux command: tail

tail - output the last part of files

Linux command: printenv

printenv - print all or part of environment NAME        printenv - print all or part of environment SYNOPSIS        printenv [OPTION]... [VARIABLE]... DESCRIPTION        Print  the  values  of the specified environment VARIABLE(s).  If no VARIABLE is speci‐        fied, print name and value pairs for them all.        -0, --null               end each output line with NUL, not newline        --help display this help and exit        --version               output version information and exit        NOTE: your shell may have its own version of printenv,  which  usually  supersedes  the        version  described  here.  Please refer to your shell's documentation for d...

Windows 10: Install SuSE Linux Enterprise - SLES

With Microsoft-Windows-Subsystem-Linux feature enabled, we can install Linux distributions on Windows 10.