How to Use CHKDSK (Check Disk) to Find and Fix Hard Drive Errors in Windows 11 and 10

CHKDSK (short for Check Disk) is a free tool built into Windows that scans your hard drive for file system errors and fixes them.

Running CHKDSK can also find bad sectors, damaged areas of the drive, and try to rescue the data stored in them.

File system errors and bad sectors are often behind a computer that runs slowly, feels buggy, freezes, or has files that suddenly won’t open.

In this guide I’ll show you how to use CHKDSK in Windows 11 and Windows 10, the easy way from File Explorer and the thorough way from Command Prompt. I’ll also explain the difference between chkdsk /f and /r, how long a scan takes, and where to find the results.

The Short Version

The easy way: open File Explorer, click This PC, right-click your drive, click Properties, open the Tools tab, click Check, then Scan drive.

The thorough way: open Command Prompt as an administrator, type chkdsk c: /r and press Enter. Type Y when asked, then restart your PC to start the scan.

What Does CHKDSK Do?

Your hard drive keeps an index of where every file is stored, called the file system. If the PC crashes, loses power or is switched off at the wrong moment, that index can get muddled. Files go missing, won’t open or show the wrong size.

CHKDSK checks the file system for mistakes like these and puts them right. That’s the /f part of the command, which stands for fix.

It can also read every part of the drive looking for bad sectors. When it finds one, it moves any data it can still read to a healthy part of the drive and marks the bad sector so Windows never uses it again. That’s the /r part.

CHKDSK works on hard drives (HDDs), solid state drives (SSDs), USB sticks, memory cards and external drives. It checks one drive letter at a time, so if your disk is split into several partitions, each one is checked separately.

Run CHKDSK From File Explorer

The easiest and quickest way to run a CHKDSK is from File Explorer. It checks the file system of the drive while you carry on using your PC, and it’s a good first step before deciding whether you need the more thorough scan.

Open File Explorer and click This PC in the left-hand pane.

Right-click your system drive, usually the C: drive, and click Properties.

Right-clicking the C drive in File Explorer to open its Properties and run CHKDSK.
Right-click your drive and then click Properties.

Check Drive

When the Properties window opens, click the Tools tab. Then, under Error checking, click the Check button.

The drive Properties window with the Tools tab and the Error checking Check button indicated.
Click the Tools tab and then the Check button.

You’ll probably see a message saying You don’t need to scan this drive.

That doesn’t mean the drive is definitely fine. Windows checks your drives quietly in the background as part of its automatic maintenance, and the message just means it hasn’t spotted anything yet.

To scan anyway, click Scan drive. On a USB stick or memory card the button says Scan and repair drive.

Clicking Scan drive on the You don't need to scan this drive message.
Click Scan drive.

When the scan finishes, click Close if no errors were found, or Show Details to see the full report.

Your drive was successfully scanned. CHKDSK didn't find any errors.
Great, no problems found.

If errors were found, Windows offers to Repair drive. Repairs to the C: drive happen when you restart, because Windows can’t fix the drive it’s running from while it’s in use.

Run CHKDSK From Command Prompt

CHKDSK works best when it’s run from Command Prompt. It can take the drive offline and scan both the file system and the surface of the drive for errors.

If you still think something’s wrong after running Error checking, this is the next step.

Click the Start button and type cmd. Right-click Command Prompt and click Run as administrator, then click Yes when Windows asks for permission.

Opening Command Prompt as an administrator from the Windows 11 Start menu to run CHKDSK.
Opening Command Prompt as an administrator in Windows 11.
Opening Command Prompt as an administrator from the Windows 10 Start menu.
Opening Command Prompt as an administrator in Windows 10.

In Windows 11 you can also right-click the Start button and click Terminal (Admin). CHKDSK works exactly the same there.

The Windows 11 Start button right-click menu with Terminal (Admin) highlighted.
Or right-click Start and open Terminal (Admin).

CHKDSK Command

Using Command Prompt isn’t like using Windows. There’s no point and click, you type commands in by hand. But it’s very powerful.

Type chkdsk, a space, the letter of the drive you want to check followed by a colon, another space, and then what’s called a switch. The switch tells CHKDSK what sort of scan to do.

The completed command looks like this:

chkdsk c: /r

When you’ve typed it, press Enter on your keyboard.

