How to use the File Checker tool in Win7 system to fix missing or corrupted system files

Source: Internet
Author: User

First, use the System File Checker tool (SFC.exe) to detect which file is causing the problem, and then replace the file with the following steps:

1, first click the Start menu, enter CMD in the search box, then the mouse right click cmd Select "Run as Administrator";

2. In the Open Command Prompt window, type the Sfc/scannow command, and then press ENTER (hint: the "sfc/scannow" command replaces all protected system files and incorrect versions with the correct Microsoft version);

If you want to determine which files might not be able to repair the System File Checker tool, follow these steps:

1, also open the command prompt to choose to run with administrator privileges, and then enter the following command and return;

findstr status "[SR]"%windir%logscbscbs.log >%userprofile%desktopsfcdetails.txt

(Note: The Sfcdetails.txt file contains details that each time you have run the System File Checker tool on your computer, which contains information about files that cannot repair the System File Checker tool, validates dates and times, and determines the last time the System File Checker tool was run. )

3, then in the search program and file, type Sfcdetails.txt, and then enter;

The Sfcdetails.txt file uses the following format:

Date/Time SFC details

The following sample log file contains files 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

Third, if the System File Checker tool cannot repair a file, follow these steps:

1, first at the command prompt, input or copy paste the following command, and then enter;

takeown/f Path_and_file_name

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

2, input or copy paste the following command, and return to the administrator to grant full access to the file;

ICACLS path_and_file_name/Grant admin: F

For example, type icacls e:windowssystem32jscript.dll/grant admin: F.

3. Enter or copy the following command, and return 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.