Fix File System Error in Windows 10: 7 Ways
In this article
- What Causes File System Errors in Windows 10
- Run Check Disk (chkdsk) to Repair the Drive
- Use System File Checker (sfc) for Windows System Files
- Run Startup Repair When Windows Won't Boot
- Check Disk Health with SMART and Manufacturer Tools
- Repair File System Errors on External or USB Drives
- Frequently Asked Questions
File system errors in Windows 10 stop you from opening files, launching apps, or even booting the PC. The fix usually involves running the built-in Check Disk utility (chkdsk) or the System File Checker (sfc /scannow) from an elevated command prompt, but the exact steps depend on whether the error appears before or after Windows loads. Below are the most reliable methods, ordered from least to most invasive, with exact commands and what to do if a method fails.
What Causes File System Errors in Windows 10
Windows 10 uses the NTFS file system by default, which tracks every file and folder in a master file table. When that table gets corrupted, or when disk sectors go bad, Windows reports errors such as "The file or directory is corrupted and unreadable", "An unexpected error is keeping you from working with this file", or "The volume does not contain a recognized file system". Common triggers include:
- Forced shutdowns or power outages while writing data
- Improperly unplugging a USB drive or external HDD
- Malware that targets boot sectors or system files
- Failing hard drive sectors (physical damage)
- Interrupted Windows updates that leave system files half-written
You can often tell the cause by the error code: 0x80070570 usually points to corrupted files or bad sectors, while 0x80071AC3 means the drive is not ready or disconnected. Neither code tells you exactly which file is broken, so you need to scan the whole volume.
Run Check Disk (chkdsk) to Repair the Drive
Check Disk is the primary tool for fixing file system errors. It scans for bad sectors, recovers readable data, and fixes logical errors in the file table. To run it on your system drive (usually C:):
- Right-click the Start button and select Command Prompt (Admin) or Windows PowerShell (Admin).
- Type
chkdsk C: /f /rand press Enter. - If the drive is in use, Windows asks "Do you want to schedule this volume to be checked on the next system restart?" Type
Yand restart.
The /f flag fixes errors, and /r finds bad sectors and recovers readable information. /r implies /f, so you can just use chkdsk C: /r. For a non-system drive like D:, run chkdsk D: /f directly; it will not need a restart unless the drive is in use. The scan can take anywhere from 10 minutes to several hours on a large drive. If chkdsk reports that it made corrections, run it a second time to confirm the errors are gone.
Use System File Checker (sfc) for Windows System Files
If chkdsk finds no problems but the error persists, the issue may be a corrupted Windows system file rather than the file table. System File Checker verifies and repairs protected system files. Run it from an elevated command prompt:
- Open Command Prompt as Administrator.
- Type
sfc /scannowand press Enter. - Wait for the scan to complete (it can take 15–20 minutes).
- If it finds corrupted files, it will replace them automatically using cached copies.
If sfc says it cannot repair some files, run the Deployment Image Servicing and Management tool next: DISM /Online /Cleanup-Image /RestoreHealth. This repairs the Windows image that sfc relies on. After DISM finishes, run sfc /scannow again. This two-step process fixes most system file corruption that causes file system errors in Windows 10.
Run Startup Repair When Windows Won't Boot
If the file system error appears before the login screen (e.g., "Your PC needs to be repaired" or "The Boot Configuration Data for your PC is missing"), you cannot run chkdsk from inside Windows. Instead, use Startup Repair from the recovery environment:
- Insert a Windows 10 installation USB or DVD, or force the PC into recovery by restarting it three times during boot.
- Choose Repair your computer → Troubleshoot → Advanced options → Startup Repair.
- Let it diagnose and fix boot problems. It may take several minutes.
If Startup Repair fails, go back to Advanced options and open Command Prompt. Run chkdsk C: /r from there. The recovery environment can access the drive even when Windows cannot boot, so this is often the only way to fix a corrupted system drive.
Check Disk Health with SMART and Manufacturer Tools
File system errors can be a symptom of a failing physical drive. Windows can read the drive's Self-Monitoring, Analysis, and Reporting Technology (SMART) data to estimate its health. To check it:
- Open PowerShell as Administrator.
- Type
Get-PhysicalDisk | Get-StorageReliabilityCounterand press Enter. - Look at the Wear and Temperature fields; high wear (above 80%) or a temperature above 50°C suggests the drive may be failing.
For a more detailed check, download the diagnostic tool from your drive manufacturer (Seagate SeaTools, Western Digital Data Lifeguard, or Samsung Magician). These tools run a full surface scan that can detect bad sectors before chkdsk does. If SMART reports a failing drive, back up your data immediately and replace the drive. Running chkdsk repeatedly on a dying drive can make it worse.
Repair File System Errors on External or USB Drives
External drives and SD cards often show file system errors because they were unplugged without "Safely Remove Hardware." The fix is the same chkdsk command, but you must know the correct drive letter. Open File Explorer, note the letter (e.g., E:), then run chkdsk E: /f. If the drive shows as RAW (no file system), chkdsk may not work. In that case, try chkdsk E: /f anyway; sometimes it can recover the file table. If not, you may need to format the drive, which erases all data. Before formatting, try a data recovery tool like Recuva or TestDisk, but know that recovery success is not guaranteed.
Frequently Asked Questions
Can I fix file system error 0x80070570 without losing data?
Yes, in most cases. The error means Windows cannot read a specific file, but the rest of the drive is usually fine. Running chkdsk /f often repairs the file table without deleting anything. However, if the corruption is severe, chkdsk may move damaged files to a folder called found.000 on the drive root. You can try to open those files, but they may be incomplete. Always back up important data before running repairs.
How long does chkdsk take on a 1TB hard drive?
On a healthy 1TB hard drive, a full chkdsk with /r can take 2–4 hours. On a failing drive, it can take 10+ hours or appear to hang. You can run chkdsk without /r (just /f) for a faster check that only fixes logical errors; it usually takes 10–30 minutes. If you suspect physical damage, let /r run overnight.
What's the difference between chkdsk and sfc?
chkdsk scans the entire disk for file system errors and bad sectors, while sfc scans only protected Windows system files. chkdsk fixes issues with the file table (how files are organized), and sfc fixes issues with the actual system files (like DLLs and executables). They complement each other: run chkdsk first, then sfc, then DISM if sfc fails.
Will formatting the drive fix the file system error?
Formatting will always fix logical file system errors because it creates a brand new file table. However, it erases all data and does not fix physical bad sectors. If the drive has bad sectors, formatting will not make them disappear; they will just be marked as bad. Formatting is a last resort after you have backed up everything you can.
Can I prevent file system errors in Windows 10?
You can reduce the risk by always using "Safely Remove Hardware" for external drives, shutting down Windows properly instead of holding the power button, keeping your antivirus updated, and running chkdsk periodically on old drives. Also, enable System Restore and File History so you can recover from corruption without losing files.