In addition, the utility automatically
cleans up any viruses that it finds.
Verifying System Files with the SFC Utility
The System File Scan (SFC) utility can help you keep viruses at bay by ensuring you have the correct
version of the system files on your system. Viruses often replace system files with patched versions
that contain the virus code. Hitchhiking on an existing system file makes it less likely that someone
will remove the virus and ensures the virus gets a chance to run, so virus writers are motivated to
use system files whenever they think they can. This utility uses the following syntax:
SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=
] [/VERIFYFILE=]
[/OFFWINDIR=
/OFFBOOTDIR=]
NOTE
The syntax of the SFC utility presented in this chapter is specific to Vista, Windows Server
2008 Full version, and Server Core. The syntax is completely different from older versions of SFC
that you find in products such as Windows XP. The older windows products use a command line that
looks like this:
SFC [/SCANNOW] [/SCANONCE] [/SCANBOOT] [/REVERT] [/PURGECACHE]
[/CACHESIZE=x]
.
Pages:
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190