Table of Contents

Fix Corrupted Files in Windows – Complete Guide 2026

Has it ever happened that you arrived at the office in the morning, opened your laptop, double-clicked on an Excel file you were working on just last night, only to see this message appear on the screen: “The file is corrupted and cannot be opened”? Or perhaps that Word document containing a 30-page project report suddenly opened up completely blank? Or maybe your entire Windows system isn’t functioning properly – you’re seeing recurring error messages, programs are crashing, and you’re encountering the dreaded “Blue Screen”?

These are all symptoms of corrupted files. And this is no minor issue; it can jeopardize your work, your memories, and your critical data.

However, the good news is that Windows features powerful built-in repair tools capable of fixing most corrupted files – you just need to know which tool to use, when to use it, and how to apply it. In this guide, we will show you how to repair corrupted files in Windows – covering everything from system files to personal documents – providing solutions for every type of data corruption.

Corrupted Files

What Are Corrupted Files, and Why Do They Become Damaged?

First, let’s understand what a “corrupted file” actually means. When a file becomes corrupted, its data becomes partially or completely unreadable. This occurs when an error arises while writing data to, or reading data from, a storage medium.

File corruption happens when a file’s data structure is accidentally altered or damaged, rendering it unusable or unreadable. This can happen to any type of file – documents, images, videos, audio files, applications, and system files can all fall victim to it.

The 10 Most Common Causes of File Corruption:

  1. Sudden Power Cut / Forced Shutdown: System files often become corrupted due to improper shutdowns – such as a power outage, a hard restart, or a forced power-off.
  2. Failing Hard Drive / SSD: A failing hard drive is the most serious cause of file corruption. Bad sectors can permanently damage data.
  3. Malware / Virus Attack: Malware can corrupt both system files and personal documents.
  4. Incomplete File Transfer: If the process is interrupted while copying files from a USB drive or a network, the files may become corrupted.
  5. Software Bugs: Sometimes, when an application crashes, the file that was currently open becomes corrupted.
  6. Bad Windows Update: Windows Updates can cause compatibility issues. If the update process is interrupted, system files may become damaged.
  7. RAM Problems: Faulty RAM can cause errors while processing data in memory, leading to the corruption of stored files.
  8. Full Disk: When disk space reaches a critical level, files may not be saved properly, potentially resulting in corruption.
  9. File System Errors: Errors within the NTFS or FAT32 file systems can cause multiple files to become corrupted simultaneously.
  10. Physical Damage: Physical damage to the storage device can occur due to dropping the laptop, liquid spills, or exposure to extreme temperatures.

Windows System Files vs. Personal Files – First, Understand the Difference

Fix Corrupt Files in Windows – But Which Files? It is crucial to understand this distinction, as the methods for repairing the two are entirely different.

System Files:

These are the core files of the Windows operating system that are essential for the OS to function correctly. Examples include .dll, .sys, and .exe files, which are located within the Windows folder.

When these become corrupt:

  • Windows does not boot properly
  • Programs crash
  • The Blue Screen of Death (BSOD) appears
  • Error messages appear repeatedly
  • Windows features stop working

Personal Files:

These are your own files – Word documents, Excel sheets, PDFs, photos, videos, music files, ZIP archives, etc.

When they become corrupted:

  • The file does not open.
  • A “File is corrupted” error appears.
  • The file opens, but the content appears garbled or blank.
  • The application crashes while opening the file.
CategorySystem FilesPersonal Files
What are they?OS core files (.dll, .sys)Documents, photos, videos
In case of malfunctionWindows unstable / crashThe file does not open.
Repair ToolsSFC, DISM, CHKDSKApplication-specific repair tools
Backup SourceWindows Installation MediaYour Personal Backup
Risk LevelHigh (system failure)Medium (data loss)

How to Repair Windows System Files – SFC, DISM, and CHKDSK Guide

These are built-in Windows repair tools that can scan for and fix corrupted system files. All three tools are free and extremely powerful.

Correct Order:

It is essential to run these commands in the correct sequence: first DISM (Windows image repair), then SFC (system file check), and finally CHKDSK (disk check).

The DISM tool should be run before SFC because DISM repairs the Windows system image – the blueprint upon which SFC relies. Once the image has been rebuilt, SFC begins to function as intended.


