Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk5 min

How to Check and Repair a Disk with CHKDSK in Windows

Use CHKDSK to inspect a Windows volume or repair file-system errors. Learn what /scan, /f, and /r do, why repairs may run at restart, and what the tool cannot fix.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To check a Windows volume without changing it, run chkdsk C:; to fix file-system errors, use chkdsk C: /f. For NTFS, /scan checks the volume online, while /r searches for bad sectors and attempts to recover readable information as well as performing /f repairs. CHKDSK can repair file-system problems, but it cannot physically repair a failing drive.

What CHKDSK checks—and what it cannot repair

CHKDSK examines a volume’s file-system structures and metadata for logical errors and certain physical errors. With no repair switch, it reports status but does not fix errors. It is not a universal drive-health test: a clean report does not prove that the storage device, its connections, or the wider storage subsystem is healthy. Microsoft’s CHKDSK command reference documents the command for Windows 10, Windows 11, and several Windows Server releases, among other Microsoft environments.

As an Amazon Associate I earn from qualifying purchases.

Use the switch that matches your goal. These modes are not interchangeable:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Command or switch Purpose Changes and operational impact
chkdsk C: Reports the volume’s status. Does not repair errors.
chkdsk C: /scan Runs an online scan of an NTFS volume. Scan mode, not the same as running /f to repair errors.
chkdsk C: /f Fixes file-system errors. Requires the volume to be locked; Windows may offer to schedule the check at restart if it is in use.
chkdsk C: /r Searches for bad sectors and attempts to recover readable information. Includes /f behavior, requires a lock, and can take considerable time on large volumes.
chkdsk C: /x Forces a dismount if necessary. Includes /f; open handles to the volume are invalidated.
chkdsk C: /spotfix Runs spot fixing on an NTFS volume. Repair mode; consult Microsoft’s command reference for its exact use and applicability.
chkdsk C: /scan /forceofflinefix Scans NTFS online and queues detected defects for offline repair. Use /forceofflinefix with /scan; queued repairs require offline handling.
chkdsk C: /scan /perf Runs an NTFS online scan using more system resources. Can reduce performance for other tasks.

Switch availability depends on the file system. For example, /scan is NTFS-only; check the Microsoft reference before using advanced switches on FAT, FAT32, or exFAT volumes.

#1 Best Overall
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Run a check or repair from an elevated terminal

  1. Identify the correct volume. Replace C: in the examples with the target drive letter, mount point, or volume name. Confirm it carefully before running a repair.
  2. Open an elevated terminal. CHKDSK requires membership in the local Administrators group or equivalent. Open Command Prompt or Windows Terminal with administrator privileges.
  3. Choose the command for your purpose. For an NTFS inspection without repair, run chkdsk C: /scan. To repair file-system errors, run chkdsk C: /f. Use /r only when a bad-sector search and readable-data recovery attempt are warranted.
  4. Read the result. Review the report and any prompt. If Windows cannot lock the volume for /f, it may ask whether to schedule the check at the next restart. Answer according to whether you want the repair to proceed then.

Repair operations can change file-system metadata. On FAT file systems, for example, repairs can alter allocation tables or encounter lost allocation chains. Microsoft’s command documentation describes a prompt that can save recovered chains as File<nnnn>.chk files if you choose Yes. Consider the implications before accepting a repair prompt, especially if important files are already missing.

When to use /scan, /f, or /r

Start with an online NTFS scan when you want to inspect

chkdsk C: /scan checks an NTFS volume online. It is useful when you want to look for potential file-system issues without running the /f repair operation. Microsoft’s server troubleshooting checklist also recommends scan mode when looking for potential storage-system issues without making changes. That server guidance is useful context, not a consumer-specific diagnostic standard.

Rank #2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
  • Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Use /f to fix file-system errors

/f asks CHKDSK to fix errors it finds. The volume must be locked for this operation. If the volume is busy or is the Windows boot volume, the tool may offer to schedule the check for restart, when Windows can work on it offline.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Reserve /r for a bad-sector search

/r locates bad sectors and attempts to recover readable information. It includes /f behavior, so it is not merely a deeper version of a status check. The operation can involve reading every sector and may take a long time on a large volume; no single runtime applies to every drive. It does not guarantee that every file will be restored, and it does not repair failing hardware.

