Yes, chkdsk (Check Disk) is a built-in Windows utility that can fix many file system errors and bad sectors on a hard drive, but it cannot repair physical damage. It scans for logical corruption, such as invalid file entries, and marks physical bad sectors so the drive avoids them, but it won’t restore a drive that is failing mechanically.
What chkdsk Actually Does
chkdsk works at the file system level. On NTFS drives (the default for Windows), it checks the Master File Table (MFT), file metadata, and the overall directory structure. It looks for inconsistencies like orphaned file fragments, incorrect timestamps, or size mismatches. When it finds a problem, it attempts to repair it—for example, reconnecting a lost fragment to its file or deleting an invalid entry. It also performs a surface scan to find sectors that can no longer be read reliably. Those sectors are marked as bad in the file system, and the data that was there is moved to a healthy location if possible.
The key distinction is that chkdsk fixes logical errors, not physical ones. A clicking sound, a drive that disappears from BIOS, or a SMART warning like “Reallocated Sectors Count” indicates hardware failure. Running chkdsk on such a drive can actually worsen the situation by adding more read/write stress. In those cases, the priority should be backing up data immediately, not running chkdsk.
When to Use chkdsk
You should consider running chkdsk if you experience any of these symptoms:
- Files or folders that won’t open, or show “file is corrupt” errors.
- Unexpected system freezes or blue screen errors, especially ones mentioning
NTFS_FILE_SYSTEMorKERNEL_DATA_INPAGE_ERROR. - Slow performance that isn’t explained by other software.
- After a sudden power loss or improper shutdown, because the file system may be left in an inconsistent state.
- When Windows itself suggests running chkdsk during boot (the “Checking file system on C:” screen).
If your computer boots normally and you just want a routine check, you can run chkdsk in read-only mode first. That scans for errors without making changes. It’s a safe way to see if there’s a problem before committing to a repair.
How to Run chkdsk
There are two main ways to run chkdsk: from Command Prompt or from File Explorer. The Command Prompt gives you more control.
- Open Command Prompt as Administrator. Click Start, type
cmd, right-click “Command Prompt”, and select “Run as administrator”. - Type
chkdsk C: /fand press Enter. ReplaceC:with the letter of the drive you want to check. - If the drive is in use (usually the C: drive), Windows will ask if you want to schedule the scan for the next restart. Type
Yand restart.
The /f flag tells chkdsk to fix errors. You can add /r to also locate bad sectors and recover readable information. The /r flag implies /f, so you can just use chkdsk C: /r. For a read-only scan, omit both flags and just use chkdsk C:.
In File Explorer, right-click the drive, select Properties, go to the Tools tab, and click “Check” under Error checking. This is a simpler interface, but it doesn’t give you the option to use the /r flag directly. For a thorough scan, the Command Prompt method is better.
Common chkdsk Errors and Messages
You might see a few messages during or after the scan:
- “Windows has checked the file system and found no problems.” This is the best outcome—no errors found.
- “The type of the file system is NTFS.” This is informational, not an error.
- “Chkdsk cannot run because the volume is in use by another process.” This happens when you try to check the system drive without scheduling it. You’ll be prompted to schedule it for the next restart.
- “The disk check could not be performed because the disk is write-protected.” This usually means the drive is a read-only device (like some SD cards) or the file system is corrupted in a way that prevents writes. You may need to use a different recovery method.
- “Correcting errors in the Master File Table (MFT) mirror.” This is a repair message. It means chkdsk found that the backup MFT didn’t match the primary one and fixed it.
If chkdsk reports that it found bad sectors, it means the drive is physically degrading. You should back up your data immediately and replace the drive. The fact that chkdsk can mark them doesn’t mean the drive is safe to keep using.
chkdsk vs. Other Tools
chkdsk is not the only tool for drive health. Here’s how it compares to others:
- SMART (Self-Monitoring, Analysis, and Reporting Technology): This is a hardware-level diagnostic built into the drive itself. It monitors metrics like temperature, read error rate, and reallocated sector count. While chkdsk checks the file system, SMART checks the drive’s physical health. You can view SMART data in Windows with tools like
wmic diskdrive get statusin Command Prompt, or third-party utilities. If SMART says “Pred Fail,” the drive is failing, and chkdsk won’t help. - System File Checker (sfc /scannow): This scans and repairs Windows system files, not the file system. If you have corrupted system files, sfc is the right tool. chkdsk won’t fix those.
- DISM (Deployment Image Servicing and Management): This repairs the Windows system image itself. It’s a more advanced tool for when sfc fails. Again, it’s about Windows files, not the drive’s structure.
- Third-party tools like CrystalDiskInfo or HD Tune: These give you detailed SMART data and can run surface tests. They can be more informative than chkdsk about physical health, but they don’t repair file system errors.
In short, chkdsk is the right tool for file system corruption, but not for physical drive failure. If you’re unsure, check SMART data first. If that looks bad, back up and replace the drive. If SMART is fine, then chkdsk is a reasonable next step.
Safety and Precautions
Running chkdsk with the /f or /r flag can cause data loss in rare cases. If the file system is severely corrupted, chkdsk might not be able to recover a file and may delete it. This is more likely if the drive is failing physically. Therefore, always back up important data before running a repair scan. If you can’t back up because the drive won’t boot, you may need to use a Windows installation USB to access the recovery environment and run chkdsk from there.
Also, be aware that chkdsk can take a long time on large drives. A full scan with /r on a multi-terabyte drive can take several hours. It’s best to run it when you don’t need the computer. You can interrupt it with Ctrl+C, but that might leave the file system in a partially repaired state. It’s safer to let it finish.
Alternatives to chkdsk
If chkdsk fails to fix the problem, or if you’re dealing with a physically failing drive, here are some alternatives:
- Backup and restore: If you have a backup, you can restore your system to a clean state. This is often the fastest and most reliable solution.
- System Restore: If the errors started recently, you can try a system restore point before the issue began. This doesn’t fix drive errors, but it can fix system file corruption.
- Reset This PC: This reinstalls Windows while keeping your files (or not, depending on your choice). It can fix deep system issues, but it won’t repair physical drive damage.
- Replace the drive: If SMART data indicates failure, or if chkdsk keeps finding bad sectors, the only reliable fix is to replace the drive and restore from backup.
- Professional data recovery: If the data is irreplaceable and the drive is failing, a professional data recovery service may be able to extract data, but this is expensive and not guaranteed.
Remember, chkdsk is a first-aid tool, not a cure-all. For physical drive failure, there is no software fix.
Frequently Asked Questions
Does chkdsk fix bad sectors?
chkdsk can detect bad sectors and mark them so the drive won’t use them again, but it cannot repair them. Bad sectors are a physical defect. If you have a few, the drive can continue to work by avoiding them, but if the number grows, the drive is failing.
How long does chkdsk take?
It varies widely. A quick scan on a small drive might take minutes, while a full scan with /r on a large drive can take several hours. The time depends on the drive size, speed, and the number of errors.
Can I use my computer while chkdsk is running?
No, especially if you’re checking the system drive. chkdsk needs exclusive access to the volume. If you’re checking a secondary drive, you can continue using your computer, but it’s best to close all programs that access that drive.
What does chkdsk /r do?
The /r flag tells chkdsk to find bad sectors and recover readable information. It implies /f, which fixes file system errors. It’s a more thorough scan than just /f.
Will chkdsk make my hard drive faster?
If the slowness is caused by file system corruption or a few bad sectors, fixing those can improve performance. However, if the drive is physically failing, chkdsk won’t help, and the drive will continue to slow down until it fails.
Can chkdsk cause data loss?
Yes, in rare cases. If a file is severely corrupted, chkdsk might not be able to recover it and may delete it to keep the file system consistent. Always back up important data before running a repair scan.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Enable Automatic Image Blocking in Gmail on iPhone & iPad
- Microsoft Teams vs Google Meet: Key Differences
- How to Recover Deleted App Data on Android
- Fix Missing Advanced Display Settings in Windows 10
- How to Add God Mode to Windows 11 Context Menu
- Archive a Webpage with Images and CSS