Step 1: DISM (Deployment Image Servicing and Management)

The DISM tool repairs the Windows component store. It replaces corrupted system image files by downloading healthy copies from Windows Update online.

It operates at 3 levels:

Level 1 – CheckHealth (Quick Check):

DISM /Online /Cleanup-Image /CheckHealth

Checking the stored repair logs, this indicates whether or not any corruption has been detected. It does not perform an actual scan – it merely reviews the records of previous scans. It takes only a few seconds.

Level 2 – ScanHealth (Detailed Scan):

DISM /Online /Cleanup-Image /ScanHealth

This performs a thorough scan of the component store. This process may take several minutes. It indicates whether the component store is healthy, repairable, or unrepairable.

Level 3 – RestoreHealth (Actual Repair):

DISM /Online /Cleanup-Image /RestoreHealth

This is the actual repair command. It replaces corrupted files by downloading healthy ones from Windows Update. This process may take anywhere from 15 minutes to an hour, depending on the level of corruption and your internet speed.

⚠️ Important Notes:

  • An internet connection is required (for RestoreHealth).
  • Do not interrupt the process midway.
  • Open the Command Prompt as an Administrator.
  • If it appears to be stuck at 20%, do not worry; this is normal.

What if there is no internet?

You can perform an offline repair using Windows Installation Media (USB/DVD):

DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\Sources\install.wim

(Here, D: is the drive letter of your installation media.)


Step 2: SFC (System File Checker)

SFC scans all protected Windows system files and replaces corrupted files with cached copies.

sfc /scannow

How to Run:

  1. Type “cmd” or “Command Prompt” in the Start menu.
  2. Click on “Run as administrator”.
  3. Type sfc /scannow and press Enter.
  4. Wait until the scan is complete (15–30 minutes).

Four possible results:

“Could not perform the requested operation.”MeaningWhat to do
“Did not find any integrity violations”Everything is fine.To do nothing
“Found corrupt files and successfully repaired them”Corruption detected and fixedRestart
“Found corrupt files but was unable to fix some”It could not be repaired.Run DISM again, then SFC.
“Could not perform the requested operation”SFC is not running.STry in Safe Mode.

How to View the SFC Log:
SFC stores its results in a log file:

findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "%userprofile%\Desktop\sfcdetails.txt"

This command will create a text file on the Desktop containing the details of the SFC scan.


Step 3: CHKDSK (Check Disk)

If the problem lies with the hard drive or SSD, CHKDSK is essential. It detects and fixes disk errors and bad sectors.

chkdsk C: /f /r /x

Meaning of Parameters:

  • /f – Fixes file system errors
  • /r – Locates bad sectors and recovers readable information
  • /x – Dismounts the volume (if necessary)

The CHKDSK /R command is the most thorough option. It scans the entire disk surface, locates bad sectors, and attempts to recover data from them. It is most useful on HDDs.

⚠️ Note:

  • CHKDSK cannot run immediately on the C: drive – it is scheduled to run upon restart.
  • Running CHKDSK /R on an HDD can take several hours.
  • The /R flag is not particularly useful on an SSD, as SSDs do not have traditional bad sectors.

What if both SFC and DISM fail?

Sometimes, the corruption runs so deep that standard tools are ineffective. In such cases:

Option 1: Windows Repair Install (In-Place Upgrade)

This reinstalls Windows while preserving your programs, settings, and files. Create a bootable USB using the Microsoft Windows Media Creation Tool, run Setup.exe from it, and select the “Keep personal files and apps” option.

Option 2: System Restore

If the problem began recently, System Restore can revert your system to a previous stable state. Press Win + R, type rstrui, Press Enter, and select a restore point from a time when everything was working correctly.

Option 3: Reset This PC

Go to Settings > System > Recovery > Reset this PC. The “Keep my files” option performs a fresh installation of Windows while retaining your personal files; however, your installed programs will be removed.


How to Repair Corrupted Word, Excel, PDF, and ZIP Files

System files can be fixed using SFC/DISM – but what if your personal documents are corrupted? This section is dedicated to just that.

Repair Microsoft Word Files (.docx):

Microsoft Word features built-in automatic save and recovery functions designed to prevent document damage and data loss. Word creates automatic backups and also includes options for recovering corrupted documents.