Rank #3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
  • Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Know the consequences of forcing a dismount

/x forces a dismount if necessary and includes /f. Because a dismount invalidates open handles to the volume, applications using it can be disrupted. Do not add /x casually; use it only when you understand that consequence.

Why CHKDSK may run at restart—and how to judge progress

A repair needs access to the volume. If Windows cannot lock an in-use volume for /f, it can ask to schedule the check for the next restart. A boot partition may restart automatically after the check. Let the scheduled operation complete rather than interrupting it based on a guessed time limit: large volumes and full-sector operations can take a long time, and Microsoft’s documentation does not promise a universal duration.

Rank #4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
  • Easily store and access 4TB of content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Microsoft documents these CHKDSK exit codes. Treat the code as one diagnostic clue; read the report too, and investigate ongoing symptoms rather than assuming the code proves the device is healthy.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Exit code Meaning
0 No errors were found.
1 Errors were found and fixed.
2 Disk cleanup was performed, or was not performed because /f was omitted.
3 The disk could not be checked, errors could not be fixed, or errors were left unfixed because /f was not specified.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What to do if errors return or files are missing

Repeated corruption or unsuccessful input/output (I/O) requests can point beyond a file-system problem. Microsoft’s NTFS troubleshooting guidance identifies bad sectors and unsuccessful I/O requests as possible contributors to NTFS corruption, and advises checking the disk subsystem and hardware state, storage connections, and relevant drivers or firmware. That page addresses Windows Server troubleshooting; these are avenues to investigate, not a consumer failure diagnosis or proof of a particular cause.

Best Value
Sale
UnionSine 500GB Ultra Slim Portable External Hard Drive HDD-USB 3.0 | for PC, Mac, Laptop, PS4, Xbox one, Xbox 360-(Black)
  • [Upgraded Version] - This external hard drive features a mirrored logo stripe combined with a striped anti-slip design, and the rounded corners of the casing make it easier to grip. The stripes also have a heat dissipation function, ensuring stable and fast data transfer.
  • 【Ultra-thin and quiet】 - The motherboard adopts JMicron 578 noise-free solution, giving you a quiet working environment. Lightweight and portable size designed to fit in your pocket for easy portability.
  • 【Ultra-Fast Data Transfers】 - Pairing this external hard drive with JMicron 578 solution USB 3.0 and USB 2.0 interfaces enables blazing-fast data transfer. It boasts theoretical read speeds of up to 125MB/s and write speeds of up to 103MB/s.
  • 【Plug and Play】 - With no software to install, just plug it in and the drive is ready to use.The hard disk chip is wrapped with an aluminum anti-interference layer to increase heat dissipation and protect data.
  • 【What You Get】 - 1 x Portable Hard Drive, 1 x USB 3.0 Cable, 1 x User Manual, Gift-type shell packaging ,Three-year manufacturer's warranty and free technical support services.

If important data is at risk or a device may be failing, protect the data and investigate the storage hardware instead of repeatedly relying on CHKDSK as a complete fix. If files are already lost, CHKDSK is not a dedicated file-recovery product. Microsoft’s Windows File Recovery guidance applies to Windows 10 and Windows 11 and advises minimizing or avoiding computer use to improve recovery chances. It does not guarantee recovery.

Quick Recap

Bestseller No. 1
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400) | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$129.99
Bestseller No. 2
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
Seagate Portable 5TB External Hard Drive HDD – USB 3.0 for PC, Mac, PS4, & Xbox - 1-Year Rescue Service (STGX5000400), Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$219.99
Bestseller No. 3
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
Seagate Portable 1TB External Hard Drive HDD – USB 3.0 for PC, Mac, PlayStation, & Xbox, 1-Year Rescue Service (STGX1000400) , Black
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$119.80
Bestseller No. 4
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
Seagate Portable 4TB External Hard Drive HDD – USB 3.0, 1-Year Rescue | Everyday HDD storage. Plug-and-play backup. Windows & macOS. Adobe CC trial included. 1-Year Warranty
This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable; The available storage capacity may vary.
$189.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.