Monday, January 4, 2010

Use System File Checker Tool To Troubleshoot Missing And Corrupted System Files In Windows 7!

The importance of the Windows 7 is becoming too high nowadays. As we have to travel in the same path, we have given a tip about Windows 7 Operating System. The tip is about System File Checker tool used to troubleshoot missing or corrupted system files of Windows 7 Windows Vista.
Consider that a Windows Resource Protection file (WRP) is missing or corrupted what you can do? Don’t know? Read the right solution. If it happens, some Windows functions may not work normally or Window may crash. In such situations, System File Checker (SFC.exe) scans for missing or corrupted system files and repairs them.
Therefore, you can use System File Checker tool (SFC.exe) to determine the corrupted or missing files that cause the issue and you can then replace the files.



If you want to do this procedure, follow the following steps.
•    As usual, go to Start menu, click All Programs, Accessories, right click Command Prompt and click Run as Administration. This will open an elevated command prompt. Remember you have to enter the administrator password if you will be prompted and press Enter.
•    Now, type the following command and press Enter. sfc /scannow. This command will scan all of the protected system files and will replace incorrect versions with Correct Microsoft versions.

If you want to determine which files should not be repaired by the System File Checker Tool, just follow the following steps.
•    Open an elevated command prompt as said above.
•    Now type the following command and then press Enter key.
findstr /C:"[SR] Cannot repair member file" %windir%\logs\cbs\cbs.log  >sfcdetails.txt
Note : If you perform this action, remember the sfcdetails.txt file has the details from every time that the System File Checker Tool has been run on the Computer. Moreover, the file includes the information about the files that were not repaired by the SFC Tool. Therefore, verify the date and time entries to determine the problem files that were found during the process of sfc command.
•    Now, type the following command and then press the Enter key.
edit sfcdetails.txt
The sfcdetails.txt file uses the format as given
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




<!--[if IE]>
<![endif]-->



If the problem persists, follow the following steps.

•    Open another elevated command prompt, type the given command and then press the Enter key.
takeown /f Path_And_File_Name
Example - type takeown /f E:\windows\system32\jscript.dll.
•    Now, type the following command and then press Enter in order to grant administrators full access to the file.
icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
Example - type icacls E:\windows\system32\jscript.dll /grant administrators:F.
•    Now you can type the given command in order to replace the file with a known good copy of the file:
Copy Path_And_File_Name_Of_Source_File Path_And_File_Name_Of_Destination
Example - type copy E:\temp\jscript.dll E:\windows\system32\jscript.dll.
•    Type the following command to replace the file with a known good copy of the file:
Copy Path_And_File_Name_Of_Source_File Path_And_File_Name_Of_Destination
For example, type copy E:\temp\jscript.dll E:\windows\system32\jscript.dll.

Do the steps and feel the advanced performance.




By