Method 1 – Word’s Built-in “Open and Repair” Feature:

  1. Open Microsoft Word
  2. Go to File > Open > Browse
  3. Select the corrupted file
  4. Click on the dropdown arrow next to the Open button
  5. Select “Open and Repair”

This is the most reliable and primary method. Word attempts to repair the file by internally analyzing its structure.

Method 2 – Locate the AutoRecover File:
Word automatically saves files continuously. If the document was open when the crash occurred, an AutoRecover copy may be available:

  • File > Info > Manage Document > Recover Unsaved Documents
  • Or manually check this path:
  • C:\Users[YourName]\AppData\Roaming\Microsoft\Word\

Method 3 – Restore Previous Versions:
Right-click on the file > Properties > Previous Versions tab > If an older version is available, click Restore.

Repair Microsoft Excel Files (.xlsx):

Excel features a built-in repair tool.

Method 1 – Excel’s Built-in Repair:

  1. Open Excel
  2. File > Open > Browse
  3. Select the corrupted file
  4. Select “Open and Repair” from the Open dropdown
  5. You will see two options:
  • Repair – Attempt to recover the maximum amount of data
  • Extract Data – Extract values ​​and formulas if the repair fails

Method 2 – Change Calculation Mode:
Sometimes, formulas can cause corruption. Create a new blank workbook in Excel, go to Formulas > Calculation Options > Manual, and then try opening the corrupted file.

Repair PDF Files:

PDF file corruption is very common – especially with email attachments and downloads.

Method 1 – Adobe Acrobat’s Auto-Repair:
Adobe Acrobat Reader automatically attempts to repair a PDF file when opening it. If this fails:

Method 2 – Open with Chrome Browser:
The Chrome PDF viewer can handle basic corruption. Drag and drop the file into Chrome. If it opens, create a new copy by using Ctrl+P to “Save as PDF.”

Method 3 – Online Repair Tools:

  • ilovepdf.com/repair-pdf – Free Online PDF Repair
  • ⚠️ Please be mindful of your privacy when uploading sensitive documents online.

Repair ZIP/RAR Archive Files:

WinRAR to ZIP/RAR Repair:

  1. Open WinRAR.
  2. Select the corrupted archive.
  3. Click on Tools > Repair archive.
  4. Choose an output folder.
  5. WinRAR will create a new, repaired archive.

Using 7-Zip:
7-Zip can also attempt to extract data from damaged archives. Right-click on the file > 7-Zip > Extract Here – sometimes it manages to perform a partial extraction where WinRAR fails.


How to Recover Corrupted Photos and Videos

Corrupted photos and videos can be particularly distressing – they represent irreplaceable memories.

Repairing Corrupted Photos:

For JPEG/PNG files:

There are several dedicated tools available for repairing photos and images.

Stellar Repair for Photo:
Stellar Repair for Photo is a powerful tool that repairs corrupted, broken, or damaged photos. It supports JPEG, ARW, CR2, DNG, and various RAW formats.

  • Price: ~$39.99/year
  • The free trial provides a preview.

Free Options:

  • JPEG Repair Toolkit – fixes basic JPEG corruption
  • ImageMagick – open source, command line tool – for advanced users
  • Try re-downloading a backup of your photos from Google Photos or iCloud

Corrupted Video Repair:

Stellar Repair for Video repairs corrupted or damaged video files. It supports MP4, AVI, MOV, MKV, and various other formats. The advanced repair feature utilizes a sample file reference for severely corrupted files.

Video Repair using VLC Media Player (Free):

  1. Open VLC
  2. Tools > Preferences > Input/Codecs
  3. Select “Always Fix” from the “Damaged or incomplete AVI file” dropdown
  4. This works for AVI files.

For MP4 Files:
Corruption of the MP4 container header is common. In such cases, try re-encoding using Untrunc (open-source) or HandBrake.


File Repair Tools – Free vs. Paid Comparison

