Solved

Windows Server 2012 Core GUI Install Fails

Posted on 2013-05-09
4
4,589 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
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
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…

713 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