How to Repair Corrupt or Damaged Windows System Files with System File Checker

toggle-button

Sometimes one of the important Windows system files can get corrupted. Then you may get messages about missing DLL files or have other indications that there is a problem. This tip will discuss repairing the system with System File Checker (SFC).

This is one of the numerous  command-line system tools that come on all current versions of Windows. It will scan all protected system files and replace incorrect or damaged versions with copies from a backup cache or from an installation disk or folder.

Malware infections are one source of this type of problem so make sure your system is clean before trying repairs. Also, System Restore is easier to use and should be tried first if possible.

Using System File Checker in Windows XP

1.    Open a command prompt (or the Start-Run line).
2.    Type and enter "sfc /scannow" (without quotes but with the space).

Your files will then be scanned and repaired if necessary. It may take 10 or 20 minutes, depending on your system.

Unfortunately, in Windows XP it is quite possible that SFC will first ask for your Windows installation disk. Most people only have a restore disk so it is necessary to take some rather involved steps before running SFC. Even if you have an installation disk, it probably won’t work unless Service Pack 3 is on it. A discussion of how to proceed if you have no proper installation disk is at this Bleeping Computer forum.  

Using System File Checker in Windows Vista/7 

The procedure generally goes much smoother in the newer versions of Windows. 

1.  Open a command prompt with administrator privileges.
2.  Type and enter "sfc /scannow" (without quotes but with the space). 

Your files will then be scanned and repaired if necessary. Again, it may take 10 or 20 minutes, depending on your system. 

If your Windows Vista/7 system won’t boot, there is still a possible way to try a repair. In such cases, SFC can be run offline using  the Windows Recovery Environment (RE). Again, the catch is that you need a setup disk. Details of using RE can be found at WinHelpOnline.

After running System File Checker

It is best to go to Windows Update after any repair is done to ensure that you have the latest file versions.

As an aside, my personal preference for dealing with corrupt files is regular backups. However, when helping other people (who didn't back up) SFC has its place and is part of the regular toolkit.   

Get your own favorite tip published!  Know a neat tech tip or trick?  Then why not have it published here and receive full credit?  Click here to tell us your tip.


This tips section is maintained by Vic Laurie. Vic runs a Windows blog called The PC Informant and also operates a computer education website.

Click here for more items like this. Better still, get Tech Tips delivered via your RSS feeder or alternatively, have the RSS feed sent as email direct to your in-box.

Please rate this article: 

Your rating: None
3.706765
Average: 3.7 (133 votes)

Comments

I also used the sfc/scannow and it found corrupt files but could not repair them, what do we do next? please help.

I have used system file checker (sfc /scannow) in the command prompt immediately after installing Windows 10 only to receive the bad news that corrupt files were found but they could not be repaired. Can you tell me what else I can do to ensure that the corrupt files are repaired?

has 25gb pysics,science,maths books.suddenly windows help system not working,networking not working,dsl stopped working.means windows got corrupted.restore points were deleted before this coz they werent working properly.sfc/scannow not working asking for windows xp sp 3 cd and when i put it in cd drive then a message comes to put cd in drive and this message comes repeatedly after some time.
if there is a virus its solution is antivirus.
if there is windows corrupted then whats solutiion.i mean there should be a more punishing name for windows xp corrupted.
there should be more than one soluition for windows corrupted not one or two solutions.

I have a problem whent a started an pc it shoved to press start windows normaly, safemode,safe mode with command prompt,last known good configuration and when i pressed evry one of them it showed up .Windows failed to start. A recent hardware or software change,might be the cause and this

Windows failed to load because a critical syset driver is missing or corupt and a bunch of other things and some status:oxcoooooof and after i press enter
choose an operating system to start.,or press
TAB to to select a tool then there is windows 7 to press and to press tab for windows memory Diagnostic and when i press enter again on wondows 7 it is back on the first page please help

I have a problem where it will go to a certain percentage, then it'll say "Windows Resource Protection could not perform the requested operation". I've tried doing "sfc /scannow" over and over again but it won't work. What do I do?

Unfortunately, SFC fails for many reasons. This type of question is beyond what can be answered here. Please log in to the Freeware Forum and post your questions in General Computer Support. Please provide more information about your system when you post there. Knowledgeable people there will gladly try to help you.