What Chkdsk Does and When You Need It

Chkdsk is a Windows tool that scans your hard drive or external drive for errors and can repair some of them automatically. It checks the file system — the structure that organizes your files — and looks for bad sectors, which are small damaged areas on the drive that can't store data reliably. If Windows detects a problem during startup, it may run Chkdsk automatically, but you can also run it yourself whenever you want to check a drive's health.

You should run Chkdsk if your computer is running slowly, if you see error messages about corrupted files, if a drive isn't showing all its storage space, or if you've had an unexpected shutdown or power loss. On external drives, run it if files won't open or if the drive keeps disconnecting. Chkdsk won't fix every problem, but it catches issues that other tools miss.

Key Takeaways

  • Chkdsk runs from Command Prompt or PowerShell, and you need administrator permission to use the repair features.
  • The command chkdsk C: checks your C: drive without making changes; add /F to repair errors as it finds them.
  • If Chkdsk needs to repair your main Windows drive, Windows will schedule it to run at the next restart and complete the scan before you log in.
  • External drives can be checked and repaired while you're using Windows normally, without a restart required.
  • A full scan with repair can take 30 minutes to several hours depending on drive size and how many errors exist.

How to Open Command Prompt with Administrator Rights

Chkdsk only works from Command Prompt or PowerShell, and you must run it as an administrator. The fastest way is to click the Windows Start button, type cmd, and when "Command Prompt" appears in the results, right-click it and select "Run as administrator." A window will open asking if you want to allow this app to make changes — click "Yes."

If you prefer PowerShell, the process is identical: click Start, type powershell, right-click "Windows PowerShell," and select "Run as administrator." Both tools work the same way for Chkdsk commands. Once the window opens and shows your username followed by a > symbol, you're ready to type commands.

Running a Basic Scan Without Repairs

Start with a read-only scan that shows you what's wrong without changing anything. Type this command and press Enter:

chkdsk C:

Replace C: with the letter of the drive you want to check — if you're scanning an external drive that shows up as E:, type chkdsk E: instead. The scan will run immediately and show you a report with the drive's total size, how much space is used, and any errors found. This scan is safe to run anytime and won't interrupt your work.

If the report shows no errors, your drive is healthy. If it lists errors, you have two choices: run the repair version, or ignore them if they're not affecting your files. Many small errors don't cause problems in daily use, but if you're seeing file corruption or slowdowns, move to the next step.

Running a Scan with Repairs

To let Chkdsk fix errors as it finds them, type this command:

chkdsk C: /F

The /F flag tells Chkdsk to repair errors. If you're checking your main Windows drive (usually C:), Windows will tell you that the drive is in use and ask if you want to schedule the scan for the next restart. Type Y and press Enter. Your computer will restart, run Chkdsk before Windows loads, and complete the scan in the background — you'll see a progress bar and a countdown timer. This usually takes 15 to 45 minutes depending on drive size.

If you're checking an external drive or a secondary internal drive that isn't running Windows, Chkdsk will repair it immediately without restarting. The scan runs in the Command Prompt window, and you can watch the progress. Don't unplug the drive while it's working.

Understanding Chkdsk Repair Options

Beyond /F, Chkdsk has other flags that do specific things. The /R flag finds bad sectors and recovers readable information from them — this is more thorough than /F alone and takes longer. You can combine them by typing chkdsk C: /F /R. The /X flag forces the drive to unmount (disconnect) before scanning, which is useful if Windows won't let you scan because files are locked.

For most situations, /F is enough. Use /F /R if your drive is making clicking sounds, if you've had physical damage, or if basic repairs didn't solve the problem. These scans can take several hours on large drives, so run them when you don't need your computer for a while.

What to Do If Chkdsk Finds Serious Problems

If Chkdsk repairs errors but your drive still has problems — files still won't open, Windows still crashes, or the scan finds errors again the next time you run it — your drive may be failing. Chkdsk can't fix physical damage to the drive itself, only logical errors in how files are organized. A drive that keeps developing new errors is reaching the end of its life.

Back up your important files to an external drive or cloud storage right away. Then consider replacing the drive. If you can't access your files to back them up, take the drive to a data recovery service — they have specialized tools that can sometimes retrieve files from failing drives, though the cost is high. Don't keep using a failing drive for important work, because you risk losing data permanently.

Chkdsk Doesn't Run — Common Reasons and Fixes

If you type the command and nothing happens, or you see an error message, the most common reason is that you didn't open Command Prompt as administrator. Close the window and start over, making sure to right-click and select "Run as administrator." Another reason is that the drive letter is wrong — if you're not sure which letter your drive uses, open File Explorer and look at the list on the left side to see what your drives are called.

If you see a message saying the drive is in use and Chkdsk can't run, and it's not your main Windows drive, try the /X flag to force it to disconnect. If that doesn't work, restart your computer in Safe Mode, which loads Windows with fewer programs running, and try Chkdsk again. Safe Mode is accessed by restarting, pressing F8 or Shift+F8 during startup (timing varies by Windows version), and selecting "Safe Mode with Command Prompt."

Frequently Asked Questions

How long does Chkdsk take to run?

A basic scan without repairs takes 5 to 15 minutes on most drives. A scan with repairs (/F) takes 15 to 45 minutes. A full scan with bad sector recovery (/F /R) can take 1 to 4 hours or longer on large drives. The time depends on drive size, how fragmented the drive is, and how many errors exist.

Will Chkdsk delete my files?

Chkdsk doesn't delete files intentionally. It repairs the file system structure that tells Windows where your files are. In rare cases, if a file is severely corrupted, Chkdsk may move it to a folder called "Found" where you can try to recover it, but this is uncommon. Back up important files before running repairs if you're worried.

Can I use my computer while Chkdsk is running on an external drive?

Yes. If you're scanning an external drive, Chkdsk runs in the background and you can use Windows normally. Don't unplug the drive while the scan is running. If you're scanning your main Windows drive, the scan happens at startup before Windows fully loads, so you can't use your computer during that time.

What does "bad sectors" mean?

A bad sector is a small area on the physical drive that can no longer store data reliably. It might be caused by age, heat, or physical damage. Chkdsk with the /R flag can recover data from bad sectors and mark them so Windows won't try to use them again. A few bad sectors don't always mean the drive is failing, but many bad sectors appearing over time is a sign the drive is wearing out.

Should I run Chkdsk regularly?

You don't need to run it on a schedule. Run it when you notice problems, after an unexpected shutdown, or if Windows suggests it. If you run it monthly and keep finding new errors, your drive is likely failing and should be replaced. A healthy drive should show no errors or the same errors repeatedly without getting worse.