Forum Discussion

Ariimop's avatar
Ariimop
Tin Contributor
Aug 06, 2026

How to repair corrupted files on Windows 10?

I'm very new to tech stuff, so please explain things like I'm five. 😅

My Problem: 

Some of my files (mostly Word&Excel documents and a few photos) suddenly won't open. Windows says they are "corrupted" or gives me an error like "the file is damaged and cannot be opened." This happened after my laptop crashed while I was working.

 I just restarted my computer and tried opening them again. Same error. I don't want to make it worse by clicking random things. How can I repair corrupted files on Windows 10?

10 Replies

  • TeraDarnell's avatar
    TeraDarnell
    Brass Contributor

    The reduction in file size is substantial. For example, a typical FLAC file might be around 854 kbit/s. When processed with lossyWAV using the --standard preset, it can be reduced to approximately 442 kbit/s. User reports show real-world savings of 30-38% compared to a standard FLAC file.

    The --standard preset is generally accepted by the audio community to be transparent, meaning most listeners cannot tell the difference between the original and the lossyWAV-processed version. There are also more aggressive presets for even smaller file sizes, and higher quality presets (like --extreme or --insane) for those who want to be extra cautious.

    How It Compares to Other Audio File Compressors if you want to repair corrupted files on Windows 11:

    • Compared to Lossy Codecs (MP3, AAC): lossyWAV is not as efficient as modern lossy codecs like AAC or Ogg Vorbis, which can achieve similar quality at much smaller bitrates (e.g., ~256 kbps). However, its big advantage is hardware compatibility. The final file is still a standard FLAC file, so it will play on any device that supports FLAC.
    • Compared to Lossless Codecs (FLAC): The primary purpose of a lossless audio file compressor is to retain 100% of the original data, which lossyWAV does not do. The purpose of lossyWAV is to sacrifice a small amount of theoretical audio fidelity for a major reduction in file size, while still maintaining the "lossless" container format.

     

    lossyWAV is best suited for:

    1. Building a large, high-quality music library where storage space is a concern, but you don't want to commit to a format like MP3 or AAC.
    2. Streaming from a personal server where bandwidth savings are beneficial.
    3. Portable audio players that support FLAC, where you want to maximize storage without using a less compatible codec.

     

    To repair corrupted files on Windows 11, lossyWAV is a clever and effective audio file compressor if you want the benefits of the FLAC format (tags, hardware support) with file sizes much closer to MP3s, at the cost of a slightly more complex workflow and a permanent, though possibly inaudible, loss of audio data.

  • Beverly's avatar
    Beverly
    Brass Contributor

    If you want to automate this process or tackle more stubborn issues, there are a couple of complex paths you can take.

    Most scripts follow a similar, proven workflow to how to repair corrupted files:

    1. Download the script from a reputable source .

    2. Unblock the file if necessary (right-click the file, go to Properties, and check "Unblock") .

    3. Run it as an administrator. Right-click the file and select "Run as administrator" .

    4. Follow any on-screen prompts. 

    You can run its .bat or .ps1 file as an administrator, which will automate the entire repair sequence for you.

    Perform an Offline Repair: If Windows is so corrupted that you can't boot properly, you can run SFC from an external Windows installation USB. This is a more advanced technique for serious issues.

    • Boot from the Windows installation media and select "Repair your computer."
    • Navigate to Troubleshoot > Advanced Options > Command Prompt.
    • Use a command like sfc /scannow /offbootdir=c:\ /offwindir=c:\windows to target your Windows installation (the drive letter may differ).

     

    This automated sequence is often the most efficient way to how to repair corrupted files because it ensures the tools are run in the correct order, which is essential for success.

  • Xioun's avatar
    Xioun
    Iron Contributor

    To repair corrupted files on Windows 11, that includes a suite of powerful, command-line utilities designed to diagnose and fix different types of corruption. The two primary tools are the System File Checker (SFC) and the Deployment Image Servicing and Management (DISM) tool. Often, you'll need to use them in a specific order to achieve the best results.

    1. Check the System Image First (DISM):

    Open Command Prompt or PowerShell as an administrator.

    First, run a health check:

    cmd

    DISM /Online /Cleanup-Image /CheckHealth

    Next, perform a more thorough scan:

    cmd

    DISM /Online /Cleanup-Image /ScanHealth

    Finally, if any issues are found, run the repair command:

    cmd

    DISM /Online /Cleanup-Image /RestoreHealth

    This can take some time if you are going to repair corrupted files on Windows 11, potentially up to an hour or more, depending on your system.

    2. Repair System Files Second (SFC):

    After the DISM repair is complete, run the SFC tool:

    cmd

    sfc /scannow

    3. Check Your Disk (Chkdsk):

    If you suspect the corruption is due to underlying hard drive errors, you can use the Check Disk utility. The /r parameter finds bad sectors and recovers readable information.

    To check and repair the C: drive, use the command:

    cmd

    chkdsk C: /r

  • A crash can damage a file if the computer was saving it when the crash happened. Try these steps in order:

     1.Make a copy first

    Copy the damaged files to another folder or USB drive. Try all repairs on the copies and keep the original files unchanged.

     2.Repair Word and Excel files

    Open Word or Excel first, then go to File > Open > Browse. Select the damaged file, click the arrow next to Open, and choose Open and Repair.

    For Excel, choose Repair first. If that does not work, repeat the steps and choose Extract Data.

     3.Look for an older copy

    If the file is stored in OneDrive, open OneDrive in a browser, right-click the file and select Version history. Restore a version from before the laptop crashed.

    For a file stored only on the computer, right-click it and select Properties > Previous Versions. This only works if Windows had already created a backup.

     4.Check for an unsaved Office copy

    In Word or Excel, open File > Info > Manage Document/Workbook, then select Recover Unsaved Documents/Workbooks.

     5.For damaged photos

    Try opening a copy of the photo with another app, such as Paint. If no app can open it, Windows usually cannot repair it. The safest option is to restore it from OneDrive, File History or another backup. Avoid uploading private photos to unknown repair websites.

    Because several files were damaged after the crash, check whether the drive has a problem. Follow these steps:

    1.Back up your important files first

    Copy any documents, photos and other files that still open normally to a USB drive, external drive or OneDrive. Complete the backup before checking the drive.

    2.Open Command Prompt as administrator

    Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin). If Windows asks whether you want to allow the app to make changes, click Yes.

    3.Scan the system drive

    Type the following command and press Enter:

    chkdsk C: /scan

    The scan may take several minutes. Leave the window open until it finishes.

    4.Check the result

    If no problems are found, continue using the computer and watch for any more damaged files.

    If Windows reports file system errors, enter:

    chkdsk C: /f

    If it asks to schedule the check for the next restart, type Y, press Enter and restart the computer. Windows will check and repair the drive while the computer starts.

    5.If the problem comes back

    If more files become damaged, the computer keeps crashing, or the drive repeatedly reports errors, the drive may be failing. Stop saving important files to it. Run the hardware test provided by the computer manufacturer or ask a repair technician to check the drive.

  • AzureMoon's avatar
    AzureMoon
    Silver Contributor

    You can try changing the file extension. This is a simple manual workaround that can serve as a quick repair corrupted files and also allow you to extract readable text content from partially corrupted Word and Excel documents.

    How to Repair Corrupted Files

    Step 1: Right-click the corrupted file, select Copy, and then select Paste to copy the file.

    Step 2: Right-click the copied file and select Rename.

    Step 3: Change the file extension from .docx to .zip, or from .xlsx to .zip.

    Step 4: When Windows displays a confirmation prompt for the extension change, click Yes.

    Step 5: Double-click the generated .zip archive to open it.

    Step 6: Locate the word folder for Word files or the xl folder for Excel files.

    Step 7: In the corresponding folder, locate document.xml for Word or sharedStrings.xml for Excel.

    Step 8: Open the target XML file using a web browser or Notepad.

    Finally, if readable text appears, copy the content and paste it into a brand-new, blank Office document.

    You can try to repair damaged files by manually extracting the data. For users who want to recover text content from moderately damaged .docx or .xlsx files, this is a DIY workaround to be used as a last resort.

  • DashielQuinn's avatar
    DashielQuinn
    Iron Contributor

    When an archive cannot be opened or shows errors, the problem may come from incomplete downloads, damaged storage, or corrupted archive data. Before trying other recovery methods, you can test and repair some archive files with built-in options from compression tools. This can be useful for users looking for ways to repair corrupted files on Windows 10

    7-Zip is a free and open-source file archiver that can check archive integrity and extract damaged files when possible. Open Command Prompt in the folder containing the archive, then run:

     

    7z t damaged_file.zip

     

    This command checks whether the archive has errors. If you want to try extracting available data from a damaged archive, use:

     

    7z x damaged_file.zip -aos

     

    The result depends on how much of the archive is still readable. If the file structure is severely damaged, 7-Zip may not be able to recover everything, but it can sometimes extract the undamaged parts. For basic archive recovery tasks, it is one method to repair corrupted files on Windows 10 without installing additional recovery software.

  • BreckenFoster's avatar
    BreckenFoster
    Bronze Contributor

    You can use the command-line tool Scrounge-NTFS. It's designed to extract readable data from corrupted NTFS partitions. Of course, you can try to repair corrupted files on Windows 10, but no tool can guarantee a 100% success rate.

    How to Repair Corrupted Files on Windows 10

    1. Connect the faulty drive to a working Linux environment
    2. List partition details to grab start‑sector, cluster size and MFT offset values
    3. Prepare a separate healthy destination drive for recovered output
    4. Execute the recovery command with your gathered partition parameters
    5. Browse the output folder and validate recovered file integrity

    Negative points

    • Requires Linux environment, cannot run natively under Windows
    • No graphical user interface, manual sector parameters are needed
    • Cannot restore data already overwritten by new disk writes

    It reads raw disk blocks to rescue content when standard filesystem repair fails. When you attempt to repair corrupted files on Windows 10, keep in mind original folder hierarchy may be lost if the MFT is heavily damaged.

    p.s.

    • Never write anything back onto the corrupted source drive
    • Note down partition sector information before corruption strikes if possible
    • Manually check every recovered file, some items may come out incomplete
  • Open and Repair is Microsoft’s built‑in office feature that acts as a native option for repair corrupted files, as well as attempt recovery for damaged Word and Excel documents without extra third‑party downloads.

    Instructions: Open Word or Excel, click File → Open → Browse, locate your corrupted target file and select it with one click instead of double‑clicking, click the drop‑down arrow next to the Open button at the bottom of the window, choose Open and Repair, wait several seconds for the built‑in recovery process to run, and save the recovered document under a new filename if the repair succeeds to avoid overwriting your original file.

    Its advantages include being completely free and safe with no additional software installation required, very fast execution that usually finishes within seconds, and tight integration inside official Microsoft Office applications.

    Its drawbacks include limited repair effectiveness for heavily damaged documents, cannot restore files with severe structural corruption, and only works for Office‑formatted Word and Excel files.

    Notes:

    • Always save repaired content to a brand‑new file name; never overwrite your original corrupted document.
    • If this built‑in method fails, you will need to try other file recovery approaches.
    • Ensure you are using a valid Office installation to access this feature.

    This allows you to run quick built‑in operations for repair corrupted files. It is suitable for users who want a fast, zero‑cost first‑attempt solution for moderately damaged Word or Excel office documents.