There is a very useful command tool in the Win7 system called chkdsk. I believe many people don't understand it. The full name of chkdsk is checkdisk, which means the disk check. The chkdsk command is used to check the disk and display the status report. So, how do you use chkdsk? Let's take a look together.
How to use
1. Click “Start”, click “Run”, enter cmd and press Enter to open the command prompt window;
2 Enter the following command in this window:
For example, check and repair the D partition:
chkdsk D: /f
Enter the chkdsk disk check tool to scan the D partition. , check other partitions are similar.
Detailed parameters are 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 fixes 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 clear message, display it.
/R Finds an incorrect sector and restores readable information (implicit /F).
/L:size For NTFS only: Change the log file size to the specified number of KB.
If no size is specified, the current size is displayed.
/X Force the volume to be removed first if necessary.
All open handles to the volume will be invalid (implicit /F).
/I For NTFS only: Performs a lesser check on index entries.
/C For NTFS only: Skip the loop check of the folder structure.
The /I and /C command line switches skip some checks on the volume, reducing the time it takes to run Chkdsk.
1. Report disk errors
The chkdsk command checks disk space and file allocation table (FAT) and NTFS file system usage. Chkdsk provides information specific to each file system in the status report. The status report shows the 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 the drive cannot be locked. Chkdsk should be used occasionally to check for errors on each disk.
2, repair disk errors
The chkdsk command fixes disk errors only by specifying the /f command line option. Chkdsk must be able to lock the drive to correct the error. Since the fix usually changes the disk's file allocation table and sometimes loses data, chkdsk will first send a confirmation message like this:
10 lost allocation units found in 3 chains.
Convert lost chains to files?
If you press Y, Windows saves all missing chains in a file called Filennnn.chk in the root directory. After chkdsk is finished, you can see if these files contain the required data. If you press N, Windows repairs the disk, but for missing allocation units, it does not save its contents.
If you do not use the /f command line option, chkdsk will send a message when there is a file to fix, but it does not fix any errors.
If you use chkdsk /f on a large disk (for example, 70 GB) or a disk with a large number of files (millions), this can take a long time (say, a few days) to complete. Because chkdsk does not give control until the job is completed, the computer will not be available during this time.
3, Check FAT Disks
Windows displays the chkdsk status report for FAT disks in the following format:
4. Check NTFS disks
Windows in the following format Display chkdsk status report for NTFS disks:
Use chkdsk with open file
If there is an open file on the drive, chkdsk will send an error after specifying the /f command line option Message. If the /f command line option is not specified and an open file exists, chkdsk reports the missing allocation unit on the disk. This can happen if the open file 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 physical corrupted files, see “”.
6. Reporting bad sectors on disk
When the disk is ready to run for the first time, the bad sectors reported by chkdsk are marked as corrupt. They are not dangerous.
Solution:
1, click the Start menu & mdash; & mdash; run & mdash; & mdash; which then enter chkdsk c: /f copied directly into it, Enter.
2, with a black frame as shown in FIG let you choose you press Y or N to Y and press Enter.
3, do not move to restart anything, do not move the mouse and keyboard are then let the computer automatically fix the boot will be OK.
there may be situations:
1, there will be such a situation as shown This is because you have to repair the disk format is FAT32 file system attributes from the command is only with repair NTFS format (I use the E drive instead of the C disk because the NTFS format)
2, so first you have to determine what repair disk format The figure can be viewed.
3, right-click the disk properties can also be viewed, if not FAT32 NTFS is the case, but also one more step and then enter a conversion command Convert c: /fs: ntfs [If you want to convert a Change the other disk inside it, just change it, such as d disk Convert d: /fs: ntfs 】 run, press Enter.
These are the Win7 system using the following method chkdsk command to detect the disk, users have encountered the same problem, try the above procedure, or you can also refer to "Windows system comes How to use chkdsk disk repair tool.
How to use the Win7 system diary document? The Win7 system uses a lot of Word or text documents for
Now that the Internet is so developed, you can use face-to-face video chat with the
Normally, users will put the URL into their favorites, which will make it easier to open next time.
win7 accidentally uninstall TCP/IP protocol How to reinstall 1. Right click on the network icon in
Win7 registry implementation only view the "items" step
How to find the recorder in the attachment in Win7
Win7 64-bit system input account password login black screen how to deal with
What should I do if the Win7 Installer Task Manager does not respond when I shut down the process?
Win7 open web page encountered DNS no response situation and solution
Win7 system laptop graphics card can be changed?
Win7 can not start windows media center solution
What special effects can this desktop computer play with gta5 and watchdog? Thank you
Win7 two ways to find the computer name through ip address
Font installation method in Win7 system
Win7 boot prompts have not been logged in for a long time. Remember how the password has expired.
Win10 WP recovery tool (Windows Phone recovery tool) can not be installed solution
Win8 upload and create documents in SkyDrive guide
How to divide more than 4 Win8 partitions?
Solve the compatibility problem between 64-bit win7 and DNF
Microsoft is testing the Astoria app in the Win10 app store
Win7 system text unclear adjustment skills
How to use the command to view the win7 system activation information