System file check (sfc) scan and repair system files &

Windows 8.1 Windows 8.1 Enterprise Windows 8.1 Pro Windows 8 Windows 8 Enterprise Windows 8 Pro Windows 7 Enterprise Windows 7 Home Basic Windows 7 Home Premium Windows 7 Professional Windows 7 Starter Windows 7 Ultimate Windows Vista Enterprise 64-bit Edition Windows Vista Ultimate 64-bit Edition Windows Vista Business Windows Vista Business 64-bit Edition Windows Vista Enterprise Windows Vista Ultimate Windows 10 More...Less

If some Windows functions aren"t working or Windows crashes, use the System File Checker to scan Windows & restore your files.  Though the steps below might look complicated at first glance, just follow them in order, step-by-step, & we’ll try to get you baông xã on traông xã.

Bạn đang xem: System file check (sfc) scan and repair system files &

Run the System File Checker tool (SFC.exe)

To vày this, follow these steps:

xuất hiện an elevated comm& prompt. To do this, do the following as your appropriate:

If you are running Windows 10, Windows 8.1 or Windows 8, first run the inbox Deployment Image Servicing and Management (DISM) tool prior lớn running the System File Checker. (If you are running Windows 7 or Windows Vista, skip to Step 3.) 

Type the following comm&, and then press Enter. It may take several minutes for the commvà operation to lớn be completed.

DISM.exe /Online /Cleanup-image /Restorehealth

Important: When you run this comm&, DISM uses Windows Update lớn provide the files that are required khổng lồ fix corruptions. However, if your Windows Update client is already broken, use a running Windows installation as the repair source, or use a Windows side-by-side folder from a network nội dung or from a removable media, such as the Windows DVD, as the source of the files. To vị this, run the following commvà instead:

DISM.exe pháo /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess

Note: Replace the C:RepairSourceWindows placeholder with the location of your repair source. For more information about using the DISM tool lớn repair Windows, reference Repair a Windows Image.

At the comm& prompt, type the following comm&, và then press ENTER:

sfc /scannow

*
  

The sfc /scannow comm& will scan all protected system files, và replace corrupted files with a cached copy that is located in a compressed thư mục at %WinDir%System32dllcache.The %WinDir% placeholder represents the Windows operating system folder. For example, C:Windows.lưu ý Do not cđại bại this Command Prompt window until the verification is 100% complete. The scan results will be shown after this process is finished.

After the process is finished, you may receive sầu one of the following messages:

Windows Resource Protection did not find any integrity violations.

This means that you vị not have sầu any missing or corrupted system files.


 

Swipe in from the right edge of the screen, và then tap Search. Or, if you are using a mouse, point lớn the lower-right corner of the screen, và then cliông chồng Search. Type Commvà Prompt in the Search box, right-click Comm& Prompt, and then cliông xã Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or clichồng Allow.

Xem thêm: (Hình Là Hình Cũ Về Các Đường Nâng Vũ

*
 


 

To bởi vì this, cliông chồng Start, type Command Prompt or cmd in the Search box, right-cliông chồng Comm& Prompt, and then cliông chồng Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or cliông xã Allow.

*
 


More Information

How to view details of the System File Checker process

To view the details that included in the CBS.Log tệp tin, you can copy the information khổng lồ the Sfcdetails.txt file by using the Findstr comm&, và then view the details in the Sfcdetails.txt. To do this, follow these steps:

Open an elevated commvà prompt as described in the previous step 1.

At the commvà prompt, type the following commvà, & then press ENTER:

findstr /c:"" %windir%LogsCBSCBS.log >"%userprofile%Desktopsfcdetails.txt" lưu ý The Sfcdetails.txt tệp tin contains details from every time that the System File Checker tool has been run on the computer. The tệp tin includes information about files that were not repaired by the System File Checker tool. Verify the date and time entries lớn determine the problem files that were found the last time that you ran the System File Checker tool.

xuất hiện the Sfcdetails.txt tệp tin from your desktop.

The Sfcdetails.txt tệp tin uses the following format:

How khổng lồ manually replace a corrupted system tệp tin with a known good copy of the file

After you determine which system tệp tin was corrupted & could not be repaired through the detail information in the Sfcdetails.txt file, find where the corrupted tệp tin located, và then manually replace the corrupted tệp tin with a known good copy of the tệp tin. To do this, follow these steps:Note You may be able to lớn get a known good copy of the system file from another computer that is running the same version of Windows with your computer. You may perform a System File Checker process on that computer to lớn make sure the system tệp tin that you intend to copy is a good copy.

Take administrative ownership of the corrupted system file. To bởi vì this, at an elevated commvà prompt, copy & then paste (or type) the following command, và then press ENTER:

takeown /f Path_And_File_NameNote The Path_And_File_Name placeholder represents the path và the tệp tin name of the corrupted file. For example, type takeown /f C:windowssystem32jscript.dll. 

*

Grant administrators full access to lớn the corrupted system file. To vày this, copy và paste (or type) the following commvà, và then press ENTER:

icacls Path_And_File_Name /GRANT ADMINISTRATORS:Flưu ý The Path_And_File_Name placeholder represents the path và the tệp tin name of the corrupted tệp tin. For example, type icacls C:windowssystem32jscript.dll /grant administrators:F.

*

Replace the corrupted system tệp tin with a known good copy of the file. To vì this, copy & paste (or type) the following command, & then press ENTER:

Copy Source_File Destinationchú ý The Source_File placeholder represents the path and file name of the known good copy of the file on your computer, & the Destination placeholder represents the path và tệp tin name of the corrupted file. For example, type copy E: empjscript.dll C:windowssystem32jscript.dll.

Xem thêm: Hoàng Anh Vũ 5S Online Sinh Năm Bao Nhiêu, Tiểu Sử Diễn Viên Hoàng Anh Vũ

If the steps above don"t work, you may need to reinstall Windows. For more info, see Windows 10 recovery options.


Chuyên mục: Công Nghệ