How to use the sfc tool in Windows
System File Checker is a tool in Windows that allows users to scan the corrupt files in the system. Now in Windows XP, we have a much more refined protection of these important files. This is known: Windows File Protection [WFP]. By default, the WFP is always enabled and allows Windows digitally signed files to replace existing files safely. Currently, signed files are distributed through:
- Windows Service Pack
- Hotfix dealer is
- Operating upgrades
- Windows Update
- Windows Device Manager
How to use sfc
The main reason for using this utility is when you suspect that there may be a problem with a Windows system file. En dialogruta kan visas som informerar dig om problem med en “.dll”-fil. Therefore, it is worth checking if there are any corrupt system files using sfc. To do this,, Run command on the Start menu and type in:
In an ideal world it would be the end of the story. All corrupt, missing or incorrect files would be replaced by this process. However, things can go wrong.
Why is this happening?
The computer's registry are several settings that control when you run sfc. As mentioned earlier in this article, WFP Service constantly monitors for any changes to key system files. Windows keeps a cache (copy) of these essential files at the following location:
(provided C: is your system volume).
OBS – Mappen “Dllcache” is extremely important because it is hidden in Windows. To see it go to: My Computer > Tool > Folder options > Visa >
Clear – 'Hide protected operating system files'.
Recommend copying the I386 folder to hard drive from Windows installation CD.
You must have a Windows disk and find the folder named: ‘I386’. This is a major folder and should be one of the first thing you see, copy it to your hard drive in the root. For most of you will be C:\ so you end up with a folder that looks like:
Now you must tell your computer where you now have the files on your computer. Type regedit in the Run box on the Start menu, navigate to:
You will see various entries here on the right side. The one we want is called:
It is probably a record pointing to your CD-ROM drive, and that is why it has asked for XP installation CD. All we need do is change it to:
C:\\ or the path where the folder 'I386’ is.
Just double-click Source Patch setting and a new box will pop up so you can make the change. Restart the computer and run the command
Other problems with the SFC
Sometimes the CD-ROM drive letter change (perhaps by adding another hard disk, partition or hard disk) since Windows was first installed, it may be necessary to edit the registry key:
The Source Path is not specified the path to the I386 folder. Den kompletterar en mapp framåt för att nå mappen “I386”.
Example: Om katalogen “I386” 's
C:\\I386 the value for Source Path
Om problemet kvarstår och du har rätt väg för din “I386” mappen sedan mappen “I386” is damaged. För att lösa detta problem kopiera mappen “I386” from the CD onto the computer to reboot the system and then perform
sfc /scannow back.
Du har inte en original Windows CD med ett “I386”-mappen på den. If you have a recovery CD from your computer manufacturer, you must explore the CD to find the folder.
You can still constantly asked for the Windows CD but you've done everything in this article! There is another setting in the registry that can cause this problem. Navigate to:
Se till att posten här är samma väg till mappen “I386” as above.
When you run scannow at logon you will get a progress bar.
This can be easily remedied by adding a new DWORD: SFCShowProgress to registry key:
The values ??available are: 0 = Off, 1 = Enabled