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:
 
http://blog.ittoby.com/2013/01/add-gui-to-server-core-2012-and.html
 
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:
 
http://community.spiceworks.com/topic/365701-impossible-to-install-gui-on-server-core-2012-caveats
 
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!
 
 
 

Software Updates Synchronization Failed

From time to time the software update synchronization fails in Configuration Manager. Been looking around the web for a solution, but haven't come across anything.
 
In my particular case, these error messages appeared in wsyncmgr.log:
 
Sync failures summary:    
 
SMS_WSUS_SYNC_MANAGER    2013-10-31 11:06:04    9804 (0x264C)
Failed to sync update 359c5eeb-b7ff-447a-9986-5d6283a133f3. Error: The Microsoft Software License Terms have not been completely downloaded and cannot be accepted. Source: Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow    SMS_WSUS_SYNC_MANAGER    2013-10-31 11:06:04    9804 (0x264C)
Failed to sync update 5e174b97-938e-41b7-9428-b2f9978ddd2d. Error: The Microsoft Software License Terms have not been completely downloaded and cannot be accepted. Source: Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow    SMS_WSUS_SYNC_MANAGER    2013-10-31 11:06:04    9804 (0x264C)
Failed to sync update 87e13ecb-c669-43be-9e2a-01e567285031. Error: The Microsoft Software License Terms have not been completely downloaded and cannot be accepted. Source: Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow    SMS_WSUS_SYNC_MANAGER    2013-10-31 11:06:04    9804 (0x264C)
Sync failed: Failed to sync some of the updates. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncUpdates    SMS_WSUS_SYNC_MANAGER    2013-10-31 11:06:05    11924 (0x2E94)
STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=sccm.domain.se SITE=P01 PID=4180 TID=11924 GMTDATE=to okt 31 10:06:05.267 2013 ISTR0="Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncUpdates" ISTR1="Failed to sync some of the updates" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0    SMS_WSUS_SYNC_MANAGER    2013-10-31 11:06:05    11924 (0x2E94)
Sync failed. Will retry in 60 minutes    SMS_WSUS_SYNC_MANAGER    2013-10-31 11:06:05    11924 (0x2E94)

After googling "359c5eeb-b7ff-447a-9986-5d6283a133f3" I found out that the affected updates are Internet Explorer 10.
 
I also found this in the Event Viewer:
 
Content file download failed. Reason: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Source File: /msdownload/update/v5/eula/use_terms_supp_ie10_win7_rtm_en-us.rtf-f1a39475-6df8-45fe-848f-298e9965f6e7.txt Destination File: e:\Sources\WSUS\WsusContent\C2\4DE69528CE193088F812466D6AE27184026C58C2.txt.
 
At first I thought the two were related to eachother, but I found out later that they're not. The later error message is solved by adding NETWORK SERVICE with read permissions to the WsusContent folder.
 
As we're not running Internet Explorer 10 in our company, I solved the first problem by declining those three updates in WSUS. If anyone has a solution on getting the License Terms to download, please comment this post. The updates can be found in WSUS by sorting the updates by the Status Rollup column.
 
Cheers!
 

RSS 2.0