Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Filesystem Troubleshooting

Direct answer

Troubleshoot Windows file systems with chkdsk /scan or /f, fsutil dirty query, the System event log for NTFS errors, free space and disk health checks, and restore from shadow copies if files are damaged.

When to use this

Use this when a volume reports errors, is marked dirty or files are corrupt.

First 30 seconds

1. Get-Volume HealthStatus; fsutil dirty query.

2. System log: Ntfs 55/98, disk 7/51/153.

3. chkdsk /scan then /spotfix or /f in a window.

4. Disk health: Get-PhysicalDisk | Select HealthStatus.

5. Restore from backup if data is damaged.

Operational verification

disk errors → filesystem inconsistency → logged → chkdsk repairs

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Microsoft Windows
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformMicrosoft Windows · Windows
Key commandRepair-Volume -DriveLetter C -Scan
Scope / prerequisiteUse this when a volume reports errors, is marked dirty or files are corrupt.
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verify filesystem metadata state and repeat the exact file operation after repair Verify boundary

Record the Windows volume GUID/drive, filesystem type, free space and relevant NTFS/ReFS/disk event state, then expect the volume to be Online and writable with no active corruption indication after remediation. Recheck the exact file/folder ACL and perform the original operation using the same identity; confirm read-back of file size, timestamp or hash when data integrity matters. Monitor for new filesystem or storage errors during the retest. A clean filesystem check shows metadata consistency within its scope, but it does not show the backend media or application data is semantically correct.

Step 2 Branch filesystem failure at access, capacity, metadata, filter and block-I/O boundaries Narrow the fault

If a Windows filesystem path returns Access Denied, verify the token and ACL/inheritance before running repair tools. If writes fail with capacity errors, inspect volume free space, quota and shadow-copy consumption; if the volume becomes read-only, offline or reports metadata errors, capture filesystem and disk events and schedule the appropriate repair boundary. If errors are intermittent under load, correlate filter-driver and storage latency/error events. If only one file fails, test another file on the same volume and the same file locally versus over SMB to separate object corruption, filesystem state and network access.

Step 3 Common mistakes Narrow the fault
  • Running chkdsk /f on a busy server without planning a reboot.
Key points
  • chkdsk /scan runs online on NTFS without downtime.
  • Some repairs need a reboot or offline volume.
  • File system errors can come from a failing disk.
Key checks
  • Get-Volume — volumes, filesystem type, health and free space
  • fsutil fsinfo volumeinfo C: — filesystem features
  • chkdsk C: /scan — online scan
  • Get-WinEvent -FilterHashtable @{LogName='System';ProviderName='Ntfs'} -MaxEvents 20 — NTFS events
ReferenceWhy it matters1 section · depth on demand

Windows filesystem symptoms reflect volume state, NTFS/ReFS metadata, filters and storage completion

Filesystem Troubleshooting on Windows separates logical volume availability from NTFS/ReFS metadata health, access-control decisions, filter drivers and the lower storage path. A mounted drive letter can still have dirty/corrupt metadata, exhausted free space, quota limits or intermittent I/O failures. File locks and antivirus/backup filters can deny or delay an operation without filesystem corruption. The filesystem owns directory/file metadata and allocation, but it does not show the physical disk, SAN or virtual storage completed every write. Preserve event IDs, volume identity and the exact failing path before repair actions.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Online first, offline only when needed

C:\> chkdsk D: /scan
Stage 1: Examining basic file system structure ...
Windows has scanned the file system and found problems.
Run CHKDSK with the /spotfix option to fix these.
C:\> chkdsk D: /spotfix
C:\> fsutil dirty query D:
Volume - D: is NOT Dirty

The chkdsk reference describes /scan (online scan, NTFS) and /spotfix (spot fixing, NTFS), /f (fix, requires locking the volume) and /r (also locate bad sectors), and documents exit codes 0 (no errors), 1 (errors fixed), 2 (cleanup performed or skipped without /f) and 3 (could not check or fix).

OptionDowntimeUse
/scanNoneDetect problems on a live volume
/spotfixBrief dismount of the volumeFix problems found by the online scan
/fVolume locked (C: needs reboot)Full metadata repair
/rLong — reads every sectorSuspected bad sectors; prefer replacing the disk

Evidence that something is wrong

SourceEvent / sign
System log, source Ntfs55 (corruption), 98 (volume needs repair), 130/140
System log, source disk7 (bad block), 11 (controller error), 153 (I/O retried)
Get-VolumeHealthStatus not Healthy
fsutil repair state D:Corruption detected by self-healing NTFS

Disk-level errors (7, 11, 153, storport 129) mean the hardware or path is failing; running chkdsk repeatedly on a dying disk makes it worse. Copy data off first.

ReFS volumes

ReFS does not use chkdsk for repair; integrity streams and Storage Spaces resilience handle corruption. Check Get-FileIntegrity and the Microsoft-Windows-ReFS event logs instead.

Before /f or /r on important data

1. Have a current backup.

2. Note the exit code and log: after the run, Get-WinEvent -FilterHashtable @{LogName='Application'; ProviderName='Chkdsk','Wininit'} holds the report.

3. Files moved to D:\found.000 were orphaned fragments — restore real files from backup rather than trusting them.

*The CHKDSK and dirty-bit responses illustrate a repair sequence and are not records of a scanned volume.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Filesystem troubleshooting detects and repairs NTFS/ReFS corruption, space problems and volume errors.

Get-Volume | Select-Object DriveLetter, FileSystem, HealthStatus, SizeRemaining, Size
Repair-Volume -DriveLetter D -Scan
Repair-Volume -DriveLetter D -SpotFix
chkdsk D: /scan
fsutil dirty query D:
Get-WinEvent -LogName System -MaxEvents 50 | Where-Object ProviderName -match 'Ntfs|disk'
SymptomNext step
Event 55/98 (NTFS corruption)Online scan, then spot fix
Volume flagged dirtychkdsk at next reboot for system volume
Space disappearsShadow copies (vssadmin list shadowstorage), large hidden folders (WinSxS, logs)
Disk errors (event 7, 153)Check hardware, storage paths

On NTFS, /scan runs online; /f and /r may require exclusive access or a reboot. Back up before repairing important volumes.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docMicrosoft Windows current

Authoritative/upstream documentation reviewed for bounded claims in Filesystem → Filesystem Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/storage/file-server/ntfs-overview · confidence 94%
Confirmation

Confirm action

Continue?