ToolPriceWhat does it repair?What do you get for free?
SFC / DISMFree (Built-in)Windows System FilesCompletely Free
CHKDSKFree (Built-in)Disk Errors + Bad SectorsCompletely Free
Word/Excel Open & RepairFree (Office में).docx, .xlsxCompletely Free
VLC Media PlayerFreeAVI VideoCompletely Free
7-ZipFreeZIP/RAR ArchivesCompletely Free
Stellar Repair for Photo~$39.99/YearJPEG, PNG, RAWPreview only
Stellar Repair for Video~$49.99/YearMP4, MOV, AVIPreview only
Kernel for Word~$49/LifetimeWord DocumentsPreview only
Recovery Toolbox$10-$27/file typeWord, Excel, PDF, ZIPPreview only
DiskInternals~$159.95Deep File RecoveryScan free, recovery paid

Data Recovery – When File Repair Fails

Sometimes, a file is so severely corrupted that repair is not possible. In such cases, data recovery tools serve as a last resort.

Windows File Recovery (Microsoft’s Free Tool):

Microsoft itself has developed a free data recovery tool.

How to Use Windows File Recovery:

  1. Install “Windows File Recovery” from the Microsoft Store
  2. Open Command Prompt (Admin)
  3. Command format:
winfr C: E: /regular /n \Users\[Name]\Documents\

(C: source drive, E: recovery destination – both must be different)

RRecuva (Free + Paid):

Recuva is a tool from Piriform (the creators of CCleaner). The free version of Recuva offers full recovery functionality. The Deep Scan mode performs a more thorough search – this takes time, but it yields more files. The Recuva Professional version costs ~$19.95 and provides automatic updates as well as premium support.

TestDisk (Open Source):

TestDisk is a powerful open-source data recovery tool. It can recover lost partitions and make non-booting disks bootable.

⚠️ Golden Rules of Data Recovery:

  • Act quickly – the more you use the drive, the more data will be overwritten.
  • Do not recover to the same drive – always save files to a separate drive.
  • Do not install anything on the damaged drive – install recovery software on a different drive as well.

How to Prevent File Corruption in the Future – Prevention Tips

You have now learned how to fix corrupted files in Windows. However, prevention is always better than cure.

✅ Perform Regular Backups:

  • 3-2-1 Backup Rule: Keep 3 copies, on 2 different media types, with 1 offsite (cloud).
  • Windows Backup: Settings > Update & Security > Backup > Turn on File History.
  • Cloud Backup: Google Drive ($1.99/mo for 100 GB), OneDrive ($1.99/mo for 100 GB).
  • Monthly backup to an external HDD – a 1 TB external drive is available for ~$40–$50.

✅ Keep Your Antivirus Updated:

Malware protection is essential. Windows Defender is quite capable in 2026, but for additional protection, install Malwarebytes Free and perform a monthly scan.

✅ Use a UPS / Power Backup:

Invest in a UPS (~$40–$80) for your desktop PC. Sudden power cuts are the most common cause of file corruption. Laptop users – keep your battery healthy and avoid working on a low battery.

✅ Monitor Hard Drive Health:

  • CrystalDiskInfo (Free) – Regularly check the health of your HDD/SSD.
  • Do not ignore SMART warnings – they serve as an early warning of drive failure.
  • If a drive is 3–5 years old, plan for its replacement.

✅ Perform a Proper Shutdown:

  • Always use Start > Shut Down.
  • Avoid shutting down by pressing the Power button.
  • Remove USB drives using “Safely Remove.”
  • Wait until the file transfer is complete.

✅ Optimize AutoSave Settings:

  • Word/Excel: Set the AutoRecover interval to 1–2 minutes.
  • OneDrive AutoSave: Turn it on – for real-time cloud backup.
  • Google Docs: Auto-save is the default for browser-based work – consider using it for sensitive work.

✅ Maintain Disk Space:

Always keep at least 15–20% of the system drive (C:) free. If the disk becomes full, files may not save properly, and the risk of data corruption increases.


Free Tools – Quick Reference

ToolJobLink
SFC / DISM / CHKDSKSystem file repairBuilt-in (CMD)
Windows File RecoveryDeleted file recoveryMicrosoft Store
RecuvaData recoveryccleaner.com/recuva
CrystalDiskInfoDisk health checkcrystalmark.info
VLC Media PlayerVideo repair + playvideolan.org
7-ZipArchive extraction/repair7-zip.org
Malwarebytes FreeMalware scanmalwarebytes.com
HWMonitorHardware health monitorcpuid.com

