How to scan system files and replace correct one:-
| Syntax | |
| sfc |
Description:-
Scans and verifies the integrity of all protected system files and replaces incorrect versions files with correct versions files.
Examples 1:-
sfc [/scannow] [/verifyonly] [/scanfile=<file>] [/verifyfile=<file>]
[/offwindir=<offline windows directory> /offbootdir=<offline boot directory>]
[/offwindir=<offline windows directory> /offbootdir=<offline boot directory>]
Specified full path and filename before typing command:-
sfc /scannow ( Scans the integrity of all protected system files and repairs files with problems when possible.)
sfc /verifyonly Scans integrity of all protected system files. No repair operation is performed.
sfc /scanfile Scans integrity of the specified file and repairs the file if problems are detected, when possible.
sfc /verifyfile verifies the integrity of the specified file. No repair operation is performed.
sfc /offwindir Specifies the location of the offline windows directory, for offline repair.
sfc /offbootdir Specifies the location of the offline boot directory for offline
type the individual command in dos prompt
sfc /scanfile Scans integrity of the specified file and repairs the file if problems are detected, when possible.
sfc /verifyfile verifies the integrity of the specified file. No repair operation is performed.
sfc /offwindir Specifies the location of the offline windows directory, for offline repair.
sfc /offbootdir Specifies the location of the offline boot directory for offline
Sample programme for System File checker.......:-

No comments:
Post a Comment