The chkdsk c: /r command typed into a Command Prompt window.
Type chkdsk c: /r

CHKDSK /F vs /R: Which Should You Use?

There are lots of CHKDSK switches, but for a home computer you only need to know two.

  • chkdsk c: /f checks and fixes file system errors. It’s fairly quick, often minutes rather than hours.
  • chkdsk c: /r does everything /f does, then also scans the surface of the drive for bad sectors and recovers what it can. It’s far more thorough and takes much longer.

There’s no need to type both, because /r already includes /f. If you type chkdsk c: on its own with no switch, CHKDSK only reports on the drive and doesn’t fix anything.

Which One Should I Use?

On an ordinary hard drive (HDD) that’s been playing up, use /r.

On an SSD, /f is all you need. Running /r on an SSD won’t harm it, but SSDs deal with worn-out areas themselves, so the bad sector scan just makes the check take longer.

For the full list of CHKDSK switches and what they do, see Microsoft’s chkdsk command page.

Cannot Lock Current Drive

If you’re checking your system drive (usually C:), you’ll see this message in the Command Prompt window:

Cannot lock current drive.
Chkdsk cannot run because the volume is in use by another process.
Would you like to schedule this volume to be checked the next
time the system restarts? (Y/N)

Don’t worry, this is normal. CHKDSK needs the drive all to itself to fix it, and it can’t have that while Windows is running from it.

Type the letter Y and press Enter. Then restart your computer to start the scan.

Chkdsk cannot run because the volume is in use. The letter Y has been typed to schedule the scan.
Type the letter Y (for Yes) and press Enter.

Your computer restarts and CHKDSK runs before Windows loads. With the /r switch there are 5 stages. The first 3 check the file system and the last 2 scan the drive itself.

CHKDSK scanning the drive for errors at startup.
CHKDSK has started checking the drive for errors.

When it’s finished, Windows starts as normal.

CHKDSK Not Working?

If CHKDSK gives you an error message instead, gets stuck, runs every time you start your PC, or you can’t get into Windows to run it, see my guide on what to do when CHKDSK is not working.

How Long Does CHKDSK Take?

It depends on the type of drive, how big it is, how full it is and which switch you used.

  • Error checking in File Explorer: usually a few minutes.
  • chkdsk /f on an SSD: often a few minutes.
  • chkdsk /f on a hard drive: anything from a few minutes to around an hour.
  • chkdsk /r on a hard drive: several hours on a large drive, sometimes overnight.

The bad sector scan is what takes the time, because CHKDSK reads every single part of the drive. A drive with lots of problems takes longer still.

Quick Tip

Start a /r scan when you won’t need the computer for a while, and plug a laptop into the mains first. Don’t switch the PC off part way through, even if the percentage seems to sit still for a long time.

Check a USB Stick or External Hard Drive

You can check a USB flash drive, memory card or external hard drive in exactly the same ways. Plug it in and find its drive letter in This PC, for example E:.

In File Explorer, right-click the drive and go to Properties, Tools, Check. From Command Prompt, use the drive’s own letter:

chkdsk e: /f

Because Windows isn’t running from the drive, CHKDSK starts straight away. You won’t need to restart.

If you plug in a drive and Windows says There’s a problem with this drive. Scan the drive now and fix it, that’s Windows offering to run this same check for you. It usually appears when a drive was pulled out without being ejected first.

If the drive doesn’t appear in This PC at all, CHKDSK can’t check it. See my guide to fixing a hard drive that’s not showing up, or look for it in Disk Management.

How to See the CHKDSK Results

When CHKDSK runs at startup, the results flash past before Windows loads. You can read them afterwards in the CHKDSK log, which Windows keeps in Event Viewer.

  1. Press Windows key + R, type eventvwr.msc and press Enter.
  2. In the left-hand pane, open Windows Logs and click Application.
  3. On the right, click Filter Current Log.
  4. In the Event sources list, tick Chkdsk and Wininit, then click OK.
  5. Double-click the newest entry to read the report.

Wininit holds the results of scans that ran when the PC restarted. Chkdsk holds the ones that ran while Windows was open.

