Scan and Fix Disk Errors in Windows 10: Complete Guide
In this article
Yes, you can scan and fix disk errors in Windows 10 using the built-in Check Disk (chkdsk) utility. This tool identifies file system corruption, bad sectors, and logical errors that cause slow performance or data loss, then repairs them automatically if permitted. You need administrator privileges to run these commands effectively.
What You'll Need
- A Windows 10 PC with administrator access
- Access to Command Prompt or PowerShell
- Sufficient time for the scan to complete (ranging from minutes to hours depending on drive size)
Step-by-Step
- Open an Elevated Command Prompt: Click the Start button, type
cmd, right-click "Command Prompt" in the results, and select "Run as administrator." If prompted by User Account Control, click Yes. - Identify Your Drive Letter: Determine which drive you want to check. Usually, this is
C:for your main system drive, but it could beD:or another letter for external drives. - Run a Quick Scan: Type the following command and press Enter:
chkdsk C: /f. ReplaceC:with your specific drive letter. The/fparameter tells the tool to fix any errors it finds. - Handle System Drive Restrictions: If you are scanning the C: drive (where Windows is installed), you will see a message stating that the volume is in use. The tool will ask if you want to schedule the scan for the next restart. Type
Yand press Enter. - Restart Your Computer: Save all open work and restart your PC immediately. During the boot process, before Windows loads, the Check Disk utility will run automatically and repair issues.
- Deep Scan for Bad Sectors: For a more thorough check that attempts to recover readable information from physically damaged areas, use the command:
chkdsk C: /r. Note that/rincludes the functionality of/f, so you do not need both flags together. - Review Results: After the scan completes, you can view the detailed log by typing
wevtutil qe Microsoft-Windows-DiskDiagnostic/Operational /c:5 /q:*[System[Provider[@Name='Microsoft-Windows-DiskDiagnostic']]]in Event Viewer, or simply read the summary displayed at the end of the chkdsk output.
Common Mistakes
Many users attempt to run chkdsk while the target drive is actively writing data, which causes the command to fail or hang. Always ensure no programs are accessing the files on that drive. Another frequent error is forgetting to run the command prompt as an administrator; without elevated privileges, the tool cannot write fixes to the file system and will only report errors without correcting them. Additionally, users often confuse /f (fix logical errors) with /r (locate bad sectors and recover data). Using /r on a healthy drive is unnecessary and significantly slower than /f.
Tips
Always back up important data before running deep scans, although chkdsk is generally safe. If your computer fails to boot because of severe file system corruption, you can run chkdsk from the Windows Recovery Environment by selecting "Troubleshoot" > "Advanced options" > "Command Prompt." Keep your antivirus software updated, as some malware disguises itself as system processes that interfere with disk checks. Regularly defragmenting mechanical hard drives (HDDs) improves chkdsk speed, but never defragment SSDs as it reduces their lifespan without providing performance benefits.
Troubleshooting
If the scan reports "The type of the file system is NTFS. Volume dirty flag is set," it means the drive was not ejected safely previously. Running chkdsk /f will clear this flag. If chkdsk gets stuck at a certain percentage, do not force restart immediately. Let it sit for several hours; large drives with many errors can appear frozen during the recovery phase. If it truly hangs for days, check the event viewer for I/O errors indicating physical hardware failure. In cases where the drive is unreadable, consider using third-party recovery tools before attempting further repairs, as repeated failed chkdsk runs can worsen physical damage.
Frequently Asked Questions
Can chkdsk recover deleted files?
No, chkdsk repairs file system structures and bad sectors. It does not restore files that have been explicitly deleted by the user. Use dedicated data recovery software for that purpose.
Is it safe to run chkdsk on an SSD?
Yes, it is safe. However, since SSDs do not have moving parts, they do not suffer from physical bad sectors in the same way HDDs do. The /r parameter is less relevant for SSDs, though /f remains useful for logical errors.
Why does chkdsk take so long?
The duration depends on the drive size, speed, and the number of errors found. A full /r scan on a large HDD can take many hours. Larger drives with fragmented files also take longer to verify.
What if chkdsk says the drive is locked?
This usually happens if you try to check a drive that is currently in use by another program or the operating system. Close all applications using the drive, or schedule the scan for the next reboot as instructed.
How do I know if my hard drive is failing?
Look for recurring chkdsk errors, strange noises (clicking or grinding in HDDs), frequent blue screens, or missing files. These signs often indicate physical hardware degradation rather than just logical errors.
Can I run chkdsk remotely?
You can run chkdsk on remote computers using administrative shares and scheduled tasks, but it requires significant configuration. It is generally easier to perform the scan locally on the machine experiencing issues.