10-61Lesson 5 Maintaining Disks with Disk Defragmenter, Check Disk, and Disk CleanupTable 10-7
Check Disk Options
Check box Description
Select this check box to have Windows XP Professional attempt to
Automatically Fix File
repair file system errors found during disk checking. All files must
System Errors
be closed for this program to run. If the drive is currently in use, a
message asks if you want to reschedule the disk-checking for the
next time you restart your computer. Your drive is not available to
run other tasks while the disk is being checked.
Scan For And Attempt
Recovery Of Bad Sectors
repair file system errors found during disk checking, locate bad sec-
tors, and recover any readable information located in those bad
sectors. All files must be closed for this program to run. If the drive
is currently in use, a message asks if you want to reschedule the
disk-checking for the next time you restart your computer. Your
drive is not available to run other tasks while the disk is being
checked. If you select this check box, you do not need to select
Automatically Fix File System Errors because Windows XP Profes-
sional attempts to fix any errors on the disk.
Note Check Disk runs in five phases: file verification, index verification, security descriptor
verification, file data verification, and free space verification.
You can also use the command-line version of Check Disk. The command-line syntax
for Chkdsk is as follows:
Chkdsk [volume[[path]filename]]] [/f] [/v] [/r] [/x] [/i] [/c] [/l[:size]]The switches used by Chkdsk are explained in Table 10-8.
Table 10-8 Chkdsk Switches
Switch Description
filename Specifies the file or set of files to check for fragmentation. You can use the wild-
cards * and ?. This switch is valid only on volumes formatted with FAT12, FAT16,
and FAT32 file systems.
path Specifies the location of a file or set of files within the folder structure of the vol-
ume. This switch is valid only on volumes formatted with FAT12, FAT16, and FAT32
file systems.
size Changes the log file size. You must use the /l switch with this switch. This switch is
valid only on volumes formatted with NTFS.
volume Specifies the drive letter (followed by a colon), mount point, or volume name. This
switch is valid only on volumes formatted with FAT12, FAT16, and FAT32 file sys-
tems.
/c Skips the checking of cycles within the folder structure. This switch is valid only on
volumes formatted with NTFS.
/f Fixes errors on the volume. If Chkdsk cannot lock the volume, you are prompted
to have Chkdsk check it the next time the computer starts.
/i Performs a less-vigorous check of index entries. This switch is valid only on vol-
umes formatted with NTFS.
/l Displays the current size of the log file. This switch is valid only on volumes for-
matted with NTFS.
/r Locates bad sectors and recovers readable information. If Chkdsk cannot lock the
volume, you are prompted to have Chkdsk check it the next time the computer
starts.
/v On volumes formatted with FAT12, FAT16, or FAT32, displays the full path and
name of every file on the volume. On volumes formatted with NTFS, displays any
cleanup messages.
/s Forces the volume to dismount first, if necessary.
/? Displays this list of switches.
Used without parameters, Chkdsk displays the status of the disk in the current volume.
How to Free Up Disk Space with Disk Cleanup
You can use Disk Cleanup to free up disk space by deleting temporary files and unin-
stalling programs. Disk Cleanup lists the temporary files, Internet cache files, and
unnecessary programs that you can safely delete. To access Disk Cleanup, select the
drive you want to check in Windows Explorer or My Computer. On the File menu,
click Properties, and in the General tab, click Disk Cleanup. The Disk Cleanup dialog
box is shown in Figure 10-24, and its options are explained in Table 10-9.
Bạn đang xem 10 - - MICROSOFT PRESS MCSA MCSE SELF PACED TRAINING KIT EXAM 70 270 PHẦN 5 PPT