{"id":2474,"date":"2018-03-21T17:48:22","date_gmt":"2018-03-21T17:48:22","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2474"},"modified":"2018-09-06T23:17:57","modified_gmt":"2018-09-06T23:17:57","slug":"converting-from-server-2012-core-install-to-full-gui","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2474","title":{"rendered":"Converting from Server 2012 Core install to Full GUI"},"content":{"rendered":"<p>Windows Server 2012 Core boasts many enticing enhancements which include reducing the installation footprint, attack surface and management overhead.\u00a0 Features on Demand allows the administrator to remove roles which are not needed to help reduce the disk size required for the installation.\u00a0 By default all features are stored in the %windir%\\winsxs directory, but administrators can use the uninstall-windowsfeature &lt;featurename&gt; \u2013remove command to delete the files associated with that feature from the winsxs directory.<\/p>\n<p>If you install Server Core edition or have removed the Server-Gui-Shell feature from Windows Server 2012 and want to convert to full GUI, you have some additional tasks that you will need to perform.\u00a0 I attempted to just execute the widely published PowerShell command to convert to full GUI and received the following message.<\/p>\n<p>The installation froze for some time at this stage before showing the error message.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/00\/93\/44\/metablogapi\/7888.image_thumb_40EB89FC.png\" alt=\"image\" width=\"435\" height=\"221\" border=\"0\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"image\" src=\"https:\/\/msdnshared.blob.core.windows.net\/media\/TNBlogsFS\/prod.evol.blogs.technet.com\/CommunityServer.Blogs.Components.WeblogFiles\/00\/00\/00\/93\/44\/metablogapi\/3681.image_thumb_74474D58.png\" alt=\"image\" width=\"437\" height=\"246\" border=\"0\" \/><\/p>\n<p>Error Message:<\/p>\n<p><em>Install-WindowsFeature : The request to add or remove features on the specified server failed.<\/em><\/p>\n<p><em>Installation of one or more roles, role services, or features failed.\u00a0 The source files could not be downloaded.\u00a0<\/em><\/p>\n<p><em>Use the source option to specify the location of the files that are required to restore the feature.<\/em><\/p>\n<p><em>Error: 0x800F0906<\/em><\/p>\n<p>The error message says it cannot find the source files to perform the installation.<\/p>\n<p>I was building a new lab environment and didn\u2019t have the ability to stage the installation files on the network, but that is an option.\u00a0 My environment was inside a Hyper-V environment on my Windows 8 system, so I needed to pull the files from the disk.\u00a0 As you know the installation files are located inside the \/sources\/install.wim file.\u00a0 To get the Full GUI running, I performed the following steps:<\/p>\n<ol>\n<li>Mount the Windows Server 2012 ISO to the host.<\/li>\n<li>open an administrative command prompt<\/li>\n<li>mkdir c:\\mount<\/li>\n<li>check your wimfile to determine the correct index for the OS (mine was 4) -the command is\u00a0dism \/get-imageinfo \/ImageFile:d:\\sources\\install.wim<\/li>\n<li>\u2018dism \/mount-wim \/wimfile:d:\\sources\\install.wim \/index:4 \/mountdir:c:\\mount \/readonly<\/li>\n<li>powershell (enter PowerShell prompt)<\/li>\n<li>install-windowsfeature server-gui-mgmt-infra,server-gui-shell \u2013restart \u2013source c:\\mount\\windows\\winsxs<\/li>\n<li>Unmount Wim (dism \/unmount-wim \/mountdir:c:\\mount)<\/li>\n<li>Remove Mount Directory (rmdir c:\\mount)<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>The seventh\u00a0command will finish the installation and restart the server when complete.\u00a0 When the Install-WindowsFeature PowerShell command is executed and the server has internet access, the required files can be downloaded from Windows Update.\u00a0\u00a0 Some of these features are very large, so specifying a network location or mounting the installation WIM, using the procedure above, may be the best alternative for installing removed features.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows Server 2012 Core boasts many enticing enhancements which include reducing the installation footprint, attack surface and management overhead.\u00a0 Features on Demand allows the administrator to remove roles which are not needed to help reduce the disk size required for the installation.\u00a0 By default all features are stored in the %windir%\\winsxs directory, but administrators can [&hellip;]<\/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":[],"class_list":["post-2474","post","type-post","status-publish","format-standard","hentry","category-microsoft-windows-server-2012"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2474"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2474\/revisions"}],"predecessor-version":[{"id":2475,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2474\/revisions\/2475"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}