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

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
Yand 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
/fcheck 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
- Blurry or Fuzzy Text on Your Monitor? Tune ClearType and Change High-DPI Settings per App (Windows 11)
- Webcam Not Detected or Showing a Black Screen? Check Camera Privacy Settings, Drivers and Apps Using It (Windows 11)
- Windows Acting Up With Strange Errors? Repair Corrupted System Files With SFC and DISM (Windows 10 and 11)
- Videos, Photos or PDFs Opening in the Wrong App? Change Default Apps by File Type in Windows 11
- New SSD or Hard Drive Not Showing in This PC? Initialize It and Assign a Drive Letter in Disk Management (Windows 10 and 11)
- Windows Won't Start Normally? 3 Ways to Boot Into Safe Mode (Shift + Restart, Settings, msconfig)
- Windows Update Keeps Replacing Your Graphics or Device Drivers? How to Stop Automatic Driver Installs (Device Installation Settings, Group Policy)
- Protect Your PC When You Step Away: Win+L, Dynamic Lock and Automatic Lock With the Screen Saver (Windows 11)