A file system error in Windows indicates the operating system cannot correctly read or write to a drive's file system — the index that maps where files are stored. File system errors appear as error codes, prompts to format, or inability to open files.
Part 1. Common File System Error Codes and Their Meanings
| Error | Where It Appears | Likely Cause |
|---|---|---|
| File system error (-2147219196) | Photos app | Corrupted Windows image metadata |
| File system error (-2147163893) | General file access | File system corruption on the drive |
| File system error (-805305975) | File access | Corrupted file or drive |
| "The file or directory is corrupted" | File Explorer | Bad sectors or file system damage |
| "You need to format the disk" | External drive | RAW file system (no readable FS) |
| "File system error on disk" | CHKDSK output | Detected but repairable errors |
⚠️ Important: The specific error code determines the correct fix. An error in the Photos app (like -2147219196) often requires SFC or a Windows update rather than CHKDSK on the drive. An error accessing an external drive points to CHKDSK on that drive.
Part 2. Fix File System Errors With CHKDSK
For errors on a specific drive (internal, external, or SD card), CHKDSK repairs file system structure:
chkdsk C: /f /r
/f— fixes file system errors (directory inconsistencies)/r— locates bad sectors and recovers readable data
💡 Tip: Run CHKDSK on the specific drive showing the error, not necessarily the system drive. If the error appears when accessing an external USB drive, run
chkdsk E: /f /rtargeting that drive's letter — not C:.
Part 3. Fix Windows System File Errors With SFC and DISM
If the error appears in Windows apps (Photos, Office, File Explorer) rather than on an external drive, corrupted Windows system files may be the cause:
System File Checker (SFC):
sfc /scannow
DISM (if SFC cannot repair):
DISM /Online /Cleanup-Image /RestoreHealth
Run both from an elevated Command Prompt. SFC first, then DISM if SFC reports unfixable errors.
💡 Tip: After running SFC, check the log for details:
findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log | more. This shows which files were repaired or could not be repaired — useful for understanding whether the issue is Windows-level or drive-level.
Part 4. Fix the Photos App File System Error (-2147219196)
This specific error appears when the Windows Photos app encounters a corrupted thumbnail cache or broken Windows image:
- Open Settings → Apps → find Photos
- Click Advanced options → Repair
- If Repair doesn't help, click Reset
- If still failing, run
sfc /scannowin elevated Command Prompt
| Fix Step | What It Does | When to Use |
|---|---|---|
| Repair Photos app | Restores app files without clearing data | First step for Photos-specific error |
| Reset Photos app | Clears all app data and cache | When Repair doesn't work |
| SFC /scannow | Repairs corrupted Windows system files | When error affects multiple apps |
| CHKDSK on drive | Repairs drive file system | When error occurs on external drive |
| DISM RestoreHealth | Repairs Windows component store | When SFC reports unfixable errors |
💡 Tip: After running DISM RestoreHealth, always run
sfc /scannowagain — DISM repairs the component store that SFC draws from, so a second SFC pass can fix files that the first pass couldn't repair.
🗣️ r/Windows10 user: "File system error -2147219196 was driving me crazy. Reset the Photos app and it worked immediately. Didn't need to touch the actual files at all."
🗣️ r/techsupport tip: "If CHKDSK doesn't fix the file system error on an external drive, try connecting the drive to a different PC and running CHKDSK from there. Sometimes the driver on the original PC interferes with CHKDSK's ability to write repairs."
Part 5. Recover Files From a Drive With File System Errors
If CHKDSK cannot repair a drive and files are inaccessible, Ritridata can scan the raw sectors and recover files — bypassing the broken file system entirely.
Step 1 — Select the drive with file system errors
Step 2 — Run a deep scan — bypasses the broken file system index
Step 3 — Preview and recover files to a healthy drive
FAQ
What causes a file system error in Windows? Common causes include bad sectors in the file system area, interrupted writes (power outage, unsafe ejection), virus damage to the file system tables, and corrupted Windows system files (for app-specific errors).
Can CHKDSK fix a file system error without losing data? Yes — CHKDSK repairs file system structure (directory entries, allocation tables) without deleting file data. After CHKDSK runs, files that were inaccessible due to directory corruption typically become accessible again.
What is the difference between a file system error and a hard drive error? A file system error is a logical problem — the index of where files are stored is corrupted. A hard drive error is physical — sectors on the disk are damaged. File system errors are fixable with CHKDSK; hard drive errors require either CHKDSK (to mark bad sectors) or professional recovery.
Why does the Photos app show a file system error? The Photos app error (-2147219196 and similar) is typically a Windows application error, not a drive error. Repairing or resetting the Photos app through Windows Settings usually resolves it without touching CHKDSK.
How do I know if the file system error is on my drive or in Windows? If the error appears across multiple apps when accessing a specific drive, the drive's file system is likely corrupted — use CHKDSK. If the error appears in one specific app (like Photos) when working with files on the main C: drive, it is more likely a Windows application issue — use SFC.
