How To Fix Disk Errors with Check Disk Utility (CHKDSK)

Disk errors can slow down your computer, cause random crashes, or even lead to data loss. Windows includes a built-in tool called Check Disk Utility (CHKDSK) that can help you detect and fix these problems before they get worse. Knowing how to use CHKDSK is a practical skill for anyone who wants to keep their PC running smoothly.

What Does CHKDSK Do?

CHKDSK stands for 'Check Disk' and is a Windows utility that scans your drives for file system errors and bad sectors. File system errors occur when files or folders become corrupted, often after unexpected shutdowns or hardware failures. Bad sectors are physical parts of the hard drive that can no longer reliably store data. CHKDSK can fix many file system errors automatically and mark bad sectors so Windows avoids using them.

This utility works with traditional hard drives, SSDs, external drives, and USB flash drives. It can repair issues on drives formatted with NTFS or FAT32. However, while CHKDSK is powerful, it can't fix physical hardware damage or rescue data from completely dead drives. It's best used as a first step when you notice disk-related problems like slow access, missing files, or system crashes.

How To Run CHKDSK from File Explorer

If your computer is still booting into Windows, the simplest way to run CHKDSK is through File Explorer. Open File Explorer and right-click the drive you want to check, then select 'Properties.' Next, switch to the 'Tools' tab and click on the 'Check' button under 'Error checking.' Windows will scan the drive for errors and may offer to repair them. For minor issues, this process is quick and doesn't require any technical steps.

Be aware that if errors are found, Windows might ask you to schedule the scan the next time you restart your computer. This is common when scanning your main system drive (C:), since files may be in use while Windows is running. In that case, save your work and restart as prompted to let CHKDSK do its job.

Using CHKDSK in Command Prompt

For more control, or if you want to run advanced repair options, use CHKDSK from the Command Prompt. Search for 'cmd' in the Start menu, right-click on 'Command Prompt,' and choose 'Run as administrator.' In the black window that appears, type the following command to check and fix errors on the C: drive:

  • chkdsk C: /f

The '/f' flag tells CHKDSK to fix any errors it finds. If you want the utility to also search for bad sectors and try to recover readable data, add '/r' like this:

  • chkdsk C: /f /r

This scan can take a long time, especially on large or slow drives, but it's thorough. If you run CHKDSK on your system drive, you'll probably be asked to schedule it for the next reboot. Type 'Y' and restart your PC to let the scan begin before Windows loads.

Understanding CHKDSK Output and Logs

Once CHKDSK completes, it provides a detailed report of what it found. This includes the number of file system errors corrected, the number of bad sectors detected, and any files it could not repair. Pay attention to messages about 'bad sectors' or 'Windows has made corrections to the file system.' If you see a high number of bad sectors, your drive may be failing and it's wise to back up your data immediately.

CHKDSK logs its findings in the Windows Event Viewer. Open Event Viewer by searching for it in the Start menu. Under 'Windows Logs,' select 'Application' and look for 'Wininit' entries with 'CHKDSK' in the description. This is useful if the output during boot is too quick to read or if you want to keep a record for troubleshooting later.

When and Why To Use CHKDSK

Run CHKDSK if you notice symptoms like slow file access, missing files, repeated system crashes, or strange error messages about disk problems. It's also a good idea to run it after an improper shutdown, power outage, or forced restart. CHKDSK is not just for emergencies - using it a few times a year as routine maintenance can catch small issues before they become bigger problems.

For solid-state drives (SSDs), CHKDSK is still safe, but you usually won't see 'bad sectors' in the same way as with spinning hard drives. Instead, look for file system errors or problems with data integrity. If you're using an external USB drive or SD card, CHKDSK can help recover data from mild corruption caused by unsafe removal or interrupted transfers.

What To Do If CHKDSK Can't Fix the Problems

If CHKDSK reports errors it can't fix, or if the same problems keep returning, the drive may be physically damaged or nearing the end of its life. Back up your data as soon as possible to another drive or cloud storage. Consider replacing the hard drive or SSD before a total failure occurs. Persistent 'bad sector' messages or growing numbers of unreadable sectors are strong warning signs.

In rare cases, CHKDSK itself may freeze or hang, especially on severely damaged drives. If this happens, restart your computer and try again, or run diagnostic tools from the drive manufacturer for a deeper analysis. If the drive holds important data that you can't replace, consult a professional data recovery service instead of repeated scans, which could make things worse.

Tips For Using CHKDSK Safely

Before running CHKDSK with repair options ('/f' or '/r'), back up important files if possible. There's a small risk that repairing file system errors could make some data inaccessible, especially if there is already heavy corruption. Avoid interrupting CHKDSK once it starts, even if it seems stuck; stopping the process suddenly can lead to further damage.

For laptops, connect to power before running a scan that could take hours. If you're running CHKDSK on an external drive, make sure the cable is secure and avoid unplugging the device until the scan is done. After CHKDSK finishes, always review the results for clues about your drive's health and consider running it again if you keep seeing new errors.

Frequently asked questions

Will CHKDSK delete my files?

CHKDSK does not delete healthy files, but during repairs it may move or remove severely corrupted files or orphaned fragments. Always back up important data first.

How long does CHKDSK take to run?

It depends on drive size, speed, and how many errors are present. Simple scans may finish in minutes, while a full scan with '/r' on a large drive can take several hours.

Can I use my computer while CHKDSK is running?

You can use your PC during scans on non-system drives, but repairs work best when files are not in use. For system drives, CHKDSK usually runs before Windows starts.

Is CHKDSK safe for SSDs?

Yes, CHKDSK is safe for SSDs. It checks the file system for errors and does not wear out the drive, but most SSD problems are best diagnosed with manufacturer tools.