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: Help on finding corrupted files unable to fix by System File Checker

19 Dec 2015   #1
UltimateGTR

Windows 7 x64
 
 
Help on finding corrupted files unable to fix by System File Checker

Hello,
I performed a system maintenance a few days ago and ran sfc to verify the system files. The utility found some corrupted files and repaired some of them. Then I ran the tool the 2nd time to check if no more corrupted files exist but it said found corrupt files but was unable to fix some of them. I exported the log but have no clue on which files are corrupted. Anyone can help to identify what are the corrupted files?

Thanks!




Attached Files
File Type: txt sfcdetails.txt (59.1 KB, 4 views)
My System SpecsSystem Spec
.
21 Dec 2015   #2
JohnHa

Windows 7 Home 64 bit
 
 

I had exactly the same problem as you and this is the aide-memoire I wrote myself while attempting to find the faulty files. In the end I said to myself "You have always wanted a SSD - why not buy one and build a new W7 on it". I never regretted the decision and I will NEVER have a PC without an SSD. I think the Digital River link has been taken down ...

My problem arose helping a friend with a nasty - I managed to get it on my PC and it changed ownerships and permissions on lots of files. Eventually MS refused to upgrade IE because it could not find? or could not delete? the segoe.ttf font to update it. So the rogue font files aborted the IE upgrade!

For what its worth ..

System File Checker tool (SFC.exe)

1. Cet a cmd window as administrator by Click Start > type cmd >, ctrl / shift / enter

Or click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. ***

2. Type sfc /scannow and press ENTER:

The sfc /scannow command scans all system files and will recover the corrupted ones.

3. Please restart the computer and recheck the original issue.

SFC logs it's actions to the C:\WINDOWS\LOGS\CBS\CBS.LOG. You can find the specific SFC entries by searching for the [SR] tags in the log.

THis is useful way to run sfc /scannow fixes, sfc /verify only lists all problems

Errors from running sfc /scannow or sfc /verifyonly (see http://support.microsoft.com/kb/929833 )

To determine which files could not be repaired by the System File Checker tool. Follow these steps:

1 Open an elevated command prompt ( cmd with ctrl/shift/enter )

2 At the command prompt, type the following command, and then press ENTER: (r-click in cmd, Paste :-))

findstr /c:"[SR]" C:\Windows\Logs\CBS\CBS.log > C:\Users\John\Desktop\sfcdetails.txt

This puts Sfcdetails.txt on the desktop. The log has old entries so delete all the old items - just look at those at the relevant time.

3 Fixing the errors which it finds

see http://support.microsoft.com/kb/928228

You can get replacement files by downloading a W7 DVD - see Windows 7 Direct Download Links, Official Disk Images from Digital River

see http://support.microsoft.com/?scid=k...9833&x=13&y=11

=====

The log contains details from every time that the System File Checker tool has been run on the computer. The file includes information about files that were not repaired by the System File Checker tool. Verify the date and time entries to determine the problem files that were found the last time that you ran the System File Checker tool.

The Sfcdetails.txt file uses the following format:
Date/Time SFC detail

The following sample log file contains an entry for a file that could not be repaired:

2007-01-12 12:10:42, Info CSI 00000008 [SR] Cannot repair member file [l:34{17}]"Accessibility.dll" of Accessibility, Version = 6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type neutral, TypeName neutral, PublicKey neutral in the store, file is missing

=====================================================================================

The problem was caused by the files in C:\windows\winsxs\...AM<D64 ...\segoe.ttf having the wrong permissions - only the user had any permissions! I fixed it in two ways

1 MANUALLY FIX. r-click the file > Properties > Security > Add > type system, click FULL CONTROL; and repeat for administrator.

2 BATCH FILE. Run the following command from a CMD window

cacls c:\windows\winsxs /t /c /e /g Administrators:f

where CACLS allows you to modify ACL rights on files and folders for users and groups on the local computer.

I needed this for an installed program would not run under a users account unless i manually change the user permissions of the folder.

The following can be added into a script to automate the procedure when installing the program!
1. Usage

cacls filename [/t] [/e] [/c] [/g user|grouperm]

2. Parameters

filename Displays ACLs of specified directory, file or files.

/t Changes ACLs of specified files in the current directory and all subdirectories.

/e Edit ACL instead of replacing it.

/c Continue changing ACLs, ignoring errors.

/g user|grouperm Grant specified user or group access permissions. perm can be:

r Read
c Change (write)
f Full control

/r user Revoke specified user's or group's access permissions.

/p user|grouperm Replace specified user's or group's access permissions. perm can be:

n None
r Read
c Change (write)
f Full control

/d user|group Deny specified user access.

3. User|Group

can be a user or an AD Group!

4. Example:

cacls c:\ /t /e /g Administrators:f

Gives "Administrators" group FULL access to C: Drive and all files / folders.
My System SpecsSystem Spec
Reply

 Help on finding corrupted files unable to fix by System File Checker




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How restore system files when System File Checker won't work
I have run System File Checker (sfc) and it found many files that were corrupt and could not be repaired. My PC appears to be running fine - but I am anal about repairing anything that is wrong on my PC. The only suggestion I've received so far was to perform a Repair Install. That's very risky....
Performance & Maintenance
system file checker log does not show file not repaired
Ran system file checker and it said it found corrupted files but could not repair all of them. Looking at the log is not helping. I have posted the last several lines as they are representative of the entire log with the exception of the last few lines that mention an actual repair. Where is the...
Performance & Maintenance
SYstem File Checker Result - CBS.Log file says Access Denied
I have just completed a System File Check and some repairs were done I was told that the relevant report could be seen at C:\WINDOWS\LOGS\CBS\CBS.LOG. When I Clicked on that I got Access Denied How can I Open that log file? I am the Administrator
Performance & Maintenance
Corrupt files in System File Checker - now what?
Hello, In trying to fix a still unsolved problem with my WLAN network connection (detailed here, if relevant: WLAN issue - WiFi can't connect - Tech Support Guy Forums), it was concluded that a main problem is corrupt files identified by the System Files checker. This is the message I get...
Performance & Maintenance
Corrupted Files + Unable to Repair + Corrupted Source
So, I reformatted my computer again. Did some SFC scans before I installed any Microsoft updates and all scans were clean. Did all the updates, drivers, program installations. Couple days later I decide to check with SFC and found some errors. There's also errors at the source, meaning I can't...
Performance & Maintenance


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 05:24.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App