Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Windows Server 2012 Core GUI Install Fails

Posted on 2013-05-09
4
Medium Priority
?
5,071 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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

571 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