How to use the sfc tool in Windows
sfc /scannow
System File Checker is a tool in Windows that allows users to scan the corrupt files in the system. Now in Windows we have a much more refined protection for 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:sfc /scannow
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: C:\Windows\System32\Dllcache
(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 – ’Dölj skyddade systemfiler’.
Recommend copying the I386 folder to hard drive from Windows installation CD.
Step 1
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: C:\\I386
Step 2
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:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup
You will see various entries here on the right side. The one we want is called:SourcePath
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:\
eller den sökväg där mappen ’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 commandsfc /scannow
.
Other problems with the SFC
# 1
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:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePat
# 2
OBS!
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath
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 C:\
.
# 3
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 CD to computer reboot system and then perform again.sfc /scannow
# 4
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.
# 5
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:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath
Be sure to post here is the same path to the folder ”I386” as above.
# 6
When driving scannow
upon login, you will receive a progress bar.
This can be easily remedied by adding a new DWORD: SFCShowProgress to registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
The values ??available are: 0 = Off, 1 = Enabled
–