Use the System File Checker tool to troubleshoot system files that are missing or corrupted on WindowsVista or Windows7

Source: Internet
Author: User
Tags administrator password

first, use the System File Checker tool (SFC.exe) to determine which file is causing the problem, and then replace the file. Please perform the following steps:

1. Click Start, enter cmd, select right mouse click, and run as administrator. If you are prompted for an administrator password or for confirmation, type the password, or click Allow;

2. At the command prompt, type the Sfc/scannow command, and then press ENTER:

The Sfc/scannow command replaces all protected system files and incorrect versions with the correct Microsoft version.

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

1. Open the elevated command prompt to run with administrator privileges.

2. At the command prompt, type the following command, and then press ENTER:

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

Note: The Sfcdetails.txt file contains details that each time the System File Checker tool has been run on the computer. This file contains information about files that cannot repair the System File Checker tool. Verify the date and time items to determine the problem when the file is found last run the System File Checker tool.

3. In the search program and file, type Sfcdetails.txt, and then press 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, perform the following steps:

1. At the elevation command prompt, copy and then paste (or type) the following command, and then press ENTER:

takeown/f Path_and_file_name

For example, type takeown/f e:windowssystem32jscript.dll.

2. Copy and paste (or type) the following command, and press ENTER to grant the administrator full access to the file:

ICACLS path_and_file_name/Grant admin: F

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

3. Copy and paste (or type the following command 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 replication E:tempjscript.dll e:windowssystem32jscript.dll.

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

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.