[SOLVED] Dealing with Error 80070246 and can't run sfc

kluvlaw

Member
Joined
Apr 21, 2016
Posts
8
I've tried every recommended fix I could find on the internet over the last month (install disk, fixit countless times, memory checks, virus/malware scans, sfcfix, update readiness tool, Microsoft's instructions, windows update standalone package, tweaking.com's windows repair, assorted safe mode fixes, etc...) and so I'm turning to this forum b/c I am stumped and don't want to reinstall my OS, if I can avoid it.

I built my system a few years ago and first encountered a similar issue last year and eventually traced the problem back to a defective stick of ram (while trying to update to Windows 10). No defective ram now; it was replaced. Long story short, I cloned an ssd drive and updated the clone to Windows 10; the new drive went into a locked state (samsung 850 pro,
icon9.png
) and now I'm using the original ssd I cloned. It worked fine for a while, but starting about a month ago I can't update windows. No idea if this background is the source of the problem or coincidence.

I'm running Windows 7 pro, 64 bit. Any help would be greatly appreciated.

I've attached the CBS.zip file. Also, below is the info copied from the sfxfix.txt file:

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-04-21 20:25:47.823
Microsoft Windows 7 Service Pack 1 - amd64
Not using a script file.








AutoAnalysis::
WARNING: Unicode Registry Corruption Detected: HKEY_LOCAL_MACHINE\COMPONENTS\DerivedData\Components\x86_microsoft-w‰ndows-s..ib2-extension-agent_31bf3856ad364e35_6.1.7600.16385_noe_90b28cc3744c1745






SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
CBS & SFC total detected corruption count: 0
CBS & SFC total unimportant corruption count: 0
CBS & SFC total fixed corruption count: 0
SURT total detected corruption count: 7
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 2 datablocks.
Finish time: 2016-04-21 20:26:19.444
----------------------EOF-----------------------
 

Attachments

Hi and welcome to Sysnative. Sorry for the delay. The bad RAM that you previously had caused some corruption in your registry. If you still need assistance, 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.
 
No problem. Please do the following. Let me know when complete.

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.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 Components2 folder on your desktop and paste it into C:\Windows\System32\config
 
Okay I replaced the components file. Tried an update and still get the same 80070246 error.
 
I wasn't ready for you to try the update yet. Next 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.
 
Sfc /scannow will not run, got the usual "WRP could not perform the requested operation" error. Also won't run "copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt" and says the "syntax of the command is incorrect." I went to the c:\windows\logs folder and copied the attached file to the desktop.

The CBS file is a .txt file on my desktop shows .log file extension. I don't know if that will cause you a problem. If so, let me know and I'll try another method or send as a .zip.
 

Attachments

Thanks. Where there is one corruption there is usually more. The following keys are corrupt.
Code:
x86_microsoft-windows-r_.ion-detector-events_31bf3856ad364e35_6.1.7600.16385_none_9e1cfb95ab609061
x86_microsoft-windows-s..ib1-extension-agent_31vf3856ad364e35_6.1.7600.16385_none_e519dab4ab6aa555

I've fixed these so please repeat the instructions with the below file.

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.bad3.
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

Step#2 - 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.
 
Newest CBS file is attached. I experienced errors and results identical to the last round.
 

Attachments

I found one more corrupt key that the bad memory likely caused. They are very tricky to find. Let's see where this gets you.

Code:
x86_microsoft-w‰ndows-s..ib2-extension-agent_31bf3856ad364e35_6.1.7600.16385_noe_90b28cc3744c1745

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

Step#2 - 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.
 
​Okay thanks to your efforts and patience, we have some progress; I think I shed a tear when I realized the scan was running. And no more syntax error, the CBS file was copied to the desktop.

The message after the scan said WRP found some corrupt files but was unable to fix them.
 

Attachments

Excellent! Looking good. A corrupt file to fix and another check.

Code:
2016-05-19 22:35:19, Info                  CSI    0000035b Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-sethc_31bf3856ad364e35_6.1.7601.17514_none_c0e644688bbad892\sethc.exe do not match actual file [l:18{9}]"sethc.exe" :
  Found: {l:32 b:2wbDU0lk4/x50nYxRLpTdC1/olDKM29KD+ckt1qv84Y=} Expected: {l:32 b:3ZS/c/DjZSt2z7d0tBnOqiCCvH8wzDTijfpRlS+pzLU=}
2016-05-19 22:35:19, Info                  CSI    0000035c [SR] Cannot repair member file [l:18{9}]"sethc.exe" of Microsoft-Windows-sethc, Version = 6.1.7601.17514, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch

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 - 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.

Step#3 - 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. CBS.txt
3. CheckSUR.log
 

Attachments

Okay, I have windows update giving me alerts and the files can be downloaded. I have not done it b/c I want to finish up since we're making so much progress.

1) Here is the SFCFix.txt:

SFCFix version 3.0.0.0 by niemiro.
Start time: 2016-05-21 12:17:19.507
Microsoft Windows 7 Service Pack 1 - amd64
Using .zip script file at C:\Users\Kluvlaw Hub\Desktop\SFCFix.zip [0]








PowerCopy::
Successfully took permissions for file or folder C:\Windows\Winsxs\amd64_microsoft-windows-sethc_31bf3856ad364e35_6.1.7601.17514_none_c0e644688bbad892\sethc.exe


Successfully copied file C:\Users\Kluvlaw Hub\AppData\Local\niemiro\Archive\Winsxs\amd64_microsoft-windows-sethc_31bf3856ad364e35_6.1.7601.17514_none_c0e644688bbad892\sethc.exe to C:\Windows\Winsxs\amd64_microsoft-windows-sethc_31bf3856ad364e35_6.1.7601.17514_none_c0e644688bbad892\sethc.exe.


Successfully restored ownership for C:\Windows\Winsxs\amd64_microsoft-windows-sethc_31bf3856ad364e35_6.1.7601.17514_none_c0e644688bbad892\sethc.exe
Successfully restored permissions on C:\Windows\Winsxs\amd64_microsoft-windows-sethc_31bf3856ad364e35_6.1.7601.17514_none_c0e644688bbad892\sethc.exe
PowerCopy:: directive completed successfully.








Successfully processed all directives.
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 3 datablocks.
Finish time: 2016-05-21 12:17:20.194
Script hash: jHF7/Pc7I8pLiQhbgVG1NkB3JjeHiMYZ13+BHH11V5g=
----------------------EOF-----------------------


2) CBS file size exploded to almost a GB from 700k, so I had to zip it and upload to Dropbox; link: Dropbox - cbs.zip.

3) CheckSUR.log is attached. It looks good.
 

Attachments

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

Back
Top