[SOLVED] Windows Update is not functioning (Code 8007370A), SFCFix is unable to fix corruption

Alotty

Member
Joined
Jul 8, 2016
Posts
16
Hey,

I am new around here, yet I hope you are willing to help me anyway. Just as heads-up:
I'm Dutch, so any error message I get on my system I'll try to translate to the best of my abilities.

A user on SevenForums advised me to ask around on this forum for help with solving the issues I'm experiencing with Windows Update; said user believed that the corruption affecting my installation is too deep rooted for him to handle.

Windows Update is not functioning (Code 8007370A) - Windows 7 Help Forums
This is the thread I posted on SevenForums which details the steps we had taken to resolve the problem. I'll post the same summary of the problems I have experienced thus far below.

Last year I ran into a problem which involved a group of Windows updates not installing correctly; some of them would fail outright and others would at first glance install correctly but reappear (in the list of scheduled updates) upon restarting the PC. Over time the trouble with Windows Update intensified; my list of installed updates started showing up as empty, updates started failing more often when trying to install them, and nowadays I can no longer even search for updates. I've tried numerous methods to resolve the issues, but none of them have worked thus far.

I'll just go by the instructions posted here one by one:

1. I've tried several times to use the System Update Readiness Tool and although each time it seemed to have installed itself correctly, it has yet to fix the problems I'm having with Windows Update.

2. I am unable to normally use sfc /scannow, whenever I try do it in normal mode I get the message that the requested application can not be started. I have managed to use sfc /scannow while running in safe mode, it started up as it is supposed, it found corrupt files, it fixed several of said files, but unfortunately Windows Update remains broken.

(2. Addendum: A short time ago, while searching on the internet for a solution, I came across several posts which suggested that an inability to use sfc /scannow (while running in normal mode) could indicate a failing harddrive. While I didn't seem to be suffering most of the problems commonly found with bad/failing HDDs, I decided to run chkdsk anyway. I scheduled a full disk check ("chkdsk /f /r C:") and although it took quite a while, it found no bad sectors and it did not fix Windows Update.)

3. The error code I'm getting when trying to search for updates is "Code 8007370A - An unknown error occurred in Windows Update".

The person that tried to help me before told me to use SFCfix.exe as I am currently unable to make use of sfc /scannow, wether I'm running my PC in normal or safe mode.
Here are the results of SFCfix:
SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-07-08 00:52:23.278
Microsoft Windows 7 Service Pack 1 - amd64
Not using a script file.




AutoAnalysis::
WARNING: Unicode Registry Corruption Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..inboxgames-freecell_31bf3856ad364e35_6.1.7600.16385_none_b466b741b68bd2<a
WARNING: Unicode Registry Corruption Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..iuminboxgames-chess_31bf3856ad34e35_6.1.7600.16385_none_d0c99374981840d5
WARNING: Unicode Registry Corruption Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..l-inboxgames-hearts_31bf3856ad364e35_6.1.7600.1385_none_4ffeefd67d89d45b
WARNING: Unicode Registry Corruption Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-s..nboxgames-cardgames_31bf3856ad364e35_6.1.7600.1385_none_9888c15ccd6f74c7
WARNING: Unicode Registry Corruption Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\amd64_microsoft-windows-snmp-winsnmp-api_31bf3856ad364e35_6.1.7601.17514_none_3e73280d941fcaf
FAILED: Could not repair missing store directory C:\Windows\winsxs\amd64_microsoft-windows-cdosys.resources_31bf3856ad364e35_6.1.7601:17514_en-us_be70d05ad88f9345 with error code 0x10B.




SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
CBS & SFC total detected corruption count: 1
CBS & SFC total unimportant corruption count: 0
CBS & SFC total fixed corruption count: 1
SURT total detected corruption count: 22
SURT total unimportant corruption count: 0
SURT total fixed corruption count: 0
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2016-07-08 00:55:57.412
----------------------EOF-----------------------

I have attached the CBS.zip file to this post.
My system specifications, should you need them:
Computer type: Desktop/PC.
OS: Windows 7 Home Premium SP1.
CPU: Intel i5-2500k CPU.
Motherboard: ASUS P8P67.
Memory: 8.0GB RAM.
Graphics card: NVIDIA Geforce GTX 970.
Harddrive: SAMSUNG HD103SJ ATA.
Antivirus: Avira (before that I used Norton).
Browser: Google Chrome.
----------------------------------------------

With that all said and done, I really hope you are able to help me resolve the issues I'm having and I am grateful for any time you are willing to invest in doing so.
 

Attachments

Hello and Welcome!

These types of detections tend to indicate a memory problem. Have you recently replaced bad RAM in your machine?

I'll need to take a look at the components hive. Please manually upload the components hive by following these instructions:

Upload Components Hive
  1. Navigate to C:\Windows\System32\config
  2. Right-click on the current COMPONENTS file and select copy
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  3. Right-click on your Desktop and select paste
  4. Right-click on the COMPONENTS file on your Desktop and select Send To -> Compressed (zipped) Folder
  5. Upload the zip from your Desktop to a file sharing service such as DropBox, OneDrive, SendSpace, etc. and include the link with your reply.
 
I've made some repairs. Let's replace the hive and then check it for additional problems with SURT.

Step 1 - Replace Components Hive Manually

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download COMPONENTS.ZIP from my last post and save to your desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config


System Update Readiness Tool (SURT)

Download and run the System Update Readiness Tool for your version of Windows here: System Update Readiness Tool

NOTE: If you aren't sure if your Windows installation is 32-bit or 64-bit, check here: How to determine whether a computer is running a 32-bit version or 64-bit version of the Windows operating system

This tool will take some time to complete - when it has finished, attach C:\Windows\Logs\CBS\CheckSUR.log with your reply.
 
Thank you for the repaired file, but should I remove COMPONENTS.bad?

I'll be running SURT in a moment.
 
Hold on to the bad components hive for a while, it is your backup.

Once it has been confirmed that the fix was successful, then it can be deleted. :)
 
