Server 2003. Windows Vista, although in the Windows NT family of operating systems, scans files using Windows Resource Protection.
In Windows Vista and Windows 7, System File Checker is integrated with Windows Resource Protection, which protects registry keys and folders as well as critical system files. Under Windows Vista, sfc.exe can be used to check specific folder paths, including the Windows folder and the boot folder.
Scanning and fixing Windows System files will improve the function and speed of your computer.
Use the System File Checker tool (SFC.exe) to determine which file is causing the issue, and then replace the file. To do this, follow these steps:
- Close any open programs on your Desktop
- Click on the Start button
- Click Run
- Type this command in the Run box: sfc /scannow and then press ENTER:
Tip: The sfc /scannow command scans all protected system files and replaces incorrect versions with correct Microsoft versions.
To determine which files could not be repaired by the System File Checker tool, follow these steps:
- Click on the Start button
- Click Run
- Type this command "findstr /C:"[SR] Cannot repair member file" %windir%\logs\cbs\cbs.log>sfcdetails.txt"
- Type the command "edit sfcdetails.txt"
- The Sfcdetails.txt file uses the following format: Date/Time SFC detail
Note: The Sfcdetails.txt file 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.
- Click on the Start button
- Click Run
- Type the command "takeown /f Path_And_File_Name"
- Type the command, "icacls Path_And_File_Name /GRANT ADMINISTRATORS:F" and then press ENTER to grant administrators full access to the file:
- Type the command
Copy Path_And_File_Name_Of_Source_File
Path_And_File_Name_Of_Destination
to replace the file with a known good copy of the file:
0 comments :
Post a Comment