Windows 7 Update Failed on Multiple attempts [closed]

I have been unsuccessful in installing Security Monthly Quality Rollup for Windows 7. Here are errors for windows update history log.

Windows Update Failed

I also get the following message on failed bootup.

enter image description here

Based on some of the online information I have tried clean boot on windows 7 followed by an attempt to install the Security Monthly Quality Rollup.

As suggest by my online research I have run the windows update troubleshooter. Here is the output from the windows update troubleshooter.

Troubleshooter complete

Below is the output from setupact file. There are fair amount of CreateFileW failed entries in the file. Not sure if this is relevant.

2018-05-13 08:06:22, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-13 09:45:38, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-13 11:07:48, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-13 13:24:34, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-13 14:32:25, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-13 20:34:18, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-13 23:51:25, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-14 07:34:19, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-14 20:55:03, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002
2018-05-15 06:05:47, Info                  DPX    CreateFileW failed, FileName:\\?\C:\Windows\SoftwareDistribution\Download\a350a656b9d7be6324a86529cf4b81f0\$dpx$.tmp\job.xml, Error:0x80070002

Below is link to cbs.log file bottom to up.

  • CBS.log
  • CBS.log Sorted by CBS_E string
  • CBS.log sorted by HRESULT string

I am yet to find success

Question: Has anyone on this forum encountered similar issues? If so some guidance on resolve this issue?

[Edited] Resolution: Review CBS log. Rebuilt the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network{4aa6e004-e325-11ce-bfc1-080023410318} tree structure and the config register binary variable

References:

  • Rerun failed Windows Update
  • “Failed to Configure” restart loop with Windows 7 Updates
  • Strange Windows 7 Security Monthly Quality Rollup Update failure

Adding some context into the CBS and CSI might help seek a solution. Therefore the following insights and suggestion might of help.

Following are some of the services that add entries to CBS log.

  • CBS (Component Based Servicing) – Also known as the trusted installer (TRUSTEDINSTALLER.EXE), which works at the package / update level
  • CSI (Component Servicing Infrastructure) – Works at the deployment/component level
  • DMI (Driver Management and Install) – Advanced driver installation processes
  • CMI (Component Management Infrastructure) – Handles the advanced installers
  • SMI (Systems Management Infrastructure) – Used to manage registry settings
  • Kernel Transaction Manager (KTM) – Enables clients to use the transactional registry and file system

The above are discuss in greater detail in Understanding Component-Based Servicing (Understanding Component-Based Servicing). With the knowledge of the above look errors in the CBS.log

Following is a list of suggested error codes to start from:

0xf0805 CBS_E_INVALID_PACKAGE the update package was not a valid CSI update      
0xf0806 CBS_E_PENDING the operation could not be complete due to locked resources
0xf0807 CBS_E_NOT_INSTALLABLE the component referenced is not separately installable
0xf0808 CBS_E_IMAGE_NOT_ACCESSIBLE the image location specified could not be accessed
0xf0809 CBS_E_ARRAY_ELEMENT_MISSING attempt to get non-existent array element
0xf080A CBS_E_REESTABLISH_SESSION session object updated, must recreate session
0xf080B CBS_E_PROPERTY_NOT_AVAILABLE requested property is not supported
0xf080C CBS_E_UNKNOWN_UPDATE named update not present in package
0xf080D CBS_E_MANIFEST_INVALID_ITEM invalid attribute or element name encountered
0xf080E CBS_E_MANIFEST_VALIDATION_DUPLICATE_ATTRIBUTES multiple attributes have the same name

For additional information take a look at Windows Update error code list

It would be a good idea to sort some of the errors into file and post the errors instead of the complete cbs.log file.

A variant of the following command might be of helpful.

findstr/c: "CBS_E_" %windir%\logs\cbs\cbs.log>cbs_error.txt

In addition consider running Checksur (System Update Readiness) tool that might fix some errors due to corrupted files.