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

git for Windows: notes from the field

Git for Windows

Linux command: Check Current Shell

What is your current shell ?

RHEL: Install MySQL

[tuyendq@DangQuocTuyen ~]$ sudo yum list mysql Loaded plugins: product-id, search-disabled-repos, subscription-manager Error: No matching Packages to list [tuyendq@DangQuocTuyen ~]$ sudo yum install mysql Loaded plugins: product-id, search-disabled-repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package mariadb.x86_64 1:5.5.60-1.el7_5 will be installed --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.60-1.el7_5 for package: 1:mariadb-5.5.60-1.el7_5.x86_64 --> Running transaction check ---> Package mariadb-libs.x86_64 1:5.5.60-1.el7_5 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================= Package Arch Version Repository Size ================================...