cannot install features server-gui-mgmt-infra, server-gui-shell on Windows Server 2012
-
Tuesday, January 15, 2013 7:52 AM
Hello,
I have a .vhdx file which is installed as a Windows Server 2012 ServerDataCenterCore, and I want to install GUI on it.
I mount an ISO and run "dism /get-wiminfo /wimfile:E:\sources\install.wim" to get the information of install.wim. Since my offline VHDX has ServerDataCenterCore installed, I think I should choose ServerDataCenter (index:4) edition to install the Server-Gui-* features.
I try to use the install.wim directly, so I run install-windowsfeature server-gui-mgmt-infra, server-gui-shell -vhd 'C:\test.vhdx' -source 'wim:E:\sources\install.wim:4'. Unfortunately, I get stuck at 45% and fail with error 'the source files could not be found':
But if I mount the install.wim first and then run install-windowsfeature server-gui-mgmt-infra, server-gui-shell -vhd 'C:\test.vhdx' -source C:\mountdir\windows\winSxS, I can finish the installation successfully.
More, I try some other features, like ADLDS. Strangely, I can install them successfully using the WIM directly.
Why cannot I install the Server-Gui-* features using WIM directly? Have I done something wrong?
Best,
Ross.
- Edited by Ross Gao Tuesday, January 15, 2013 7:53 AM
All Replies
-
Thursday, January 17, 2013 6:06 AMModerator
Hi,
I would like suggest you go through the below two similar threads for more information:
PowerShell to Add GUI to Server Core (ServerCore-FullServer)
Conversion Between Windows Server 2012 Installation Options
http://www.ms4u.info/2012/07/conversion-between-windows-server-2012.html
Regards,
Cataleya Li
TechNet Community Support- Marked As Answer by Yan Li_Microsoft Contingent Staff, Moderator Monday, January 21, 2013 2:21 AM
- Unmarked As Answer by Ross Gao Tuesday, January 22, 2013 7:31 AM
-
Tuesday, January 22, 2013 8:11 AM
Hi Yan,
Thanks, they are close, but not what I need.
The second thread is right my workaround. I have tried to install the features using a mounted install.wim and I succeeded.
But if I use a .wim without mounting it, I will fail sometime.
For example,
If I run install-windowsfeature server-gui-mgmt-infra -vhd 'C:\test.vhdx' -source 'wim:E:\sources\install.wim:4, It fail with error 'the source files could not be found'
But if I run install-windowsfeature ADLDS -vhd 'C:\test.vhdx' -source 'wim:E:\sources\install.wim:4, it works fine.
Best,
Ross


