Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do you fix corrupted files found by SFC /SCANNOW?

08 Aug 2015   #61
Auswelder

windows 7 ultimate 64bit
 
 
after running this sfc stopped working

Quote   Quote: Originally Posted by cottonball View Post
Give this a try. The file was created by kronckew, one of our colleagues. Tested it on my Laptop, and it worked!

Boot to Safe Mode.

Go to Start > All Programs > Accessories > Command Prompt
Right-click the Command Prompt, and select: Run as Administrator

At the Command Prompt, copy/paste (with the mouse) the following text inside the code box below, and press: Enter

Code:
 
@echo off
rem delete old files
del /q %windir%\logs\cbs\cbs.log
del /q c:\sfcdetails.txt
rem run sfc
sfc /scannow
rem filter out non essential junk from the cbs.log
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >c:\sfcdetails.txt 
rem open details in notepad
notepad c:\sfcdetails.txt
rem optional command to shut down & restart pc after running. this may be needed if
rem sfc replaces some critical files. uncomment (remove the 'rem') to activate.
rem shutdown -r
exit
When sfc is done, a file named sfcdetails.txt appears.
Please save the sfcdetails.txt file to the Desktop, and post it in your reply.


To run the program a second time, open the Command Prompt, right-click and select: Run as Administrator

This time, type in the following:

Code:
startsfc
Press: Enter

When done, a file named sfcdetails.txt appears once again.

Please save the file to the Desktop, as sfcdetails2.txt, and post it in your reply.
Gday, Ive not long joined this forum and was hoping someone may help me I had the same problem of sfc not being able to repair corrupted files and tried this to fix it.
After I ran this in cmd it ran but now when I use the "SFC /SCANNOW" command it runs then says SFC cannot complete . Is there anyway to fix the sfc.exe or replace the sfc files from my install disc. I have been unable to find anything but sfcn.dat in sources folder on disc.
Any advice would be very much appreciated Thanks


My System SpecsSystem Spec
.
09 Aug 2015   #62
GokAy

Windows 7 Ultimate x64 SP1
 
 

Auswelder, that script is not a fix, but creates a txt file that can be used to tailor a specific fix for your issue.

Try running the command in elevated cmd (Start Menu - search for cmd - right click the cmd icon and "Run as Administrator"):
Code:
sfc /scannow
Then run after above is finished (even if it fails):
Code:
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >"%userprofile%\desktop\sfcdetails.txt"
Paste the sfcdetails.txt (check your desktop) here - Screenshots and Files - Upload and Post in Seven Forums
My System SpecsSystem Spec
09 Aug 2015   #63
GokAy

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by deepmar View Post
Hello guys and gals, new member here. Sorry to bring this up again but I am having the same issue and I believe it all stemmed from a virus. So I will copy and paste my log and hopefully someone can chime in because I have no idea what any of this means. I almost took my computer to the repair shop but they would have taken all of my money. It seems like there is hope for this issue from reading the thread. Thanks!
Hey Deepmar, sorry for the wait. Your sfc result is clean. Meaning, the 2 files reported as corrupt are not actually corrupt but fail to report correctly. This is a known issue, you can either disregard them or uninstall Windows Updates KB3022345 and KB3068708, and hide when re-offered.
My System SpecsSystem Spec
.

16 Aug 2015   #64
fedesnatr

Windows 7 Home Premium SP1 64bit
 
 

Good afternoon,
First time poster. I am also having issues with files that cannot be fixed. I have attached my sfc detail log. I would appreciate it someone could take a look at it and help me resolve this issue. Thanks again!
Tom


Attached Files
File Type: txt sfcdetails.txt (44.9 KB, 14 views)
My System SpecsSystem Spec
16 Aug 2015   #65
deepmar

Windows 7 64 bit
 
 

Quote   Quote: Originally Posted by GokAy View Post
Quote   Quote: Originally Posted by deepmar View Post
Hello guys and gals, new member here. Sorry to bring this up again but I am having the same issue and I believe it all stemmed from a virus. So I will copy and paste my log and hopefully someone can chime in because I have no idea what any of this means. I almost took my computer to the repair shop but they would have taken all of my money. It seems like there is hope for this issue from reading the thread. Thanks!
Hey Deepmar, sorry for the wait. Your sfc result is clean. Meaning, the 2 files reported as corrupt are not actually corrupt but fail to report correctly. This is a known issue, you can either disregard them or uninstall Windows Updates KB3022345 and KB3068708, and hide when re-offered.
No worries about the wait and I really appreciate your help on this. Thank you so much!!!
My System SpecsSystem Spec
17 Aug 2015   #66
GokAy

