Interrupting chkdsk is not recommended. However, canceling or interrupting chkdsk should not leave the volume any more corrupt than it was before chkdsk was run. Running chkdsk again checks and should repair any remaining corruption on the volume.
If you choose to check the drive the next time you restart the computer, chkdsk checks the drive and corrects errors automatically when you restart the computer. If the drive partition is a boot partition, chkdsk automatically restarts the computer after it checks the drive.
You can also use the chkntfs /c command to schedule the volume to be checked the next time the computer is restarted. Use the fsutil dirty set command to set the volume's dirty bit (indicating corruption), so that Windows runs chkdsk when the computer is restarted.
You should use chkdsk occasionally on FAT and NTFS file systems to check for disk errors. Chkdsk examines disk space and disk use and provides a status report specific to each file system. The status report shows errors found in the file system. If you run chkdsk without the /f parameter on an active partition, it might report spurious errors because it cannot lock the drive.
Because repairs on FAT file systems usually change a disk's file allocation table and sometimes cause a loss of data, chkdsk might display a confirmation message similar to the following:
If you press Y, Windows saves each lost chain in the root directory as a file with a name in the format File.chk. When chkdsk finishes, you can check these files to see if they contain any data you need.
If you specify the /f parameter, chkdsk displays an error message if there are open files on the disk. If you do not specify the /f parameter and open files exist, chkdsk might report lost allocation units on the disk. This could happen if open files have not yet been recorded in the file allocation table. If chkdsk reports the loss of a large number of allocation units, consider repairing the disk.
Because the Shadow Copies for Shared Folders source volume cannot be locked while Shadow Copies for Shared Folders is enabled, running chkdsk against the source volume might report false errors or cause chkdsk to unexpectedly quit. You can, however, check shadow copies for errors by running chkdsk in Read-only mode (without parameters) to check the Shadow Copies for Shared Folders storage volume.
On servers that are infrequently restarted, you may want to use the chkntfs or the fsutil dirty query commands to determine whether the volume's dirty bit is already set before running chkdsk.
If it encounters errors, chkdsk pauses and displays messages. Chkdsk finishes by displaying a report that lists the status of the disk. You cannot open any files on the specified drive until chkdsk finishes.
If your PC feels buggy or slow, it could also be a sign that your hard drive is filling up or failing. Run a hard-drive test to rule out hard-drive failure before you run CHKDSK, and consider cleaning up your PC to get closer to the ideal amount of free hard drive space, which is 15-20%.
Because a CHKDSK scan can take time and manual effort, installing a PC optimizer tool may be a better option. Avast Cleanup removes junk files, increases startup speed, and maintains hard disk space to help your computer run smoothly all the time.
Make sure you know your home drive, in other words, which drive or drive partition on your PC contains Windows (usually the C drive by default). To test this, type c: and hit Enter. Then, type dir and click Enter. If Windows items appear in the directory, this is your home drive. Repeat that process for all drives until Windows items appear.
You can also install a clean Windows version from your bootable Windows media by following the steps above and selecting Install Now during step 3. We recommend backing up your data before installing a fresh Windows version.
Older versions of Windows can still run CHKDSK just like on Windows 10 and 11. You can run Error Checking from File Explorer or use CHKDSK commands for Command Prompt, just like in the guides above. All the commands are the same.
If your PC is running at snail speed even after running CHKDSK, you might need to defrag your PC to reorganize your system data. And be sure to check out our guides to cloning your hard drive, wiping an old drive clean, or formatting a hard drive.
When a CHKDSK scan is scheduled to run the next time you boot up your PC, it will run automatically. On an older or slower machine, this could increase your boot time significantly. But you can always schedule your CHKDSK scan to run later if you prefer to wait.
Enter the command chkntfs /t:[000]. The [000] should be substituted by the number of seconds (up to 259,200 seconds or 72 hours) you want CHKDSK to wait before scanning. For example, chkntfs /t:60 means CHKDSK will count down from 60 seconds before starting your hard disk scan.
There are different CHKDSK commands or parameters you can use to locate and repair issues on your hard drive. After running the basic CHKDSK command, you may not need to use additional commands if the results state that no repairs are required.
While your Task Manager is open, you should also check your disk usage percentage, which is shown in the Disk column. This number should remain under 20%. If you consistently find it hovering close to 100%, you need to identify the disk usage issue and fix it.
No. CHKDSK is not a data recovery tool and will not repair corrupted files or recover lost or damaged files. But it does check if the state of the information on your disk is safe and consistent, and CHKDSK can help you repair formatting issues with your hard drive.
CHKDSK makes sure the file system directory and contents of the drive match each other. It also ensures files are written to clean and undamaged parts of the disk. The result is fewer crashes and less data loss.
The chkdsk C: command runs CHKDSK on your C drive. For most people, the C drive is the main drive. With the same command, you can specify other disks you want to check by replacing chkdsk C: with chkdsk D: or any other letter corresponding to a specific drive.
The best way to fix corrupted files is to restore a previous Windows version from before the files were corrupted. You can also open Command Prompt, then type sfc /scannow and reboot your computer. Running CHKDSK commands can help avoid file corruption that can cause your computer to crash often.
Does this mean that these files are now corrupt? I'm mainly concerned about ISOs and executables. Unfortunately, I don't have hashes of them so I have nothing to check their integrity against after chkdsk finishes running.
The answer is, it depends. the file was at least in part occupying a bad cluster, which in effect corrupted the file. chkdsk reallocated the sector (pointed that address to a not-bad location on the disk surface) and attempted to copy the contents of the bad cluster to it. there is no guarantee however that the data in the source cluster could be fully recovered to the destination. if it was, your file is intact, but if it wasn't possible to recover the data completely and accurately, there will have been some corruption.
Does this mean that these files are now corrupt? The files were corrupt and Windows was able to repair the file Unfortunately, I don't have hashes of them so I have nothing to check their integrity against after chkdsk finishes running. I'm mainly concerned about ISOs and executables.
You will have to find those checksums depending on the file that chkdisk repaired shouldn't be hard. In the end corruption of a cluster was detected. You should restore the file from your backup source.
In such a case, the files will usually contain some meaningful clusters, and some clusters which contain unrelated data you have deleted in the past, such as files marked by the filesystem to be overwritten. So, sometimes even if a file is technically corrupt, you may be fortunate that the integrity of the file is not compromised.
However, it would be a good idea to check the integrity of the file with a tool that understands the specific file format, where possible. Such tools exist for most forms of disk image, database and media file.
In a case like this, one could use an hexadecimal editor and search if there is an abnormally long sequence of 00s interrupting an otherwise complex data area. Typically, if at some point you see a multiple of 512 bytes of blank data, starting at a 512 multiple offset relative to the begining of the file (sector boundary), in an area where there should be (seemingly) random characters (if it's a binary file), or a readable sequence of characters (if it's a text file), then you can be pretty sure that some corruption has occured.
Of course, for that to be manageable would at least require a least of the bad sectors' LBAs, it's not practically possible to check every single file like this. The best course of action if there are bad sectors on a storage unit is to first clone it with a suitable tool (ddrescue is often recommanded), then run CHKDSK or any other tool designed to attempt an in-place repair, which can succeed or fail but will never explicitly report what the actual outcome was. Otherwise, the only reasonable way to detect such errors is to be attentive to any kind of glitch when later reading / playing / running the files that were stored on that device, and then check them with the method indicated above.
d3342ee215