Quick Fix Guide by File Type

File TypeStep 1Step 2The Final Option
Windows System FilesDISM /RestoreHealthSFC /scannowWindows Repair Install
Word (.docx)Open and RepairAutoRecover checkKernel for Word
Excel (.xlsx)Open and RepairExtract DataRecovery Toolbox
PDFOpen in ChromeiLovePDF RepairStellar PDF Repair
JPEG/PNGChrome/Paint openStellar Photo RepairData Recovery (Recuva)
MP4/AVI VideoVLC Always FixHandBrake re-encodeStellar Video Repair
ZIP/RARWinRAR Repair7-Zip ExtractRecovery Toolbox
Hard Drive IssuesCHKDSK /f /rCrystalDiskInfoDrive Replacement

FAQs – About Corrupted Files in Windows

Q1: Running SFC /scannow Returns the error “could not fix some files” – what should I do?

This is a common occurrence. First, run DISM /Online /Cleanup-Image /RestoreHealth – This repairs the Windows component store, upon which SFC relies. Once DISM completes, run SFC /scannow it again. If it still fails, try running it in Safe Mode.

Q2: When should I run CHKDSK, and when should I avoid it?

Run CHKDSK when: You are encountering file system errors, files are becoming randomly corrupted, or your PC is freezing or crashing. Do not run CHKDSK when: The drive is making clicking sounds (a sign of physical failure) – in such cases, contact a professional data recovery service. Running CHKDSK on a clicking drive can lead to permanent data loss.

Q3: How much data can be recovered from a corrupted Word file?

This depends on the level of corruption. In cases of minor corruption (such as header damage), the “Open and Repair” feature can recover 90–100% of the data. With medium corruption, you might be able to retrieve 60–80% of the data. In cases of severe corruption, there is a 30–50% chance of recovery using third-party tools. Recovery of a completely overwritten file is impossible.

Q4: Can corrupted files spread viruses?

A corrupted file is not, in itself, a virus; however, in certain situations, file corruption can be caused by malware. If multiple files suddenly become corrupted, you should definitely run a full antivirus scan first.

Q5: Is it safe to run CHKDSK on an SSD?

Running CHKDSK /f on an SSD is safe – it fixes logical file system errors. However, CHKDSK /r is not particularly useful on an SSD because SSDs do not have traditional “bad sectors.” For checking the health of an SSD, using the manufacturer’s diagnostic tool or CrystalDiskInfo is a better option.

Q6: Will my data remain safe if I perform a Windows Repair Install?

Yes, an In-Place Upgrade (or Repair Install) preserves your personal files, installed programs, and settings – only the core Windows system files are replaced. Nevertheless, it is always considered best practice to back up your important data before performing any major system repair.

Q7: How can I prevent file corruption?

Perform a proper shutdown (do not turn off using the power button), use a UPS, take regular backups, monitor hard drive health, and set the AutoSave interval to 1–2 minutes.

Q8: Is it safe to repair corrupted photos using online repair tools?

Avoid uploading privacy-sensitive photos (such as personal images or financial documents) online. Offline tools, such as Stellar Repair for Photo, are safer. If you do choose to use an online tool, select only reputable services and read their privacy policy before uploading.


Final Thoughts

Fixing corrupted files in Windows – it sounds daunting, but as you’ve seen in this guide, Windows features powerful built-in tools capable of handling most corruption issues. For system files, the combination of DISM → SFC → CHKDSK proves highly effective. For personal documents, nearly every application (Word, Excel, VLC) includes built-in repair features. And when all else fails, free data recovery tools like Recuva and Windows File Recovery serve as a last resort.

Most importantly, do not neglect prevention. Regular backups, proper shutdowns, a UPS, and disk health monitoring can save you from this headache in the future. A $40–$50 external hard drive or $2/month cloud storage represents the most affordable insurance for safeguarding years of your work and memories.

Remember – whenever a file becomes corrupted, do not panic. Avoid saving any new data to the damaged drive, initiate the recovery process promptly, and systematically follow the steps outlined in this guide.. For more guides, visit fixtech.in. Your chances of successful data recovery will increase significantly. You now know how to fix corrupted files in Windows. 💻🔧

Scroll to Top