Windows 7 Ultimate x64 SP1
 
 

Quote   Quote: Originally Posted by fedesnatr View Post
Good afternoon,
First time poster. I am also having issues with files that cannot be fixed. I have attached my sfc detail log. I would appreciate it someone could take a look at it and help me resolve this issue. Thanks again!
Tom
Fedesnatr, you have 1 corrupt file "snmpapi.dll". I will PM our SFC expert, hopefully an easy fix for him.
My System SpecsSystem Spec
17 Aug 2015   #67
fedesnatr

Windows 7 Home Premium SP1 64bit
 
 

GokAy,
Thank you so much! I really appreciate it.
FedesnaTR
My System SpecsSystem Spec
17 Aug 2015   #68
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

I've uploaded a file - fntaa.zip - to my OneDrive at Noel's OneDrive
Please download and save it.

Right-click on the saved file and select Extract all...
Change the target to C:\ and click on Extract
Close all windows (it would be a good idea to print these instructions!)

Now reboot to the Repair Environment - as soon as the machine restarts, start tapping F8 - this should bring up the Advanced Boot Menu, at the top of which should be the option 'Repair my Computer'
Pick that
You'll have to log in with your username and password.

Pick the option to use a Command Prompt
At the prompt type
DIR C:\fntaa
hit the enter key - if you get a 'Not Found' error try
DIR D:\fntaa
or
DIR E:\fntaa

The drive letter in use when you find the folder will need to be substituted (for<drive>) into the following command...

XCOPY <drive>:\fntaa <drive>:\windows\winsxs /y /i /s /v /h

(e.g. XCOPY P:\wfire P:\windows\winsxs /y /i /s /v /h )

run the command (it should take almost no time) and when the prompt returns, type
EXIT
and hit the Enter key to exit Command Prompt - reboot to Normal Mode Windows.

Now run SFC /SCANNOW in an Elevated Command Prompt
then reboot and upload the new CBS.log file to your reply
My System SpecsSystem Spec
17 Aug 2015   #69
fedesnatr

Windows 7 Home Premium SP1 64bit
 
 

Noel,

Is this for me, FedesnaTR or another poster?

Thanks!
My System SpecsSystem Spec
17 Aug 2015   #70
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

Yup - it's for you
My System SpecsSystem Spec
Reply

 How do you fix corrupted files found by SFC /SCANNOW?




Thread Tools




Similar help and support threads
Thread Forum
How do you fix corrupted files found by SFC /SCANNOW?
Hey Folks, been having all sorts of issues, think i boiled it down to : How do you fix corrupted files found by SFC /SCANNOW as when i run it i get the detected corrupted files but unable to fix...im about ready to do a fresh install but i thought id try you gents first.
Performance & Maintenance
How do you fix corrupted files found by SFC /SCANNOW
An attempted upgrade to Windows 10 failed at Stage 5. When investigating possible causes, I noticed that I had no restore points. Additionally, I'd lost some printers normally installed with Windows and/or MS Office (e.g., MS XPS Document Printer and Windows Fax and Scan). I tried to reinstall...
Performance & Maintenance
How do you fix corrupted files found by SFC /SCANNOW?
How do you fix corrupted files found by SFC /SCANNOW? I've read a similar post to this and ran to get the sfcdetails.txt There appears to be a number of issues, but what is the best way to resolve them?
Performance & Maintenance
Windows 8.1: How to fix corrupted files found by SFC /SCANNOW?
Hey, I'm using a Windows 8.1 64-bit OS and have been running into a few BSOD problems (notable REFERENCE_TO_POINTER and BAD_HEADER_POOL errors). I've tried testing my memory using memtest86 and checking for viruses to no avail. A recent SFC scan has come up with a few corrupted files but I'm not...
Performance & Maintenance
SFC SCANNOW Found 2 Corrupted Files
SFC SCANNOW Found 2 Corrupted Files Aug 14, 2011 2011-08-14 17:46:35, Info CSI 000004f6 Could not reproject corrupted file "\??\C:\Windows\System32"\"tcpmon.ini"; source file in store is also corrupted 2011-08-14 18:02:22, Info CSI 00000814 Could not...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:48.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App