Solved

Windows Server 2012 Core GUI Install Fails

Posted on 2013-05-09
4
4,641 Views
Last Modified: 2013-05-28
In an attempt to minimize overhead and increase security, I installed Server 2012 as a Server Core installation.  I promoted it to the first 2012 DC in our 2003 domain, but gave up on command line and powershell when it came to configuring DNS.  I want to install the GUI interface, but the command,

Install-WindowsFeature -source:D:\sources\sxs\ Server-Gui-Shell, Server-Gui-Mgmt-Infra
bombs out after 68% complete with the following:

Install-WindowsFeature : The request to add or remove features on the
specified server failed.
Installation of one or more roles, role services, or features failed.
The source files could not be downloaded.
Use the "source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077. Error: 0x800f0906
At line:1 char:1
+ Install-WindowsFeature -source:D:\sources\sxs\ Server-Gui-Shell, Server-Gui-Mgmt ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature], Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand

After spending about 90 minutes on Google, this seems to be related to Windows Updates being performed after the installation, but no updates have been installed.  I wouldn't mind just starting over with a new install, but I cannot find info on how to demote this DC using just the core interface.

Thanks, in advance.
0
Comment
Question by:RAHopkinson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 8

Expert Comment

by:jbvernej
ID: 39154625
hello,

In the Install-WindowsFeature, the -SOURCE option usually refers to the path where the .WIM image file is (by default it is in \sources\install.wim on an ISO install media).
Check out the online doc on
http://technet.microsoft.com/en-us/library/jj205467%28v=wps.620%29.aspx 

Did you try to insert the DVD of W2012 Instal media in the drive and try to refer it in the command like:
install-windowsfeature -source X:\Sources\Install.WIM  ...  
 (where x: is the letter of your dvdrom drive) ?
0
 
LVL 1

Author Comment

by:RAHopkinson
ID: 39188215
Yes; in the command I used (Install-WindowsFeature -source:D:\sources\sxs\ Server-Gui-Shell, Server-Gui-Mgmt-Infra), D: is the CD-ROM drive letter, and \sources\sxs is the folder that contains the files necessary for the installation.
0
 
LVL 1

Accepted Solution

by:
RAHopkinson earned 0 total points
ID: 39192696
I wound up opening a case with MS.  Took the engineer about an hour to fix, but here are the case notes for anyone else who finds themselves in this spot:

Step 1 : Provide the ISO to the machine
With the help of CMD enter the following

Dism /Get-WimInfo /WimFile:C:\mount\install.wim

It listed all the Indexes of the installation media

Step 2:
>> Select the Index for the version that you want to install
In our case it was the Index 1 was for Server Standard Full GUI

Step 3:
After that executed the following (where D: is the drive letter corresponding to the install media)

1.open an administrative command prompt
2.mkdir c:\mount
3.‘dism /mount-wim /wimfile:d:\sources\install.wim /index:1 /mountdir:c:\mount /readonly
4.powershell (enter PowerShell prompt)
5.install-windowsfeature server-gui-mgmt-infra,server-gui-shell –restart –source c:\mount\windows\winsxs

>> Reboot the machine

Step 4:
>> Dismounted the wim

Dism /Unmount-Wim /MountDir:C:\mount /discard

Step 5:
 If you want to revert back to Server Core version
Uninstall-WindowsFeature Server-GUI-Mgmt-Infra,Server-Gui-Shell –Restart

Step 6:
If you want to go to the Minimum Shell version of 2012
Uninstall-WindowsFeature Server-Gui-Shell –Restart

NOTE: Please have a look at the article to check the compatability of the application in different versions
http://technet.microsoft.com/en-us/library/hh831786.aspx

Also, two other relevant articles:

http://blogs.technet.com/b/john_taylor/archive/2013/01/09/converting-from-server-2012-core-install-to-full-gui.aspx

http://technet.microsoft.com/en-us/library/dd744382(v=WS.10).aspx
0
 
LVL 1

Author Closing Comment

by:RAHopkinson
ID: 39200672
Found answer on my own
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question