Use /scan for an online NTFS check, /f when you intend to repair file-system errors, and /r when a sector-read investigation and recovery attempt is justified. The /r option already includes /f; it is not the routine “better” version to run after every scan.
Before choosing an option, identify the volume, check its file system, and protect important data. If the drive is disappearing, making unusual sounds, or failing to read the only copy of needed files, a long repair scan should not be the first step.
What changes with each option?
| Option | Main purpose | Access and repair implications |
|---|---|---|
| No repair option | Report the volume’s status | Does not request fixes; an active volume can produce misleading findings |
/scan | Scan an NTFS volume online | Can run while mounted; do not treat it as a guarantee of no changes |
/f | Repair logical file-system errors | Can modify data structures and requires exclusive access |
/r | Locate bad sectors and attempt recovery of readable information | Includes /f, requires exclusive access, and can take much longer |
“Online” means the NTFS volume can stay mounted during the scan. It does not mean the operation is a forensic, zero-write examination. Some findings can require a later offline repair.
The separate /forceofflinefix option, used with /scan, bypasses online repair and queues defects for offline work. That is a repair-workflow choice, not a way to promise that a running Windows system makes no writes.
CHKDSK works on local volumes. A mapped network drive letter is not a local volume to repair from the client computer.
Confirm the target before running a repair
Open Windows PowerShell as administrator and list the current volumes:
Get-Volume | Select-Object DriveLetter, FileSystemLabel, FileSystem, Size, SizeRemaining, Path | Format-List
This command only queries information. Match the letter, label, capacity, and current layout to the volume you intend to examine. A drive letter identifies a volume, not necessarily an entire physical drive.
In the examples below, D: is a placeholder for your confirmed target. Do not copy it unchanged unless D: is actually the intended volume.
If Windows reports a volume as RAW, or the layout is unexpectedly missing, stop and investigate data access. Do not format it to make CHKDSK accept the target. If BitLocker has locked the volume, unlock it through the authorized Windows process first.
These examples assume a normally booted Windows installation. Drive letters in a recovery environment can differ.
If the problem affects one directory, first distinguish an ordinary folder from an NTFS volume mount point. Adding a folder name does not restrict CHKDSK to that directory.
For a stable NTFS volume, start with the question you need answered
If your purpose is to check NTFS consistency while Windows remains usable, open Command Prompt as administrator and run:
chkdsk D: /scan
Read the final result rather than assuming that reaching a percentage means the task succeeded. If it reports no further action is required, keep the result. If it requests offline repair, save that message and arrange the required downtime.
Do not use /scan on FAT32 or exFAT; it is an NTFS option. Do not add performance or repair switches merely to make the command longer.
A clean NTFS scan also does not clear an unrelated storage-controller reset, USB disconnect, or hardware health warning. Those observations need their own investigation.
If you are investigating an NTFS Event ID 55 or 98 message, first confirm the affected volume and requested action in NTFS Event IDs 55 and 98: What to Check Next.
Use /f when you are ready to make repairs
After backing up accessible important data and closing applications that use the target volume, a logical repair can be requested with:
chkdsk D: /f
Run this in Command Prompt as administrator. It can change file-system structures. Plan for the target to be unavailable while CHKDSK holds the required lock.
If Windows cannot lock the volume, it may ask to schedule the check at the next restart. Read the prompt before answering. The volume containing the running Windows installation normally cannot be locked exclusively by this command while Windows is using it.
Scheduling is not the repair itself. Restart when you can allow the check to finish, then inspect the resulting report.
Do not force a dismount simply because the first repair attempt could not obtain a lock. Identify which applications or system functions depend on the volume first.
For the lock and scheduling prompts, see CHKDSK Cannot Run Because the Volume Is in Use.
Reserve /r for a reason to examine sector reads
The following is an alternative for a justified recovery check, not the next command every reader should run:
chkdsk D: /r
It also requires Command Prompt as administrator, a confirmed local target, a backup or recovery decision, and time for exclusive access. Because /r includes /f, it is a modifying repair operation as well as a broader read examination.
It can attempt to recover readable information. It cannot guarantee recovery of unreadable bytes or physically repair a failing HDD, cable, or SSD’s flash memory.
For the distinction between NTFS repair and SSD media management, see Does CHKDSK Fix Bad Sectors on an SSD?.
A large HDD can take many hours even when little user data is stored on the volume. A drive struggling with read errors may take longer still. Repeatedly running /r is not a substitute for deciding how to recover data and replace failing hardware.
For interpreting long-running read checks, see Why CHKDSK /r Takes So Long: Stages 4 and 5.
Check the result before choosing another command
For a boot-time check, open Event Viewer > Windows Logs > Application and filter for Wininit and Chkdsk sources. Match the time and target volume to the run you requested.
Read whether the operation completed, what it corrected, and whether further action was requested. A scheduling message or an old successful report is not evidence about the current run.
For a step-by-step log lookup, see How to Find CHKDSK Results After a Restart.
If repairs completed, verify that important files open and watch whether the original symptoms return. If corruption returns, or storage errors continue, keep the logs and investigate the underlying storage path.
Choose the least disruptive operation that answers the current question. A stable-volume consistency check, a planned file-system repair, and recovery from a failing device are different jobs, even though CHKDSK appears in all three discussions.
Leave a Reply