Security & Vulnerability Researcher / Professional Penetration Tester

Windows 7 ESU Analysis

The Windows 7 free security update window closed to consumers in January of 2020. However, due to the overwhelming popularity of the OS, Microsoft began offering Extended Security Updates (ESU) for the Operating System. The first update preparing a Windows 7 system for this next phase of patches is KB4528069. This post dissects the KB4528069 update to understand how ESUs differ from standard Windows 7 updates.

Important: You must obtain an ESU license to apply ESU updates. Details on obtaining an ESU license can be found here. This research was completed for security vulnerability research purposes only following the Microsoft Legal Safe Harbor Terms. Do not try to reproduce without having the required licenses.

Preparing The Computer

To start, I deployed a brand new VM of 64-Bit Windows 7 SP1, resulting in a build from November 19th, 2010 (101119).

Next, I started checking for updates. This resulted in 182 updates on the first scan.

Some of the updates would not install without manually installing KB4474419 (SHA2 update), KB4490628 (Service Stack update), and KB3138612 (Windows Update Client update).

After many update cycles and reboots, 10 years of updates have been applied.

Finally, no more updates are available, bringing the build to January 2nd, 2020 (200102).

For good measure I also ran disk cleanup to remove 8 GB of excess files.

Installing KB4528069

Next, I downloaded and tried to install KB4528069 (Verify Computer Is Ready To Receive Extended Updates). But this fails.

So, I reverted the VM, started up ProcMon, and traced the installation of this update.

Manifest File

The first thing that I discovered within the trace was a manifest file that was being created, specifically:


The content of this file shows that it is an important file to keep on the system.

A final note on this file. If you re-examine the ProcMon capture, this file is added but NOT DELETED when the update failed. This will be important later.

Components Registry Keys

The next thing that I noticed was a couple of registry keys being created, specifically:

[HKEY_LOCAL_MACHINE\Components\DerivedData\Components\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_6.1.7602.20587_none_c8993b883659a816] “identity”=hex:4d,69,63,72,6f,73,6f,66,74,2d,57,69,6e,64,6f,77,73,2d,53,4c,43,2d,43,
6e,53,63,6f,70,65,3d,4e,6f,6e,53,78,53 “S256H”=hex:e8,4b,2d,35,da,c9,da,c4,7c,70,94,05,e4,e6,4b,00,7d,3e,9d,93,f6,b9,c4,e2,ee,79,bf,b4,cd,c0,7f,f8 “c!1208dabb65a..2207abac32f_31bf3856ad364e35_6.1.7602.20587_85098b546dfae448”=hex:

The COMPONENTS registry hive is hidden by default, so I manually mounted it to view the referenced registry key.

Navigating to the registry key shows that again, the installation step is not reverted, and the registry keys persist. Checking the ProcMon trace again reconfirms this discovery that the registry key is created, but not removed when the update fails.

This will also be important later.

SideBySide Registry Keys

Finally, the last important activity I noticed was the modification of registry keys in the Local Machine registry hive. Specifically:


Checking the registry again after the failed update, there is something different about this registry entry. It is missing.

Re-examining the ProcMon trace, we see that this key is created, and then deleted as part of the failed update.

[ HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_0e8b36cfce2fb332\6.1] “6.1.7602.20587”=hex:01

The other key that is being set during the patch installation is the Default @ value, which temporarily switches to the new build number and then reverts to the old value.

Manually Flipping SideBySide Registry Keys

So now that we know the SideBySide registry key switch gets reverted, I manually switch it back to the value KB4528069 is trying to set it to.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..edsecurityupdatesai_31bf3856ad364e35_none_0e8b36cfce2fb332\6.1] @=”6.1.7602.20587” “6.1.7602.20587”=hex:01

And now if I try to install KB4528069 again…

The update completes successfully!

Bringing Windows 7 Up To Date

It is one thing to install a silly update that verifies eligibility. It is another to get additional updates to install. First, I grab the latest SSU from April and try to install it.

This installs successfully. Next, I try to install the latest cumulative update from April.

This appears to install successfully. However, we will not know if it works until after the reboot. From Microsoft’s Known Issues section in the February Cumulative Update:

After installing this update and restarting your device, you might receive the error, “Failure to configure Windows updates. Reverting Changes. Do not turn off your computer,” and the update might show as Failed in Update History.

This is a sign that there are issues with the current ESU configuration. However, when we reboot, there are no errors, and the OS build date has successfully increased to March 30th, 2020


What I learned from dissecting this update was that there are 3 important parts to the installation of KB4528069: The manifest file, the Components registry keys, and the SideBySide registry keys. However, 2 of the 3 required parts do not revert upon a failed update. Therefore, to get the update to install properly:

  1. Attempt to install KB4528069 and let it fail.
  2. Flip the SideBySide registry key to use the newer SideBySide version.
  3. Attempt to install KB4528069 and it should succeed.

After this, the latest servicing stack update and the latest cumulative update can be installed without issue.

Note: Windows Update will not detect available updates unless a valid key has been activated, regardless if the latest servicing stack and cumulative updates have been installed.

Update 2020-09-12

The September 2020 Cumulative update breaks this technique and it does not install successfully. For an updated workaround, see this post: Windows 7 ESU Analysis Updates

Update 2021-08-09

Support for 32-Bit operating systems has been verified. Links to relevant registry settings and the manifest file have been added.


The various files and registry keys used as part of this analysis have been uploaded to GitHub here. See below for specific files and links referenced.

KB4528069 x64

KB4528069 x86

Manifest File x64

Manifest File x86

Components Registry Key x64

Components Registry Key x86

SideBySide Registry Key x64

SideBySide Registry Key x86

buy me a coffee