Blog

"Scan and Fix" Drive Message? How to Check and Repair Disk Errors With chkdsk (Windows 10 and 11)

Line art of a person examining a hard drive on a desk with a magnifying glass while the monitor shows a half-full ochre progress bar

After a power cut shuts your PC off suddenly, or after you unplug a USB stick or external drive without "Safely Remove", you may see a message telling you to scan and fix the drive. It means the file system (the part that records your files and where they are) has become inconsistent, and Windows' disk check can repair it.

Before you start: copy important files first

  • If the drive is making clicking noises or file copies keep stalling, copy your important files to another drive before checking it. A drive that has started to fail can get worse during a long scan.

1. Check from File Explorer (the easiest way)

  • In File Explorer, go to This PC, right-click the drive to check → Properties → Tools tab → under Error checking, click Check.
  • Even if it says "You don't need to scan this drive", you can click Scan drive to check it anyway.
  • If errors are found, a repair button appears. The C drive (where Windows is installed) is in use, so it's repaired the next time you restart.

2. Check and repair with the chkdsk command

  • Right-click the Start button and open Terminal (Admin).
  • chkdsk D: /f: finds and fixes file system errors on drive D. Change the drive letter to the drive you want to check. This is enough in most cases.
  • chkdsk D: /r: does everything /f does, and also looks for bad sectors (unreadable areas) on the disk surface and moves readable data out of them. On a hard drive this can take hours depending on its size.
  • When you check the C drive, it asks whether to schedule the check for the next restart. Press Y and restart the PC; the check runs before Windows starts.

Things to watch during the check

  • Never turn off the power or unplug the USB drive during a check. Keep a laptop plugged in. Interrupting it can make the damage worse.
  • Progress often looks stuck for a long time; this is usually normal. The /r check takes especially long.
  • SSDs handle bad sectors differently from hard drives, so a /f check is usually enough for them.

Viewing the results, and what next

  • Results of a check that ran during restart are in Event Viewer → Windows Logs → Application; open the entry whose source is Wininit.
  • If the same errors keep coming back or many bad sectors are found, get ready to replace the drive. Back up quickly, especially if the drive holds large files such as recordings.
  • Make a habit of clicking Safely Remove Hardware in the taskbar before unplugging USB sticks and external drives; it greatly reduces this message.

Source: Microsoft Learn – chkdsk command

Blog

← Back to the list Back to top ↑