HomeĐời SốngHow to run sfc scannow command in windows 10

How to run sfc scannow command in windows 10

09:33, 31/03/2021
Technical Level : BasicSummary

System file kiểm tra is a utility built inkhổng lồ the Operating System that will check for system file corruption The sfc /scannow comm& (System File Check) scans the integrity of all protected operating system files và replaces incorrect, corrupted, changed, or damaged versions with the correct versions where possible. When it cannot repair the damage DISM should be run to lớn fix as many errors as possible.

Bạn đang xem: How to run sfc scannow command in windows 10

System tệp tin kiểm tra works on Vista và UP

Dism works on win 7 & UP

If you are running an insider build (ie 14915) và SFC fails ~20% it is a known problem with this build

If you are running sfc &/or DISM to lớn fix an underlying problem please tell us what that problem is!!!!


If you have modified your system files (including WindowsDLL files) running sfc /scannow will revert the system files baông chồng to the mặc định state.

It is always a good idea lớn back up your data beforehand!

To run a system file kiểm tra (SFC)

Go khổng lồ start>Type CMD

Right click và run as Administrator

(called an elevated commvà prompt)

If you want to verify and repair the OS type sfc /scannow (note the space between sfc & "/")

If you just want to lớn check (verify only) the OS type sfc /verifyonly (no changes will be made using verify only)

You may have sầu khổng lồ run this up to 3 times lớn fix all the problems

When you have sầu finished it will say one of three things

Windows did not find any integrity violations (a good thing)

Windows Resource Protection found corrupt files and repaired them (a good thing)

Windows Resource Protection found corrupt files but was unable lớn fix some (or all) of them (not a good thing)If you get this message run DISM as described below

If SFC was not able lớn repair some or all of the files there are a few options including arepair install from the OS dvd, andDISM (win 8 và UP)

If SFC did not find any violations it is still a good idea khổng lồ run DISM Restorehealth


If you are on win 8 (and up) you should also run DISM whether SFC found errors or not!!

From an elevated comm& prompt

You can run Cheông xã, then Scan, but you should always run RESTORE HEALTH

To kiểm tra the health (You would use /CheckHealth khổng lồ only kiểm tra whether the image has been flagged as corrupted)

run Dism /Online /Cleanup-Image /CheckHealth

To scan the health use /ScanHealth khổng lồ scan the image for component store corruption. This option does not fix any corruption.

Xem thêm: Richard Branson Là Ai - Tỷ Phú Richard Branson

run Dism /Online /Cleanup-Image /ScanHealth

To RESTORE health (recommended)

Use DISM /Online /Cleanup-Image/RestoreHealth to scan the image for component store corruption, persize repair operations automatically, and records that corruption lớn the log file. This generally takes 15-30 minutes depending on the corruption & form size of the partition

You can run scanhealth và restore health at the same time like this

DISM.exe pháo /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth

Type DISM /Online /Cleanup-Image /RestoreHealth . (please note the space after "dism", & "online" và "image")If the repair is successful you may want lớn re-run SFC just khổng lồ check.

After running DISM it is a good idea to lớn re-run SFC /scannow to make sure all the issues were fixed.

Xem thêm: Ngôi Sao Phim Cấp 3 Nhật Bản, Diễn Viên Nhật Bản Cấp 3 ", Diễn Viên Phim Cấp 3

If you get the error message "cannot find source files"you need lớn have sầu an ISO file mounted and need to lớn specify where it is located with the below command

The ISO must be exactly the same version as the running OS. An ISO of 10586.0 will not repair a running system of 10586.35 because it has additional updates and files.

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess Where "X" is the drive letter where the ISO is located. Simply change the "X" khổng lồ the correct drive sầu letter

Chuyên mục: Đời Sống