Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix File System Error in Windows: What to Try

· 5 min read · Home Tech

In this article
  1. What Causes File System Errors?
  2. Before You Start: Back Up and Prepare
  3. 1. Run Check Disk (CHKDSK)
  4. 2. Use System File Checker (SFC)
  5. 3. Check Disk Health with SMART and Third-Party Tools
  6. 4. Run Startup Repair (If Windows Won’t Boot)
  7. 5. Rebuild the Master Boot Record or GPT
  8. 6. Check for Firmware and Driver Updates
  9. 7. Perform a Clean Reinstall of Windows
  10. Frequently Asked Questions

File system errors in Windows can stop you from opening files, launching apps, or even booting the system. The fixes range from simple built-in tools like CHKDSK and SFC to more advanced steps like rebuilding the MBR or resetting the PC. Start with the easiest and least disruptive method, then move down the list if the error persists.

What Causes File System Errors?

File system errors occur when Windows cannot read or write the structure that tracks where files live on a drive. Common triggers include:

  • Unexpected power loss or improper shutdowns that leave the file system in an inconsistent state.
  • Bad sectors on a hard drive, which corrupt data in those physical locations.
  • Malware or driver conflicts that interfere with disk operations.
  • Faulty cables or connections, especially with external drives.
  • Overheating or aging hardware that causes random read/write failures.

These errors often appear as messages like “The file or directory is corrupted and unreadable,” “Data error (cyclic redundancy check),” or a blue screen with NTFS_FILE_SYSTEM or KERNEL_DATA_INPAGE_ERROR.

Before You Start: Back Up and Prepare

Before running any repair tool, protect your data. If you can still access the drive, copy important files to another location (external drive, cloud storage, or another PC). If the drive is your system drive and won’t boot, you may need to create a Windows installation USB on another computer to access recovery tools.

Also, close all other programs and disable any disk-encryption software temporarily, as they can interfere with low-level repair tools.

1. Run Check Disk (CHKDSK)

CHKDSK scans the file system for errors and attempts to fix them. It can also mark bad sectors so the system avoids them.

  1. Open Command Prompt as Administrator (press Win, type cmd, right-click, and select Run as administrator).
  2. Type chkdsk C: /f /r and press Enter. Replace C: with the drive letter that has the error.
  3. If the drive is in use (like the system drive), you’ll be asked to schedule the scan for the next restart. Type Y and restart.

The /f flag fixes errors, and /r locates bad sectors and recovers readable info. The scan can take hours on large drives. After it finishes, check if the error is resolved.

2. Use System File Checker (SFC)

If the error is tied to Windows system files, SFC scans and repairs them.

  1. Open Command Prompt as Administrator.
  2. Type sfc /scannow and press Enter.
  3. Wait for the scan to complete (usually 10-30 minutes).

If SFC finds issues but cannot fix them, run DISM /Online /Cleanup-Image /RestoreHealth (requires internet) to repair the system image, then run SFC again.

3. Check Disk Health with SMART and Third-Party Tools

CHKDSK can’t fix physical damage. Use the built-in SMART status to see if the drive is failing.

  1. Open PowerShell as Administrator.
  2. Type Get-PhysicalDisk | Select-Object FriendlyName, HealthStatus, OperationalStatus and press Enter.

If the status is “Unhealthy,” back up immediately and replace the drive. For a deeper analysis, tools like CrystalDiskInfo (free) give more detail on reallocated sectors and spin-up time.

4. Run Startup Repair (If Windows Won’t Boot)

If the error appears before Windows loads, use the recovery environment:

  1. Boot from a Windows installation USB or recovery drive.
  2. Choose Repair your computer → Troubleshoot → Advanced options → Startup Repair.
  3. Follow the prompts. This tool fixes boot-related file system issues like a corrupted MBR or BCD.

If Startup Repair fails, go to Command Prompt from the same menu and run bootrec /fixmbr, bootrec /fixboot, and bootrec /rebuildbcd.

5. Rebuild the Master Boot Record or GPT

For drives with a corrupted boot sector, rebuilding the MBR can help. This is done from the recovery Command Prompt as shown above. For GPT disks, the commands differ, but the same bootrec tool handles most cases.

If the error is on a secondary data drive, you can use diskpart to clean and reformat the drive, but that erases all data. Only do this if you have backups and the drive is otherwise unusable.

6. Check for Firmware and Driver Updates

Outdated storage drivers or firmware can cause file system errors. Update your chipset and storage controller drivers from the manufacturer’s website (not just Windows Update). For SSDs, check the manufacturer’s firmware update tool.

Also, run wmic diskdrive get status in Command Prompt to see if the drive reports a healthy status.

7. Perform a Clean Reinstall of Windows

If all else fails and the error persists on the system drive, a clean install is the most reliable fix. This erases the drive, so back up everything first. You can reinstall from the same USB you used for recovery. After reinstalling, restore your files and reinstall programs.

Frequently Asked Questions

Will CHKDSK delete my files?

No, CHKDSK does not delete files. It attempts to repair the file system structure. However, if it finds corrupted data in a file, it may place the file in a folder like found.000 in the root of the drive. You can often recover some data from those files, but they may be unreadable.

How long does CHKDSK take?

It depends on the drive size and speed. A 1 TB HDD can take several hours; an SSD may take less. The /r flag makes it slower because it checks every sector. You can let it run overnight.

Can I use CHKDSK on an external drive?

Yes, but make sure the drive is connected directly (not through a USB hub) and that you specify the correct drive letter. Also, ensure the drive is not in use by any program.

What does “Data error (cyclic redundancy check)” mean?

It means the drive has a physical or logical issue that prevents reading data correctly. This is often due to bad sectors. Run CHKDSK with /r, but if it persists, the drive may be failing and needs replacement.

Is it safe to run SFC and CHKDSK at the same time?

It’s not recommended to run them simultaneously because they both access system files and the disk heavily. Run them sequentially: CHKDSK first, then SFC.

What if the error is on a drive that isn’t the system drive?

You can still run CHKDSK on that drive from Windows. If the error prevents the drive from showing up, check Device Manager for driver issues or try connecting it to another port or computer. If it’s an external drive, try a different cable.