Windows Update/SFC Issue Windows 7 SP1 64 bit SFC & SFCFix unable to fix corrupt files

Yes there are, two updates: KB4474419 & KB4499164, unfortunately failed with error 8007057
 

Attachments

  • WindowsUpdateError80070057.PNG
    WindowsUpdateError80070057.PNG
    21.9 KB · Views: 2
Last edited:
Okay, I'm trying it at the moment, no, unfortunately it failed.
Do I run sfc /scannow again to get the updated cbs.log?
I ran it anyway, no security violations
 
Last edited:
No, I need the CBS.log immediately after the installation fail (as expected).

Edit: If you run SFC then you need to repeat the installation of the update because the log contents changed.
 
The first time I did a findstr /c:"[SR]" %windir%\logs\cbs\cbs.log > %windir%\logs\cbs\cbs_log_SRdetails.txt straight after the fail (prior to running SFC), it said "no security violations".
Hence the question about needing to run sfc. So I ran sfc /scannow and then it still said "no security violations". I'm re-running the installation attempt now (2nd attempt). Here's the cbs log
 

Attachments

Last edited:
I did, see post #25, the cbs.7z is straight after following steps from #22 (the second time).
Sorry if my replies seem a bit ambiguous, I'm trying to respond to you as fast and as accurately as I can
 
Last edited:
Also after I did the first install attempt I ran the command findstr /c:"[SR]" %windir%\logs\cbs\cbs.log > %windir%\logs\cbs\cbs_log_SRdetails.txt to extract the contents of the cbs.log before doing anything else, but it came up with no problems
 
Also after I did the first install attempt I ran the command findstr /c:"[SR]" %windir%\logs\cbs\cbs.log > %windir%\logs\cbs\cbs_log_SRdetails.txt to extract the contents of the cbs.log before doing anything else, but it came up with no problems

That filter only catches the result of SFC and skips other lines that we need...

Would it be worth running the WUT to see if that sheds any light on the problem?

Nope, I'm preparing another fix...
 
Lets see if this helps...

SFCFix Script

!!! WARNING !!! The following fix is only relevant for this system and no other, applying this fix on another computer will not work and most likely will cause problems...
  • Download SFCFix.exe (by Niemiro) and save it to the Desktop
  • Download the file SFCScript.txt, attached below, and save this to your Desktop
  • On your Desktop, make sure you have the two files:
    myjIXnC.png
    SFCFix.exe and
    8RAhYFg.gif
    SFCScript.txt
  • Drag the file SFCScript.txt onto the file SFCFix.exe and release it
  • The SFCFix tool will process the script
  • Upon completion, a log file SFCFix.txt should be created on your Desktop
  • Open the SFCFix.txt log and copy & paste the contents to your post
 

Attachments

SFCFix version 3.0.1.0 by niemiro.
Start time: 2019-06-02 23:49:45.089
Microsoft Windows 7 Service Pack 1 - amd64
Using .txt script file at C:\Users\Dave\Desktop\SFCScript.txt [0]




RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\ComponentDetect\amd64_microsoft-windows-security-schannel_31bf3856ad364e35_0.0.0.0_none_a20edc3f55ca842d.

WARNING: Failed to create backup for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\ComponentDetect\amd64_microsoft-windows-security-schannel_31bf3856ad364e35_0.0.0.0_none_a20edc3f55ca842d.

Successfully imported registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\ComponentDetect\amd64_microsoft-windows-security-schannel_31bf3856ad364e35_0.0.0.0_none_a20edc3f55ca842d.

Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\ComponentDetect\amd64_microsoft-windows-security-schannel_31bf3856ad364e35_0.0.0.0_none_a20edc3f55ca842d.
RegistryScript:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.1.0 by niemiro has completed.
Currently storing 23 datablocks.
Finish time: 2019-06-02 23:49:45.181
Script hash: yXFEnfEWgOkWZDnIyhGywncEiLFsvk+RjgWx9MJX/A8=
----------------------EOF-----------------------
 
Ok, Repeat the steps from post #22.


I have to go now I will check your post tomorrow...
 
Sorry, that didn't work. Repeated steps in #22 here's the files attached
It's 12:30pm now and I'm getting up for work in 5 hours, I'll be back on here 6:30pm UK time tomorrow
 

Attachments

  • KB4474419_failed.PNG
    KB4474419_failed.PNG
    56.6 KB · Views: 1
  • CBS.7z
    CBS.7z
    671.2 KB · Views: 3
I need to see updated copies of the registry...

Retrieve the Components Hive
  1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file
  2. Please copy the COMPONENTS 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. If file will is too large to upload to the forum please share the file using a service like Dropbox, OneDrive, Google Drive, or upload to www.sendspace.com and just provide the link for the file here

Export Registry Hive (CBS)
  • download the script ExportCBSRegistry2.cmd and save it to the Desktop
  • right-click the file ExportCBSRegistry2.cmd and select Run as administrator
  • when the script ends a new file called SoftwareCBS.zip will be located on the Desktop
  • If the zip file is too large to upload to the forum please share the file using a service like Dropbox, OneDrive, Google Drive, or upload to www.sendspace.com and just provide the link for the file here

Export Registry keys (SBS)
  • download the script ExportSbSRegistry.cmd and save it to the Desktop
  • right-click the file ExportSbSRegistry.cmd and select Run as administrator
  • when the script ends a new file called SoftwareSBS.zip will be located on the Desktop
  • If zip file is too large to upload to the forum please share the file using a service like Dropbox, Google Drive, etc. or upload to SendSpace and just provide the link for the file here
 
Hi,

Lets try another fix to see if this reduces the number of errors...

SFCFix Script

!!! WARNING !!! The following fix is only relevant for this system and no other, applying this fix on another computer will not work and most likely will cause problems...
  • Download SFCFix.exe (by Niemiro) and save it to the Desktop
  • Download the file SFCScript.txt, attached below, and save this to your Desktop
  • On your Desktop, make sure you have the two files:
    myjIXnC.png
    SFCFix.exe and
    8RAhYFg.gif
    SFCScript.txt
  • Drag the file SFCScript.txt onto the file SFCFix.exe and release it
  • The SFCFix tool will process the script
  • Upon completion, a log file SFCFix.txt should be created on your Desktop
  • Open the SFCFix.txt log and copy & paste the contents to your post
 

Attachments

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

Back
Top