The meaning of the use of SFC parameters in win xp system is

  

There are such kinds of parameters in win xp system, which are dazzling, but the most famous one is sfc parameter. Everyone should have certain parameters for this parameter. Understand and everyone knows the basic usage of sfc in windows xp, but the meaning of the parameters in the command line is different from the introduction in "Help and Support", which affects the user's use to a certain extent. Use to introduce its meaning.

1. In the general media, when introducing the use of sfc, for example, input sfc /scannow to run sfc (system file check), but in fact, Windows file protection is always enabled, only by default, only It is necessary to use sfc /scannow, sfc /scanonce or sfc /scanboot to repair the contents of the Dllcache directory when the Dllcache folder is corrupted or unusable.

Tip: File Protection When you install software other than the operating system, you may overwrite some shared system files, such as dynamic link libraries (“*.dll” files) and executables (&ldquo ; *.exe & rdquo; file), etc., after the coverage, the system may not be stable anymore. Since Windows 2000, Microsoft has added file protection function, Windows file protection function can prevent protected system files from being replaced. Windows File Protection can detect attempts by other programs to replace or move protected system files. If the file version is incorrect, Windows File Protection will replace the file from the Dllcache folder (also known as the file-protected cache, located in the system32 folder of the system directory) or the Windows 2000/XP installation CD.

2. About the meaning of sfc /revert, for example, if you run sfc /scanboot, you will automatically run sfc every time you enter windows xp, in the system configuration utility & rdquo; If you want to disable it, you can run sfc /revert to restore it to the default state.

3. sfc /purgecache can clear the "Windows File Protection" file cache, that is, delete all the contents of the dllcache folder, of course, for the hard disk users, of course, but from this windows xp Lost the ability to restore the system files, so the compromise should be to reduce the size of the folder appropriately, /cachesize=x parameters can be set to "Windows File Protection" file cache size, the default size is 102M, the minimum value is 15M, you can set according to the situation, Windows will adjust according to the importance of the file (of course, you can also increase the folder). The meaning of other parameters will not be described again.

4. Disable file protection If you want to disable file protection, you can enter gpedit.msc in "start →run" in the following way, in “local computer strategy →computer configuration &rarr In the management template → system & rdquo; found "windows file protection", double-click "windows file protection scan" in the right window, enter the "set" & rdquo; tab, select “ disabled > Here you can also set the scan frequency for file protection and the location of the specified cache.

About sfc parameters In addition to the basic usage to learn, the meaning of these methods is more important. If you don't understand his meaning, you don't know why you should use this parameter, so the above tutorial summary Let's take a look at these.

Copyright © Windows knowledge All Rights Reserved