Method 1.
Gui-Shell –Source wim:f:\sources\install.wim:4 (If Drive is f and edition is 4 )
- Mount the Windows Server 2012 ISO to the host.
- open an administrative command prompt
- mkdir c:\mount
- ‘dism /mount-wim /wimfile:d:\sources\install.
wim /index:4 /mountdir:c:\mount /readonly - powershell (enter PowerShell prompt)
- install-windowsfeature server-gui-mgmt-infra,server-
gui-shell –restart –source c:\mount\windows\winsxs
Method 2.
The best way is to place W2012 Source file on a share (e.i \\fileserver\W2012Source)
from server core, use net use to map drive to \\fileserver\W2012Source ==> net use \\fileserver\W2012Source /persistent:yes
Then, the command prompt usind DISM to mount W2012 image file from the network drive you just mapped
then launch add-WindowsFeature again and if DISM detect the correct source file you will be able to switch to Core with GUI or Shell GUI
from server core, use net use to map drive to \\fileserver\W2012Source ==> net use \\fileserver\W2012Source /persistent:yes
Then, the command prompt usind DISM to mount W2012 image file from the network drive you just mapped
then launch add-WindowsFeature again and if DISM detect the correct source file you will be able to switch to Core with GUI or Shell GUI
Method 3.
Dism /get-wiminfo /wimfile:<drive>:\sources\install.wim
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-
No comments:
Post a Comment