Use the system file checker tool to repair missing or corrupted system files

Technical Level : BasicSummary

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

Bạn đang xem: Use the system file checker tool to repair missing or corrupted system files

System file kiểm tra works on Vista and UP

Dism works on win 7 và UP

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

If you are running sfc &/or DISM khổng lồ fix an underlying problem please tell us what that problem is!!!!

Details


If you have modified your system files (including WindowsDLL files) running sfc /scannow will revert the system files back to lớn the default state.

It is always a good idea khổng lồ back up your data beforehand!

To run a system tệp tin kiểm tra (SFC)

Go to start>Type CMD

Right clichồng & run as Administrator

(called an elevated comm& prompt)

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

If you just want to kiểm tra (verify only) the OS type sfc /verifyonly (no changes will be made using verify only)

You may have khổng lồ run this up to 3 times to 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 to 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 to repair some or all of the files there are a few options including arepair install from the OS dvd, andDISM (win 8 & UP)

If SFC did not find any violations it is still a good idea lớn run DISM Restorehealth

DISM

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

From an elevated commvà prompt

You can run Check, then Scan, but you should always run RESTORE HEALTH

To kiểm tra the health (You would use /CheckHealth lớn only check whether the image has been flagged as corrupted)

run Dism /Online /Cleanup-Image /CheckHealth

To scan the health use /ScanHealth to lớn scan the image for component store corruption. This option does not fix any corruption.

Xem thêm: Aimersoft Video Converter Ultimate Keygen, Download Magic Video Converter 12

run Dism /Online /Cleanup-Image /ScanHealth

To RESTORE health (recommended)

Use DISM /Online /Cleanup-Image/RestoreHealth to scan the image for component store corruption, perform repair operations automatically, và records that corruption to the log file. This generally takes 15-30 minutes depending on the corruption & kích thước of the partition

You can run scanhealth & restore health at the same time lượt thích this

DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth

Type DISM /Online /Cleanup-Image /RestoreHealth . (please note the space after "dism", & "online" & "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 re-run SFC /scannow khổng lồ make sure all the issues were fixed.

Xem thêm: Hack Game Rope Hero : Vice Town: Become A Superhero, Download Rope Hero: Vice Town 5

If you get the error message "cannot find source files"you need to have an ISO tệp tin mounted and need khổng lồ 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" to lớn the correct drive sầu letter


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