Application and Filter Current Log highlighted in Windows 11 Event Viewer.
Click Windows Logs, then Application and then Filter Current Log.
Event sources drop down menu open and Chkdsk is selected.
Click the drop down menu to open it then scroll down and select Chkdsk. Scroll down again and select Wininit (it’s near the bottom of the list).
Event Viewer Filter Current Log with the Chkdsk and Wininit event sources ticked.
Filter the Application log to find the CHKDSK results.

Look for lines saying how many bad sectors were found and whether Windows made any corrections. 0 KB in bad sectors is what you want to see.

Backup Before Running CHKDSK

Is CHKDSK safe? For a healthy drive, yes. It’s a standard Windows tool and running it won’t harm your computer.

But when CHKDSK finds bad sectors, it moves whatever data it can rescue to a healthy part of the drive and marks the bad sectors as unusable. There’s always a slight chance that a file can’t be rescued. It doesn’t happen often, but it does happen.

Bits of files it couldn’t put back together can end up in a hidden folder called found.000 as files ending in .chk, which usually aren’t much use.

So before running a chkdsk /r scan, always back up any important files on your computer. Even if it’s just copying a few files onto a USB flash drive.

Quick Tip

If your drive is making clicking or grinding noises, or Windows warns that it’s failing, copy your files off first. A long /r scan works the drive hard, and on a dying drive that can be the last thing it does. A proper Windows backup is the best protection.

Frequently Asked Questions

Q: What does CHKDSK do?
A: CHKDSK checks your drive’s file system for errors and fixes them. With the /r switch it also scans the drive for bad sectors, moves any readable data to a healthy area and marks the bad sectors so they aren’t used again.

Q: How long does CHKDSK take?
A: Error checking from File Explorer usually takes a few minutes. chkdsk /f takes minutes to around an hour. chkdsk /r on a large hard drive can take several hours.

Q: Is CHKDSK safe to run?
A: Yes. It’s built into Windows and won’t harm a healthy drive. Back up important files before running chkdsk /r, because data in bad sectors can’t always be rescued.

Q: Should I use chkdsk /f or /r?
A: Use /r on a hard drive that’s been playing up, because it also checks for bad sectors. On an SSD, /f is all you need. /r includes /f, so you don’t need both.

Q: Can I run CHKDSK on an SSD?
A: Yes. chkdsk /f is the one to use. It won’t harm the SSD, and SSDs deal with worn-out areas themselves, so the /r bad sector scan isn’t needed.

Q: Why does it say chkdsk cannot run because the volume is in use?
A: Windows is running from that drive, so CHKDSK can’t have it to itself. Type Y and press Enter, then restart, and the scan runs before Windows loads.

Q: Does CHKDSK delete files?
A: Not normally. If it finds parts of files it can’t put back together, it may save them in a hidden found.000 folder, which is why it’s worth backing up first.

Q: How often should I run CHKDSK?
A: There’s no need to run it on a schedule, because Windows checks your drives in the background. Run it when your PC starts behaving oddly, files won’t open, or Windows warns about a drive.

Q: Will CHKDSK fix a failing hard drive?
A: No. It can work around bad sectors and fix file system errors, but it can’t repair worn-out hardware. If bad sectors keep appearing, copy your files off and replace the drive.

Summary

You can use CHKDSK to find and fix problems with your hard drive and its file system when your computer isn’t running well, particularly if it seems to be slowing down or files won’t open.

Start with Error checking in File Explorer. If you still suspect a problem, run chkdsk c: /r from Command Prompt and let it finish, which can take a while.

Then follow up by running a System File Checker (SFC) scan, which repairs damaged Windows files rather than the drive itself.

There’s no need to run CHKDSK on a timetable, because Windows keeps an eye on your drives for you. Run it whenever your PC starts playing up.

CHKDSK Not Working? How to Fix Common CHKDSK Errors
Error messages, stuck scans, and how to run CHKDSK when Windows won’t start.

How to Use DISM
Repair the Windows image when System File Checker can’t fix everything.

How to Start Windows in Safe Mode
Start Windows with the bare minimum loaded to track down problems.

Disk Management window showing a disk with a C: partition and a second disk with unallocated space

Format drives, change drive letters and resize partitions with the tool built into Windows

You can find this and other related step by step guides in – At Home PC Tech Guides

Written by Jeff Porter. I’ve been fixing Windows PCs since 2010 and I’m CompTIA Network+ certified. More about me

Scroll to Top