To fix hard drive errors in Windows 10, run the built-in Check Disk utility (chkdsk) from an elevated Command Prompt or PowerShell. The command chkdsk C: /f /r scans the drive, repairs file system errors, and recovers readable data from bad sectors.
What chkdsk Actually Does
chkdsk (Check Disk) is a Windows utility that verifies the logical integrity of a file system and, optionally, the physical surface of the disk. It works with NTFS, FAT32, and exFAT volumes. The tool performs two main tasks:
- File system repair: Fixes errors in the Master File Table (MFT), directory entries, and file metadata. This includes orphaned files, incorrect timestamps, and invalid security descriptors.
- Bad sector recovery: Marks physically damaged sectors as unusable and attempts to recover readable data from them. This is only done when you use the
/rflag.
chkdsk is not a defragmenter or a disk cleaner. It does not speed up a slow PC or free up space. It only addresses corruption and physical media issues.
When You Should Run chkdsk
Run chkdsk when Windows itself suggests it, or when you see specific warning signs. Common triggers include:
- A blue screen error mentioning
NTFS_FILE_SYSTEMorKERNEL_DATA_INPAGE_ERROR. - Files suddenly becoming unreadable or folders disappearing.
- Windows hangs during boot or while copying files.
- A previous chkdsk scheduled at startup that you skipped.
- After an unexpected power loss or system crash.
If your drive is making clicking sounds, is not detected in BIOS, or has been dropped, chkdsk is not the right tool—those symptoms point to physical failure, and further use may cause more data loss.
How to Run chkdsk in Windows 10
You need administrator privileges to run chkdsk with repair options. Here are the steps:
- Right-click the Start button and select Windows PowerShell (Admin) or Command Prompt (Admin).
- Type
chkdsk C: /f /rand press Enter. ReplaceC:with the letter of the drive you want to check. - If the drive is in use (like the system drive), Windows will ask if you want to schedule the scan for the next restart. Type
Yand press Enter. - Restart your PC. The scan will run before Windows fully loads, showing a progress percentage. It may take a long time on large drives.
For a read-only scan that does not require a reboot, use chkdsk C: without flags. This reports errors but does not fix them.
Understanding chkdsk Flags and Options
The most useful switches are:
/f– Fixes errors on the disk. Requires the volume to be locked./r– Locates bad sectors and recovers readable information. Implies/f./x– Forces the volume to dismount before scanning. Use only if you have no open files on that drive./scan– (NTFS only) Online scan that runs without locking the volume, available in Windows 10./spotfix– (NTFS only) Fixes issues found by the online scan, without a full offline pass.
For most home users, chkdsk C: /f /r is the correct choice. The /r flag includes /f, so you do not need both. Running /r makes the scan much slower because it reads every sector, but it is the only way to handle bad sectors.
Common Problems and Misconceptions
One common misconception is that chkdsk can fix a physically failing drive. It cannot. It only marks bad sectors, so the drive may continue to degrade. If chkdsk finds a large number of bad sectors, back up your data immediately and replace the drive.
Another issue: chkdsk appears to “hang” at a certain percentage. This is normal, especially on large drives or when it encounters a bad area. Do not interrupt it. Let it run overnight if needed.
If chkdsk reports errors but cannot fix them, the drive may have serious corruption or physical damage. Try running chkdsk C: /f from the Windows Recovery Environment (WinRE) if the normal boot fails. You can access WinRE by booting from a Windows 10 installation USB and selecting “Repair your computer.”
Also note that chkdsk is not a substitute for a backup. Even if it repairs errors, you should have a current backup of important files.
chkdsk vs. Other Disk Tools
Windows 10 includes other disk utilities that are often confused with chkdsk:
- Disk Cleanup / Storage Sense: Frees up space by deleting temp files and old Windows updates. Does not fix errors.
- Defragment and Optimize Drives: Rearranges data for faster access on HDDs. Not needed for SSDs, and does not repair corruption.
- Windows Error Checking (GUI): A graphical front-end for chkdsk. Right-click a drive in File Explorer → Properties → Tools → Check. It runs the same utility but with limited options.
- DISM and SFC: Repair Windows system files, not user data or drive errors. Use them if chkdsk does not fix boot problems.
What to Do If chkdsk Doesn’t Fix the Problem
If chkdsk completes but the drive still has issues, consider these steps:
- Back up all data you can access immediately.
- Check the drive’s SMART status using a third-party tool (or PowerShell:
Get-PhysicalDisk | Get-StorageReliabilityCounter). - Run
sfc /scannowandDISM /Online /Cleanup-Image /RestoreHealthto repair system files that may be causing repeated errors. - If the drive is an HDD, test it with the manufacturer’s diagnostic tool (if available). For SSDs, update the firmware.
- If errors persist, the drive is likely failing. Replace it and restore from backup.
Frequently Asked Questions
How long does chkdsk take in Windows 10?
It depends on the drive size, speed, and the flags used. A simple /f scan on a 1 TB HDD can take 1–2 hours. Adding /r can take several hours or even overnight. SSDs are faster but still slower than a normal boot.
Can I use my computer while chkdsk is running?
If you scheduled a scan at startup, no—the system is not usable until it finishes. If you run an online scan (/scan), you can continue working, but performance will be degraded.
Will chkdsk delete my files?
No. chkdsk repairs file system structures and recovers data from bad sectors, but it does not delete user files. In rare cases, it may move corrupted files to a hidden folder like found.000, but it never intentionally removes your data.
What is the difference between chkdsk /f and /r?
/f only fixes logical file system errors. /r also scans for bad sectors and attempts recovery, and it implies /f. Use /r if you suspect physical damage or if /f alone did not resolve the issue.
Do I need to run chkdsk on a new SSD?
No. New SSDs do not need chkdsk. Running it is not harmful, but it is unnecessary. SSDs handle bad blocks differently than HDDs, and Windows already manages them via the TRIM command and the SSD’s own controller.
Why does chkdsk run every time I boot?
This usually means a previous scan was interrupted or the dirty bit is set on the drive. To clear it, run chkdsk /f and let it complete fully. If it still runs every boot, check the event log for disk errors, as the drive may be failing.
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
- Fix Error 0x8007025d in Windows 10
- Fix Alexa App Stuck on Setup
- Android Camera for 7 Office Tasks: Step-by-Step
- Pair Phone to Pioneer Stereo After Bluetooth Reset
- Fix Windows Not Saving Remote Desktop Credentials
- Essential Tips for macOS Users Switching to Windows