SFC - restores the original files in Windows

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 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: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 – 'Hide protected operating system files'.

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:\\ 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 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:

# 4

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.

# 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\\SourcePathSe till att posten här är samma väg till mappen “I386” as above.

# 6

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:HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon
The values ??available are: 0 = Off, 1 = Enabled