Looks like there was one more.

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.

View attachment SFCFix.zip

When SFCFix has completed, run SURT again.
When SURT has finished, attach C:\Windows\Logs\CBS\CBS.log with your reply.
 
Here's the SFCFix.txt and the CheckSUR log.

Code:
SFCFix version 3.0.0.0 by niemiro.Start time: 2016-07-11 21:25:02.321
Microsoft Windows 7 Service Pack 1 - amd64
Using .zip script file at C:\Users\Thomas\Desktop\SFCFix.zip [0]








RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-ime-eashared=ccshared_31bf3856ad364e35_6.1.7601.17514_none_d8216ed3d8746200.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-ime-eashared-ccshared_31bf3856ad364e35_6.1.7601.17514_none_d8216ed3d8746200.


Successfully deleted registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-ime-eashared=ccshared_31bf3856ad364e35_6.1.7601.17514_none_d8216ed3d8746200.
Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-ime-eashared-ccshared_31bf3856ad364e35_6.1.7601.17514_none_d8216ed3d8746200.


Failed to open registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-ime-eashared=ccshared_31bf3856ad364e35_6.1.7601.17514_none_d8216ed3d8746200 with error code ERROR_FILE_NOT_FOUND.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-ime-eashared-ccshared_31bf3856ad364e35_6.1.7601.17514_none_d8216ed3d8746200.
RegistryScript:: directive failed to complete successfully.








Failed to process all directives successfully.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 3 datablocks.
Finish time: 2016-07-11 21:25:02.804
Script hash: /n0vU8Q0hw1l0L6RWPADaUDIxx+9xb/pZenHcVxqHN4=
----------------------EOF-----------------------

SFCFix seems to have found an error, yet CheckSUR doesn't. It that normal?
 

Attachments

The error is expected, since SFCFix cannot restore permissions on a deleted key.

You are correct, SURT did not find any problems :thumbsup2:

Please check for Windows Updates and attempt to install any that are offered.

If installation of an update fails, copy C:\Windows\Logs\CBS\CBS.log to your Desktop, then zip and attach it with your reply.
If the zip is larger than 8MB, please use a file sharing service such as OneDrive, DropBox, SendSpace, etc. and include the link.
 
