[SOLVED] Error 8007312; SFC /scannow and SfcFix Both Clean

Mighty Joe

Contributor
Joined
Dec 30, 2015
Posts
310
Hi, I'm hoping you can help me. This concerns the most recent batch of updates released for Windows 7. Some successfully installed for me but the following will not: KB3164033, KB3161561, KB3161664, KB3161949, KB3160005, and KB3164035. Windows Update hangs on "downloading 0%" until I receive the error code 8007312.

SFCFix showed some corruption but after using System Restore, SFCFix and SFC /scannow both report clean as of the time I'm making this post. Yet I continue to receive the error.

My thought was to try SURT as the next step but I thought it best to consult the experts for guidance at this point so I use the proper tools in the proper order.

Thanks in advance for your prompt assistance - I really appreciate it.
 
Hi Mighty Joe. :smile9:

You already used the correct tools and I agree with you that you should now download and run SURT, then provide the usual logs to the experts (cbs and surt logs).
I think you already know how to provide the logs, given that you already did it.

:wave:
 
Hi xilolee,

Thanks for getting back to me so quickly. Below is the link to my CheckSUR showing 345 missing files:

CheckSUR.log - Google Drive

I then ran SFC /scannow and it came back clean again. Google Drive is taking forever to upload it. I can paste it if you like, otherwise I'll have to get it to you later.

I then ran SFCFix. Below is the log showing it was unable to help:

SFCFix (216-6-19 1'1'35.26).log - Google Drive

Thanks again.
 
Hi Mighty Joe - Thanks for the info. Please start with the following.

Step#1 - 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. If you still have this on your desktop from downloading previously, you don't need to re-download.
  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

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.


Items for your next post
1. SFCFix.txt
2. CheckSUR.log
 

Attachments

Thanks. Perform the following step one more time.

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.
 
Thanks. Please do the following.

Step#1 - 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. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download 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

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.


Items for your next post
1. SFCFix.txt
2. CheckSUR.log
 
That's a better error to look into. Please do the following.

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.
 
Thanks. I see the issue.

Code:
2016-06-25 18:06:46, Error                 CSI    000004ae@2016/6/25:22:06:46.736 (F) d:\win7sp1_gdr\base\wcp\componentstore\storelayout.cpp(11690): Store corruption detected in function ComponentStore::CRawStoreLayout::CheckFamilyIndexForDeadWinnerComponent expression: (null)
  MissingWinningComponentKey on resource [81]"x86_microsoft-windows-gdi32_31bf3856ad364e35_6.1.7601.23418_none_5c13807ec0ade290"[gle=0x80004005]
2016-06-25 18:06:57, Error                 CSI    000004af (F) STATUS_SXS_COMPONENT_STORE_CORRUPT #5829136# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 0[gle=0xd015001a]

Please start with the following.


Step#1 - 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. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download the file below, SFCScript.txt, and save this to your Desktop.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCScript.txt.
  5. Drag the file SFCScript.txt 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


Then repeat the steps in Post#14.
 

Attachments

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-06-25 23:04:25.706
Microsoft Windows 7 Service Pack 1 - x86
Using .txt script file at C:\Users\Joe\Desktop\SFCScript.txt [0]


RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments.
Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-gdi32_31bf3856ad364e35_6.1.7601.23418_none_5c13807ec0ade290.
Successfully imported registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\fb5d9d4ff5c..3720e47768c_31bf3856ad364e35_6.1.7601.23418_d506b3f9b65cbe54.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-windows-gdi32_31bf3856ad364e35_6.1.7601.23418_none_5c13807ec0ade290.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments\fb5d9d4ff5c..3720e47768c_31bf3856ad364e35_6.1.7601.23418_d506b3f9b65cbe54.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\COMPONENTS\CanonicalData\Deployments.
RegistryScript:: directive completed successfully.


Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 225 datablocks.
Finish time: 2016-06-25 23:04:27.032
Script hash: IMQYkU6yoJFjImEhO5/cNREbKgSfGHZmuRnVdLvNaLQ=
----------------------EOF-----------------------

Unfortunately the update would not install.
 
My apologies - see below. Also, thinking there was something clogging up my system, I ran Disk Cleanup and TFC, disconnected my external drive, restarted, and temporarily shut off my Avira, but those efforts didn't help.

Thanks.

CBS.log - Google Drive
 
Last edited:
Thanks. I need to see your registry hives. Please do the following.

Retrieve Components/Software Hives
Note: The Software have has confidential and sensitive information in it so please send me a PM with a link to that particular hive so it's not in the public form.
  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, two of which are named COMPONENTS and SOFTWARE.
  • Copy these two files to your Desktop. If the COMPONENTS file does not exist, please fetch it instead from C:\Windows\System32\config\COMPONENTS.
  • Now right click on these files on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file(s) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Dropbox or One Drive or SendSpace and then just provide the link in your reply.
  • You can close any open windows you have as well as the RegBack program now.
 
Back
Top