Unable to install GUI on Windows Server Core
I've been trying to install GUI on a Windows Server 2012 R2 Core with the following command:
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart
But it keeps failing at 68%!
After a lot of googling around, I found this page:
It states that GUI cannot be added because the server cannot access Microsoft Update. Looking at %SystemRoot%\windowsupdate.log it shows me that the server is trying to contact our local WSUS for updates, which does not have the appropriate updates needed to add the GUI.
So I created a GPO which disables WSUS and put the server in the OU where I linked the GPO. Ran gpupdate and made sure that WSUS was disabled.
"Computer Configuration->Policies->Administrative Templates->Windows Components->Windows Update" and change "Specify intranet Microsoft update service location" to "Disabled". This will revert it to Microsoft.
Also, to speed up the install, I used the WIM-file from the operating system DVD as a source, mentioned on this page:
dism /get-wiminfo /wimfile:d:\sources\install.wim
dism /mount-wim /wimfile:d:\sources\install.wim /index:<n> /mountdir:c:\mountdir /readonly
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Restart -Source c:\mountdir\windows\winsxs
dism /unmount-wim /MountDir:C:\mountdir /discard
Hope this helps someone else out there!
Cheers!
Kommentarer
Trackback