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


  1. Posts : 1
    Windows 7 x64
       #1

    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!
    Help on finding corrupted files unable to fix by System File Checker Attached Files
      My Computer


  2. Posts : 16
    Windows 7 Home 64 bit
       #2

    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 Computer


 

  Related Discussions
Our Sites
Site Links
About 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 21:50.
Find Us