How to use the sfc tool in Windows
System File Checker är ett verktyg i Windows OS som tillåter användare skanna korrupta filer i systemet. 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
Det främsta skälet för att använda detta verktyg är när du misstänker att det kan finnas ett problem med en Windows system fil. A dialog box may appear informing you of a problem with a “.dll”-thread. 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 – Folders “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. It complements a folder ahead to reach the folder “I386”.
Example: About the Catalogue “I386” 's
C:\\I386 the value for Source Path
If the problem persists and you have the correct path for your “I386” folder, the folder “I386” is damaged. To solve this problem copy folder “I386” from the CD onto the computer to reboot the system and then perform
sfc /scannow back.
You do not have an original Windows CD with a “I386”-folder on the. 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:
Be sure to post here is the same path to the folder “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