Okay, I'm currently running Windows Update; checking for updates and so far it's not given me Code 8007370A yet, I consider that an improvement.

Aside from the aforementioned possibility of bad RAM, what do you think could have caused this corruption of Windows Update/SFC/COMPONENTS?

Edit: Oh wow, Windows Update is now able to recognize all of the updates that were installed prior to the file corruption, the list used to be empty. I'm actually starting to get my hopes up.
 
Dammit, got Code 8007370A while Windows Update was searching for updates.

Edit: I am getting access denied while trying to open CBS.log.
 
Okay, I'm no longer getting Code 8007370A. In fact, it says "New Updates Available", yet it doesn't show which updates when I open the Windows Update menu, it keeps searching for updates.

CheckSUR has also been acting unusual; it spends hours searching for updates installed on my PC until it finally starts to install the hotfix.
 
Another update (sorry for the repeated bumping of the thread).
Windows Update has finally finished searching for updates. It has downloaded 134 important updates and 6 optional updates, all of which are supposedly ready for installation.

Any time I try to install a couple of the updates (doesn't matter which) the installation fails and I get the following error codes: Code 80246007, Code 80070002.

Here is the CBS.log you asked for in case Update installation were to fail.
https://1drv.ms/u/s!Ak4L_sUqIAHJgQXEXcB4rv7yu5UN
 
Let's try resetting the Windows Update components.

Run Windows Repairs
  1. Download Windows Repair (All-in-One) Portable to your desktop.
  2. Once the file is downloaded, right-click on the file on your desktop and choose Extract All...
    Extract.JPG
  3. Keep the defaults and click the Extract button.
  4. A folder named tweaking.com_windows_repair_aio will be extracted to the desktop. Once the extraction is complete the folder will open.
  5. Inside this folder, there is a folder named Tweaking.com - Windows Repair. Open this folder as well.
    Capture.JPG
  6. Double-click on Repair_Windows.exe to open. Note: Please make sure all of your programs are closed and anything you were working on is saved as we will be rebooting.
  7. When the program opens, click the Reboot to Safe Mode button at the bottom of the screen. Answer Yes to allow.
  8. Once rebooted into Safe Mode, open the program again. When the program opens, click the Repairs tab and click the Open Repairs button.
  9. A backup of your registry will be made. After a few moments you will have many options from which you can choose.
  10. Please click the Unselect All button and then click to enable only the following ones:


    17 - Repair Windows Updates
  11. Ensure the Restart check box is selected and click the Start Repairs button in the lower right of the screen. This may take some time to run so be patient.
  12. StartRepairsWithReboot.JPG
  13. Once the fixes are complete you will be prompted to restart your machine. Answer Yes.

Once the computer is back at the desktop, start Windows Update and choose Check for Updates.
This check will take much longer than usual, please be patient.

Once the check is complete (if successful) attempt to install 1 update. If update installation fails, zip and attach CBS.log with your reply.
 
I ran Windows Repair on restarting my computer seemed significantly slower than usual. I restarted my PC again and this time it seemed to load quicker; I ran Windows Update to search for updates and it almost instantaneously returned an error. Now I'm letting Windows Update serch for updates again and it has yet to return an error.
 

Attachments

By the way, the "Get Windows 10" icon appeared on my taskbar sometime after restarting; it hasn't appeared on this PC before. I was hoping to upgrade to Windows 10 once the Windows Update trouble has subsided, but when I click on the icon it says "unfortunately this PC is unable to run Windows 10"; I am to click on "View report" for more details, yet when I do so I'm told that "This report isn't available right now".

Should I be concerned about this, or is this something that will clear itself up once Windows Update has been fixed?
 
Alright, Windows Update found a bit over 130 updates. After selecting only 1 of them it successfully installed the update; it was getting late however so I made the PC shutdown and as a result it proceeded to install all of ~130 updates it had downloaded beforehand. Upon restarting my PC I got the impression said updates were all installed successfully.

Basically, it seems that Windows Update is fully functional once more, thanks to your expertise.

Unfortunately, the problem with "Get Windows 10" I mentioned in my previous post seems to persist. Would you know what I could do about this?
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top