Windows Vista System File Integrity Check Method

  

Malware or viruses often achieve the goal of invading the system by modifying system files. Therefore, ensuring the integrity of system files becomes the first line of defense to maintain system security and normal operation. In general, when there is a problem with our Windows system, we can restore the modified system file to the correct version by booting from the installation disk and entering the repair mode. However, this is relatively cumbersome. In fact, we can pass The system file checking tool integrated in Windows Vista is implemented without having to reboot the system. This is sfc.exe, which scans the integrity of all protected system files and replaces the damaged version with the correct version.

It should be noted that although Windows XP also has the same system file integrity check tool SFC.exe, its parameters and options have changed in Windows Vista.

To use this tool, you need to enter a command line window with administrator privileges. The format of sfc.exe used in Windows Vista is as follows:

SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE= ] [/VERIFYFILE= ]

[/OFFWINDIR= /OFFBOOTDIR= ]

where: /Scannow : scans the integrity of all protected system files and automatically fixes the file in question;

/VerifyOnly : scan only without repair;

/ScanFile : scans the integrity of the specified file, performs a repair if there is a problem (requires a full path);

/VerifyFile : scans only the integrity of the specified file without repairing the full path;

/OffBootDir : Specify the boot directory location when offline repair;

/OffWinDir : Specify the Windows directory location when offline repair;

For most users, maybe The most common command is sfc /scannow, which passes the corresponding work to the SFC automatically. The following figure shows the running example:


Copyright © Windows knowledge All Rights Reserved