Windows 7 Update error 80070002

Rocko95

Member
Joined
Aug 9, 2015
Posts
5
I haven't been able to use windows update for months now, it's been driving me nuts. I also can't run the SFCfix. I let it go for like 3 hours and it never got past the first stage. I've attached the CBS log files, but I'm pretty sure I already know the issue. I have a missing registry key, or corrupted or something. Either way, the key is
HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\msil_microsoft.windows.d..ds.updatediagreport_31bf3856ad364e35_6.1.7600.16385_none_b52cef29a48aa15f
If I export the parent of this it doesn't show up in the reg file at all, but the entry is still in regedit and can't be accessed, as such
jNImh.png
I can't guess all the values that the entry is supposed to have, so I'm at a bit of a loss as to how to fix this one. Any help would be appreciated.
 
Hi and welcome to Sysnative. You have corruption in your components hive. More than just that key you reference above. Let's see if we can get you fixed up. Please do the following.

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to SendSpace and just provide the link here.
 
OK, I believe I've fixed the hive. There may be some other corruption but this should be a good start. Please do the following.

Step#1 - Replace Manually
1. Download COMPONENTS2.ZIP 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 Components2 folder on your desktop and paste it into C:\Windows\System32\config

If this is successful, please do Step#2 below.


Step#2 - System Update Readiness Tool (SUR)
1. Download and run the following file.
2. When it asks you if you wish to install, please answer yes. Note: It could take 15 minutes or more to run. Please don't cancel.
3. You will get an Installation Complete screen when it's done running.
4. Please attach the log from the following location. C:\Windows\Logs\CBS\CheckSUR.log
Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 
Excellent. Another critical one fixed. Please do the following again.

Step#1 - Replace Manually
1. Download COMPONENTS3.ZIP 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.bad2.
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 Components3 folder on your desktop and paste it into C:\Windows\System32\config

If this is successful, please do Step#2 below.


Step#2 - System Update Readiness Tool (SUR)
1. Download and run the following file.
2. When it asks you if you wish to install, please answer yes. Note: It could take 15 minutes or more to run. Please don't cancel.
3. You will get an Installation Complete screen when it's done running.
4. Please attach the log from the following location. C:\Windows\Logs\CBS\CheckSUR.log
Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 
Awesome. Your log is clean. Let's check one more log to ensure it's clear.

SFC Scan


  1. Click on the Start
    Start%20Orb.jpg
    button and in the search box, type Command Prompt
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator
  3. When command prompt opens, copy and paste the following commands into it, press enter after each

    sfc /scannow

    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt
  4. This will create a file, cbs.txt on your Desktop. Please attach this to your next post.

Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 
You are good to go. The remaining items in your log are a false/positive and will get cleaned up when the updates install. Let's give it a go. See if the updates install and let me know.
 

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

Back
Top