skip to content »

norilskmc.ru

Updating windows server 2016 to r2

As Microsoft Security Essentials is not officially supported in Windows Server 2012 R2, we should expect strange and unexpected behaviour such as Windows updates failing to update it.

Recently I covered how to install Microsoft Security Essentials in Windows Server 2012 R2, however after performing a Windows update it failed to install with error 0x8004FF04.

Here I will discuss why this happens and then cover how to resolve this problem and update Microsoft Security Essentials manually.

From my experience definition updates have still been working fine through Windows update, so far I have only had a problem with this update, which is an update specifically for a newer version of the antimalware client itself.

A note to Windows 8, 8.1 or 10 users receiving this error for a Microsoft Security Essentials update: The built-in Windows Defender replaces Microsoft Security Essentials, if you have previously installed Microsoft Security Essentials but updated your operating system version it may no longer be supported and it should be safe to uninstall as Defender has taken over.

Under Compatibility mode, tick the “Run this program in compatibility mode for:” box and then select Windows 7 from the drop down menu, then click OK.

In order to install the update, we need to run it manually with these customizations in place.Windows update stores its downloaded update files in the C:\Windows\Software Distribution\Download folder with different hashes for the file names.

Essentially the update is failing to install because it is not being run in compatibility mode for Windows 7, or with the /disableoslimit flag via Windows update causing it to fail.Now if you don’t have decent restore capabilities from backups or snapshots there is another way out by removing the updates.Boot into the problematic VM and select troubleshoot Select to open the command prompt and stay away from any other auto repair options.Assuming you selected the correct file from the Windows update folder, you should be greeted with the Microsoft Security Essentials upgrade wizard as shown below, simply click the Upgrade button to proceed.Once the upgrade has completed, click the finish button to complete the process.At this point we can go back to Windows update and run a check for updates, which should now no longer list the update as available, as it is now installed.