How to use the file checker tool to solve the repaired lost or damaged system file in the win7 system

  

First, use the System File Checker tool (SFC.exe) to detect which file is causing the problem, then replace the file, the specific steps are as follows :

1. First click on the Start menu, type cmd in the search box, then right click on cmd to select “Run as administrator>;

2. Open command In the prompt window, type the sfc /scannow command, and then press ENTER (Hint: "Sfc /scannow” command will scan all protected system files and replace the incorrect version with the correct Microsoft version);

Second, if you want to determine which files may not be able to repair the System File Checker tool, please follow the steps below:

1. Open the command prompt and select Run with administrator privileges, then enter the following command and Enter;

findstr status"[SR]"%windir%LogsCBSCBS.log > %userPRofile%Desktopsfcdetails.txt

(Note: The Sfcdetails.txt file contains details of the System File Checker tool that is run on your computer each time, which contains information about the file's inability to repair the System File Checker tool, the date and time of verification To determine the problem when finding the file, find the last time you run the System File Checker tool.)

3, then in the search program and file, type sfcdetails.txt and press Enter;

Sfcdetails The .txt file uses the following format:

Date/Time SFC Details

The following sample log file contains items that cannot 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< Br>

Third, if the System File Checker tool cannot repair a file, please perform the following steps:

1. First at the command prompt, type or copy the following command, then Enter

takeown /f Path_And_File_Name

For example, enter takeown /f E:windowssystem32jscript.dll.

2. Type or copy the following command and press Enter. Grant the administrator full access to the file;

icacls Path_And_File_Name /Grant the administrator: F

For example, type icacls E:windowssystem32jscript.dll /grant Administrator: F.

3 , type or copy the following command and press Enter to replace the file with a copy of the known good file:

Copy Path_And_File_Name_Of_Source_File Path_And_File_Name_Of_Destination

For example, type copy E: empjscript.dll E :windowssystem32jscript.dll.

Copyright © Windows knowledge All Rights Reserved