How does Win7 system chkdsk work?

Source: Internet
Author: User
Tags file size root directory

1, click "Start", click "Run", enter CMD and return to open Command Prompt window;

2. Enter the following command in this window:

For example, check and repair D partitions:


A carriage return starts the chkdsk disk Check tool scans the D partition and checks for similar partitions.

Detailed parameter description is as follows:

CHKDSK [Volume[[path]filename]]] [/F] [v] [r] [/x] [/i] [/C] [/l[:size]]

volume Specifies the drive (followed by a colon), mount point

/F Repairs errors on the disk.

/V on Fat/fat32: Displays the full path and name of each file on the disk.

On NTFS: If there is a purge message, display it.

/R looks for incorrect sectors and restores readable information (implied/F).

/l:size for NTFS only: Changes the log file size to the specified number of kilobytes.

If no size is specified, the current size is displayed.

/x If necessary, force the volume to be unloaded first.

All open handles to the volume are invalid (implied/F).

/I is used only for NTFS: a less intensive check of index entries.

/C for NTFS only: Skips the looping check of the folder structure.

The/I and/C command line switches Skip some checks of the volume, reducing the time required to run Chkdsk.

1. Report Disk Errors

The chkdsk command checks disk space and file allocation tables (FAT) and the usage of the NTFS file system. Chkdsk provides information specific to each file system in the status report. Status reports show errors found in the file system. When you run Chkdsk on an active partition, if the/F command-line option is not included, it may report false information because it cannot lock the drive. You should not use Chkdsk regularly to check for errors on each disk.

2. Repair Disk Errors

The chkdsk command fixes a disk error only if you specify the/F command-line option. Chkdsk must be able to lock the drive to correct the error. Because repairs typically change the disk's file allocation table and sometimes lose data, CHKDSK first sends a confirmation message as follows:

Lost allocation units found in 3 chains.

Convert lost chains to files?

Pressing Y,windows saves all lost chains in the root directory in a file named FILEnnnn.CHK. After CHKDSK has finished, you can see if the files contain the data that you want. Pressing n,windows repairs the disk, but it does not save its contents for the missing allocation unit.

If you do not use the/F command-line option, CHKDSK sends a message when a file needs to be repaired, but it does not fix any errors.

If you use chkdsk/f on a large disk (for example, GB) or on a disk with a large number of files (millions of), this can take a long time (say, a few days) to complete. Because CHKDSK does not hand over control until the work is completed, the computer will not be available during this time period.

3, check the FAT disk

Windows Displays the Chkdsk status report for a FAT disk in the following format:

4. Check NTFS disk

Windows Displays the Chkdsk status report for NTFS disks in the following format:

Use CHKDSK with open files

If there is an open file on the drive, Chkdsk sends an error message when the/F command-line option is specified. If the/F command-line option is not specified and there is an open file, CHKDSK reports missing allocation units on the disk. This can happen if the file you open is not recorded in the file allocation table. If Chkdsk reports that a large number of allocation units are missing, consider repairing the disk.

5. Find Physical Disk errors

Use the/r command-line option to find physical disk errors in the file system. For information on using recover to repair physically damaged files, see.

6, Report disk bad sector

The bad sector that CHKDSK reports is marked as corrupted when the disk is first ready to run. They do not pose any danger.


1. Click the Start menu--run--and then enter CHKDSK C:/F to copy in directly, enter.

2, will appear as shown in the black box will let you choose Y or n you click y and then enter.

3, restart do not move anything, the mouse and keyboard do not move to automatically repair the computer and then the boot will be OK.

What is likely to happen:

1, as shown in the picture will appear like this is because you repaired the disk's file property is FAT32 format of the system with the command can only repair the NTFS format (I use e disk instead because of the C-disk NTFS format)

2, so first to determine what you are repairing the disk format as shown in the figure can be viewed.

3, right-click Disk properties can also be viewed, if it is not NTFS is FAT32 words, but also one more step to enter a conversion command convert C:/FS:NTFS "If you want to convert the other disk of the inside bar C change it, such as D-disk convert D:/fs:ntfs "Run out, enter."

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.