Tip: Fix Windows Server 2012 R2 Update issues after moving to core mode

Hi Folks,

this issue happens sometimes for me, Windows Server 2012 R2 is a cool product and a couple of Administrator are using it in core mode. This is quite easy because you can switch between core and GUI mode quite simple now.

The pain starts if you have installed some Apps in GUI Mode, as example Microsoft Silverlight and than you switch to the core mode. Why? Windows can not use Silverlight in core mode and related roles/applications are not available in the core mode. When it now comes to Windows Updates it still download Silverlight related updates but this will cause in error during the update installation (the related Applications are not available…).

This is caused thru the winsxs folder and the available packages/components hold in this folder, so we need to repair it.

Just try to run the following command:

Dism /Online /Cleanup-Image /RestoreHealth

Once the command is finished the issue should be gone and Windows Update should run fine now.

Cheers

Michael

P.S.: If the issue is not gone check in c:\Windows\Logs\DISM\dism.log if you receive any other information related to the issue.