{"id":2764,"date":"2014-02-09T17:36:13","date_gmt":"2014-02-09T09:36:13","guid":{"rendered":"http:\/\/rmohan.com\/?p=2764"},"modified":"2014-02-09T17:36:37","modified_gmt":"2014-02-09T09:36:37","slug":"how-to-install-and-turn-on-gui-from-command-line","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=2764","title":{"rendered":"How to Install and Turn on GUI from Command Line"},"content":{"rendered":"<h1><span style=\"font-size: 14px; line-height: 1.5em;\">What happens if you install Windows Server 2012 without the GUI features and then realize that you want to turn on the GUI? For those who are used to GUI based Windows Server administration, seeing a command line interface can be daunting. This guide will help you to go from the command line interface, using PowerShell, to installing and turning on the GUI.<\/span><\/h1>\n<div>\n<div id=\"post-6430\">\n<h2>Install the GUI on Windows Server 2012<\/h2>\n<p>The first step in this is to enter the PowerShell. At the command line prompt, just enter PowerShell and you will see something like the below:<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2765\" alt=\"Windows-Server-2012-Turn-on-GUI-PowerShell\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell.png\" width=\"679\" height=\"145\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell.png 679w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-300x64.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-150x32.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-400x85.png 400w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Windows Server 2012 \u2013 Turn on GUI \u2013 PowerShell<\/p>\n<p>The next step is to type Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra in order to get the<a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2766\" alt=\"Windows-Server-2012-Turn-on-GUI-PowerShell-Step-2\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-2.png\" width=\"679\" height=\"140\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-2.png 679w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-2-300x61.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-2-150x30.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-2-400x82.png 400w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Windows Server 2012 \u2013 Turn on GUI \u2013 Install GUI<\/p>\n<p>You will see a text based installer. This part of the Windows Server 2012 GUI installation is rather easy and there is<a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2767\" alt=\"Windows-Server-2012-Turn-on-GUI-PowerShell-Step-3\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-3.png\" width=\"689\" height=\"157\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-3.png 689w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-3-300x68.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-3-150x34.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-3-400x91.png 400w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Windows Server 2012 \u2013 Turn on GUI \u2013 Grab a Drink During Install<\/p>\n<p>Once this is complete, you do need to reboot the server before the GUI will be turned on. Unless you have something else going on that you need to shutdown first, you can shutdown \u00a0and reboot immediately with shutdown -r -t 0 as seen below:<a href=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-4-Reboot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2768\" alt=\"Windows-Server-2012-Turn-on-GUI-PowerShell-Step-4-Reboot\" src=\"http:\/\/rmohan.com\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-4-Reboot.png\" width=\"677\" height=\"288\" srcset=\"https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-4-Reboot.png 677w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-4-Reboot-300x127.png 300w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-4-Reboot-150x63.png 150w, https:\/\/mohan.sg\/wp-content\/uploads\/2014\/02\/Windows-Server-2012-Turn-on-GUI-PowerShell-Step-4-Reboot-400x170.png 400w\" sizes=\"(max-width: 677px) 100vw, 677px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>What happens if you install Windows Server 2012 without the GUI features and then realize that you want to turn on the GUI? For those who are used to GUI based Windows Server administration, seeing a command line interface can be daunting. This guide will help you to go from the command line interface, using [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2764"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2764"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2764\/revisions"}],"predecessor-version":[{"id":2770,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2764\/revisions\/2770"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}