How to Check a Drive for Errors in Windows 11

Share
An external hard drive sits beside a laptop on a desk.

If Windows 11 has started acting flaky, the first thing to check is the drive. Windows 11 can look for file system errors with built-in tools, and it can also scan for bad sectors in a deeper `chkdsk` pass. For most people, File Explorer is the easiest place to start; Command Prompt is better if you need a fuller check, if the drive is the system drive, or if File Explorer refuses to run the repair.

What you need before you start

  • Save any open work. Some checks can close programs, and a repair check may need a restart.
  • Back up anything important first if the PC has already been acting unreliable. If the drive is starting to fail, the safest time to copy your files is before you run extra tests.
  • Know the drive letter you want to check, such as D: or E:. If you are checking the Windows drive, it is usually C:.
  • If you plan to use Command Prompt for a system drive, open it with administrator privileges.
  • If the drive is external, make sure it is connected directly and stays powered on during the check.
An external hard drive rests next to a laptop during a file backup.

The fastest way to check a drive in Windows 11

For most data drives, the quickest route is through File Explorer. This checks the file system and can repair many common problems automatically.

  1. Open File Explorer.
  2. In the left pane, select This PC.
  3. Right-click the drive you want to check and choose Properties.
  4. Open the Tools tab.
  5. Under Error checking, select Check.
  6. If Windows says the drive is fine, you can stop there.
  7. If Windows offers to scan or repair the drive, accept the prompt and let it finish.

If the scan finds something small, Windows may fix it right away. If the drive is busy or in use, Windows may refuse to repair it from File Explorer and tell you to use a different method. That is normal, especially for the system drive.

A laptop with Windows 11 has an external hard drive connected by USB.

How to run a deeper check with Command Prompt

Command Prompt is the better choice when you want a fuller check, when File Explorer will not cooperate, or when you are checking C:. The chkdsk command can check the file system and, with the right switches, look for bad sectors too.

  1. Open the Start menu, type cmd, then choose Run as administrator.
  2. Type the command for the drive you want to check.
chkdsk C: /f
Command Prompt
  1. Press Enter.
  2. If Windows says the drive is in use and asks to schedule the check at the next restart, type Y and press Enter.
  3. Restart the PC if Windows schedules the check.

/f tells Windows to fix file system errors it finds. If you need a more thorough scan for physical problems, you can add /r, which searches for bad sectors and tries to recover readable data.

chkdsk C: /f /r
Command Prompt

That deeper scan can take a long time, especially on large hard drives. SSDs can be checked too, but bad-sector behavior is different from a mechanical drive, so a failing SSD may show signs that a file-system repair alone will not solve.

What Windows means when it says the drive needs repair

The result message usually falls into a few buckets.

If Windows says no errors were found, the file system looks consistent at that moment. That does not guarantee the drive is healthy forever, but it does mean Windows did not see a current file-system problem.

If Windows says it repaired errors, it found and fixed file-system issues. That is better than leaving them in place, but you should still pay attention if the message keeps coming back.

If Windows says the drive needs to be checked at restart, it usually means the drive could not be locked while Windows was running. This is common for C: or any drive with active files open. The check happens early in the boot process, before Windows fully loads.

If the check reports bad sectors or repeated corruption, treat that as a warning sign, not just a minor glitch. A one-time repair can happen because of a sudden power loss or an unclean shutdown. Repeated problems point to something more serious.

If the message varies, the useful part is whether Windows says the drive is fine, repaired, or waiting for a restart. Those are the outcomes that tell you whether to keep using the drive, rerun the check, or stop and back up your files.

When the check keeps finding errors

If Windows keeps finding the same problems after repairs, the drive may be failing. That is especially concerning if you notice one or more of these:

  • Files disappear, reappear, or will not open.
  • Folders become unreadable or show strange names.
  • Programs crash when saving to that drive.
  • A hard disk clicks, grinds, or makes repeated unusual noises.
  • The PC becomes very slow only when accessing that drive.

At that point, do not keep rerunning repair tools and assuming the next pass will fix everything. Repeated file-system damage can be caused by a failing disk, bad cables, unstable power, or problems with the controller. The main goal shifts from repair to protecting your files.

If the drive still shows errors after the scan, back up immediately if you have not already. Copy the most important files first, then check the drive’s health with a SMART tool or the drive maker’s own diagnostic utility. Those tools can sometimes show whether the hardware itself is reporting trouble.

What to do if the drive is your boot drive

If the drive is the one Windows starts from, a check usually cannot finish while the system is using it. That is why Windows offers to run the scan at the next restart.

  1. If prompted, agree to schedule the check.
  2. Restart the PC and let the disk check run before you sign in.
  3. Do not force a power-off while the check is running unless the system is completely stuck.

On startup, you may see a brief disk-check screen or a message that Windows is scanning and repairing the drive. This can take a while, and the PC may appear idle for periods of time. That does not automatically mean it is frozen.

If Windows repairs the boot drive and then starts normally, watch the machine for a few days. If you keep seeing the same repair prompt, the drive is asking for more attention than a simple check can give.

A laptop is starting up with an external hard drive attached by cable.

How to check an external drive or USB drive safely

External drives and USB sticks are usually easiest to check from File Explorer, because Windows can scan them while they are connected and visible under This PC.

If Windows says the drive cannot be checked because it is in use, close any File Explorer windows or apps that might be using files on it. Then try again. If that still does not work, unplug the drive, plug it back in, and run the check before opening files from it.

For removable drives, avoid copying new files to them while you are trying to diagnose errors. That can muddy the results and make it harder to tell whether the problem is the drive or the current workload.

If the drive keeps disconnecting, shows up with the wrong capacity, or asks to be formatted, stop using it for anything important until you have copied off what you can.

A USB external drive is plugged into a laptop for a disk check.

If you still get errors after the scan

If the scan finishes but errors keep coming back, treat the drive as untrusted. The next move is to back up the data you still can read, then check the drive’s health with a SMART tool or the drive maker’s own diagnostic utility. Those tools can sometimes show whether the hardware itself is reporting trouble.

If the drive is still under warranty, the repeated errors may be enough reason to replace it. If it holds important files, do not wait for a complete failure before copying them elsewhere. A drive that can still boot today can become unreadable tomorrow.

If you want a simple rule, use this: one repaired error may be a cleanup job; repeated errors mean you should plan for replacement and move your files first.

Conclusion

Once you finish the check, the main thing to watch is what happens next. If Windows says the drive is fine and the PC behaves normally, you can keep using it. If Windows repaired errors once and they do not come back, that is a decent sign; if the drive keeps asking for repairs or starts acting worse, back up your files right away and test the hardware with a SMART-based tool. For a boot drive, keep an eye on the next few startups so you can catch repeat errors early.

Frequently Asked Questions

Does checking a drive in Windows 11 erase files?

A normal error check does not erase files. A repair can change the file system to fix problems, so backing up important data first is still a smart move.

Should I use `chkdsk /f` or `chkdsk /r`?

Use `chkdsk /f` when you want Windows to fix file-system errors. Use `chkdsk /r` when you also want it to look for bad sectors, but expect the scan to take longer.

Can I check the `C:` drive while Windows is running?

Usually not fully. Windows can schedule the check for the next restart because the system drive is in use.

What if Windows says the drive is fine but the PC still feels broken?

The drive may not be the problem. Memory, drivers, overheating, or other hardware can cause flaky behavior even when a disk check looks clean.

Read more