Solved

Windows Server 2012 Core GUI Install Fails

Posted on 2013-05-09
4
4,378 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
  • 3
4 Comments
 
LVL 8

Expert Comment

by:jbvernej
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Found answer on my own
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
OfficeMate Freezes on login or does not load after login credentials are input.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now